mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-19 13:18:07 +00:00
Fix defaultkubeconfig in config.yaml to resolve variable exposure in remediation when conf is missing (#758)
Co-authored-by: mengyzhou <mengyzhou@ebay.com>
This commit is contained in:
parent
9474472194
commit
dc84ae3438
@ -48,8 +48,7 @@ master:
|
||||
defaultconf: /etc/kubernetes/manifests/kube-scheduler.yaml
|
||||
kubeconfig:
|
||||
- /etc/kubernetes/scheduler.conf
|
||||
defaultkubeconfig:
|
||||
- /etc/kubernetes/scheduler.conf
|
||||
defaultkubeconfig: /etc/kubernetes/scheduler.conf
|
||||
|
||||
controllermanager:
|
||||
bins:
|
||||
@ -67,8 +66,7 @@ master:
|
||||
defaultconf: /etc/kubernetes/manifests/kube-controller-manager.yaml
|
||||
kubeconfig:
|
||||
- /etc/kubernetes/controller-manager.conf
|
||||
defaultkubeconfig:
|
||||
- /etc/kubernetes/controller-manager.conf
|
||||
defaultkubeconfig: /etc/kubernetes/controller-manager.conf
|
||||
|
||||
etcd:
|
||||
optional: true
|
||||
|
Loading…
Reference in New Issue
Block a user