mirror of
https://github.com/aquasecurity/kube-bench.git
synced 2025-01-03 04:10:55 +00:00
Remove call to verifyKubeVersion.
This functionality is fulfilled by getKubeVersion.
This commit is contained in:
parent
d01faef457
commit
a95d083049
@ -43,10 +43,6 @@ var (
|
||||
fedControllerManagerBin string
|
||||
|
||||
errmsgs string
|
||||
|
||||
// TODO: Consider specifying this in config file.
|
||||
kubeMajorVersion = "1"
|
||||
kubeMinorVersion = "7"
|
||||
)
|
||||
|
||||
func runChecks(t check.NodeType) {
|
||||
@ -74,9 +70,6 @@ func runChecks(t check.NodeType) {
|
||||
binmap := getBinaries(typeConf)
|
||||
confmap := getConfigFiles(typeConf)
|
||||
|
||||
// Run kubernetes installation validation checks.
|
||||
verifyKubeVersion(kubeMajorVersion, kubeMinorVersion)
|
||||
|
||||
switch t {
|
||||
case check.MASTER:
|
||||
file = masterFile
|
||||
|
Loading…
Reference in New Issue
Block a user