mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2024-11-22 08:08:07 +00:00
Correct block-copy error in flanneld config directory
This commit is contained in:
parent
1be52fb304
commit
b36832e40c
@ -86,7 +86,7 @@ func runChecks(t check.NodeType) {
|
||||
// Variable substitutions. Replace all occurrences of variables in controls file.
|
||||
s := strings.Replace(string(in), "$kubeConfDir", viper.Get("kubeConfDir").(string), -1)
|
||||
s = strings.Replace(s, "$etcdConfDir", viper.Get("etcdConfDir").(string), -1)
|
||||
s = strings.Replace(s, "$flanneldConfDir", viper.Get("etcdConfDir").(string), -1)
|
||||
s = strings.Replace(s, "$flanneldConfDir", viper.Get("flanneldConfDir").(string), -1)
|
||||
|
||||
controls := check.NewControls(t, []byte(s))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user