Skip to content

Commit 3fc8bca

Browse files
committed
Remove CSR check from deploy-config
1 parent b6d115f commit 3fc8bca

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Makefile

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ deploy-config: prep-config
8080
kubectl apply -f deploy/deployment.yaml
8181
kubectl apply -f deploy/service.yaml
8282
kubectl apply -f deploy/mutatingwebhook-ca-bundle.yaml
83-
until kubectl get csr -o \
84-
jsonpath='{.items[?(@.spec.username=="system:serviceaccount:default:pod-identity-webhook")].metadata.name}' | \
85-
grep -m 1 "csr-"; \
86-
do echo "Waiting for CSR to be created" && sleep 1 ; \
87-
done
88-
kubectl certificate approve $$(kubectl get csr -o jsonpath='{.items[?(@.spec.username=="system:serviceaccount:default:pod-identity-webhook")].metadata.name}')
8983

9084
delete-config:
9185
@echo 'Tearing down mutating controller and associated resources...'

0 commit comments

Comments
 (0)