Namespace override

This patch makes it possible to install the subcharts in different
namespaces as needed.

Signed-off-by: Kevin Fox <[email protected]>
This commit is contained in:
kfox1111
2023-03-13 15:03:16 -07:00
committed by GitHub
parent 661000a29a
commit 03db6bb5fe
40 changed files with 221 additions and 58 deletions
+4 -4
View File
@@ -1,5 +1,5 @@
#!/bin/bash
kubectl label namespace "$scenario" pod-security.kubernetes.io/enforce=privileged
kubectl create namespace "${scenario}-deps"
kubectl label namespace "${scenario}-deps" pod-security.kubernetes.io/enforce=restricted
helm install -n "${scenario}-deps" spire charts/spire -f "${TEST_DIR}"/deps-values.yaml
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