1
0
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:
Abubakr-Sadik Nii Nai Davis 2017-09-26 23:20:21 +00:00
parent d01faef457
commit a95d083049

View File

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