mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-12-20 05:38:13 +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
|
defaultconf: /etc/kubernetes/manifests/kube-scheduler.yaml
|
||||||
kubeconfig:
|
kubeconfig:
|
||||||
- /etc/kubernetes/scheduler.conf
|
- /etc/kubernetes/scheduler.conf
|
||||||
defaultkubeconfig:
|
defaultkubeconfig: /etc/kubernetes/scheduler.conf
|
||||||
- /etc/kubernetes/scheduler.conf
|
|
||||||
|
|
||||||
controllermanager:
|
controllermanager:
|
||||||
bins:
|
bins:
|
||||||
@ -67,8 +66,7 @@ master:
|
|||||||
defaultconf: /etc/kubernetes/manifests/kube-controller-manager.yaml
|
defaultconf: /etc/kubernetes/manifests/kube-controller-manager.yaml
|
||||||
kubeconfig:
|
kubeconfig:
|
||||||
- /etc/kubernetes/controller-manager.conf
|
- /etc/kubernetes/controller-manager.conf
|
||||||
defaultkubeconfig:
|
defaultkubeconfig: /etc/kubernetes/controller-manager.conf
|
||||||
- /etc/kubernetes/controller-manager.conf
|
|
||||||
|
|
||||||
etcd:
|
etcd:
|
||||||
optional: true
|
optional: true
|
||||||
|
Loading…
Reference in New Issue
Block a user