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]>
6 lines
262 B
Bash
Executable File
6 lines
262 B
Bash
Executable File
#!/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
|