diff options
author | 2020-01-23 12:13:44 +0100 | |
---|---|---|
committer | 2020-01-29 17:17:40 +0100 | |
commit | 2e956f6332428d91afd683884de7dcf43aec5988 (patch) | |
tree | b66c30376fb7cae6c982ea6324a22b864f553a58 /test/security/k8s/src/check/check.go | |
parent | e15544dfe000aa6d055b5d8bc0fadfc8f0ef5648 (diff) |
k8s: Drop support for Casablanca
Casablanca release reached End of Life (EOL) stage on July 8th 2019 [1].
This patch also fixes comments for test fixtures.
This whole test subtree will be deleted upon migrating Aquasec
kube-bench [2] for CIS Benchmark [3] integrated by Orange [4] to ONAP
xtesting [5].
[1] https://wiki.onap.org/display/DW/Long+Term+Roadmap
[2] https://github.com/aquasecurity/kube-bench
[3] https://www.cisecurity.org/benchmark/kubernetes/
[4] https://gitlab.com/Orange-OpenSource/lfn/onap/integration/xtesting
[5] https://git.onap.org/integration/xtesting/
Issue-ID: SECCOM-235
Change-Id: Ifc7d9c775c27d4cfafdd1932809288530cffceff
Signed-off-by: Pawel Wieczorek <p.wieczorek2@samsung.com>
Diffstat (limited to 'test/security/k8s/src/check/check.go')
-rw-r--r-- | test/security/k8s/src/check/check.go | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/test/security/k8s/src/check/check.go b/test/security/k8s/src/check/check.go index 728be18ff..91e9e5fd2 100644 --- a/test/security/k8s/src/check/check.go +++ b/test/security/k8s/src/check/check.go @@ -39,31 +39,3 @@ func (c Command) String() string { } return names[c] } - -// Service represents services run on Rancher-based cluster. -type Service int - -const ( - // APIService represents API server service ("kubernetes/kubernetes"). - APIService Service = iota - // SchedulerService represents scheduler service ("kubernetes/scheduler"). - SchedulerService - // ControllerManagerService represents controller manager service ("kubernetes/controller-manager"). - ControllerManagerService - // EtcdService represents etcd service ("kubernetes/etcd"). - EtcdService -) - -func (s Service) String() string { - names := [...]string{ - "kubernetes/kubernetes", - "kubernetes/scheduler", - "kubernetes/controller-manager", - "kubernetes/etcd", - } - - if s < APIService || s > EtcdService { - return "" - } - return names[s] -} |