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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user