Fork the lockdown test to two tests as it is doing the work of 2 (#134)

This patch makes a second copy of the existing lockdown test
because it is doing double duty. In follow on patches we will
make each test do one thing only.

Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
kfox1111
2023-03-21 10:14:38 -07:00
committed by GitHub
parent 64d010757c
commit 04a1305556
4 changed files with 59 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
kubectl create namespace "spire-system"
kubectl label namespace "spire-system" pod-security.kubernetes.io/enforce=privileged
kubectl create namespace "spire-server"
kubectl label namespace "spire-server" pod-security.kubernetes.io/enforce=restricted