Skip to content

Latest commit

 

History

History
 
 

single_cluster

Spire

This is a Spire setup for the single cluster scenario.

Run

To apply spire deployments following the next command:

kubectl apply -k ../../../examples/spire/single_cluster

Wait for PODs status ready:

kubectl wait -n spire --timeout=4m --for=condition=ready pod -l app=spire-server
kubectl wait -n spire --timeout=1m --for=condition=ready pod -l app=spire-agent

Apply the ClusterSPIFFEID CR for the cluster:

kubectl apply -f ../../../examples/spire/single_cluster/clusterspiffeid-template.yaml
kubectl apply -f ../../../examples/spire/base/clusterspiffeid-webhook-template.yaml

Cleanup

Delete ns:

kubectl delete crd clusterspiffeids.spire.spiffe.io
kubectl delete crd clusterfederatedtrustdomains.spire.spiffe.io
kubectl delete validatingwebhookconfiguration.admissionregistration.k8s.io/spire-controller-manager-webhook
kubectl delete ns spire