From b18d03d74734d0953698368b8da4a9ef90b9f113 Mon Sep 17 00:00:00 2001
From: Pawel Wieczorek
Date: Tue, 6 Aug 2019 15:49:34 +0200
Subject: k8s: Unify order of API server test cases
So far CIS-compliant configuration has been validated first unless
configuration used in ONAP release did not pass given benchmark.
Issue-ID: SECCOM-235
Change-Id: Ibdb523ab7ab6b8285757719721f75aca57beeb82
Signed-off-by: Pawel Wieczorek
---
test/security/k8s/src/check/validators/master/api_test.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'test/security/k8s/src/check/validators/master')
diff --git a/test/security/k8s/src/check/validators/master/api_test.go b/test/security/k8s/src/check/validators/master/api_test.go
index 95b68daca..ed93a5d13 100644
--- a/test/security/k8s/src/check/validators/master/api_test.go
+++ b/test/security/k8s/src/check/validators/master/api_test.go
@@ -123,8 +123,8 @@ var _ = Describe("Api", func() {
Expect(IsSecurePortAbsentOrValid(params)).To(Equal(expected))
},
Entry("Is explicitly disabled on insecure cluster", []string{"--secure-port=0"}, false),
- Entry("Should be absent or set to valid port on Casablanca cluster", kubeApiServerCasablanca, true),
Entry("Should be absent or set to valid port on CIS-compliant cluster", kubeApiServerCISCompliant, true),
+ Entry("Should be absent or set to valid port on Casablanca cluster", kubeApiServerCasablanca, true),
)
DescribeTable("Profiling",
--
cgit 1.2.3-korg