This patch removes the production bits of the old lockdown test and establishes the namespace override test as its own test. --------- 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
|