Create ns for deployments:
kubectl create ns nsm-system
Register nsm-system
namespace in spire:
kubectl exec -n spire spire-server-0 -- \
/opt/spire/bin/spire-server entry create \
-spiffeID spiffe://example.org/ns/nsm-system/sa/default \
-parentID spiffe://example.org/ns/spire/sa/spire-agent \
-selector k8s:ns:nsm-system \
-selector k8s:sa:default
Apply NSM resources for basic tests:
kubectl apply -k .
Delete ns:
kubectl delete ns nsm-system