1
0
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:
bjrara 2020-10-29 16:46:50 +08:00 committed by GitHub
parent 9474472194
commit dc84ae3438
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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