chore: apply external secrets from helm chart

This commit is contained in:
2024-09-12 20:12:38 +02:00
parent ec93dba8df
commit 42bba204de
4 changed files with 17 additions and 6299 deletions
+5 -2
View File
@@ -12,9 +12,12 @@ kubectl create secret docker-registry gitlab \
kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "gitlab"}]}'
kubectl apply -k . || true
kustomized="$(mktemp --suffix .unboundkind.yaml --tmpdir=/tmp/)"
kubectl kustomize --enable-helm . > "${kustomized}"
kubectl apply -f "${kustomized}" || true
kubectl wait --for=condition=Ready pods --all -n cert-manager --timeout=5m
kubectl wait --for=condition=Ready pods --all -n external-secrets --timeout=5m
kubectl apply -k .
kubectl apply -f "${kustomized}"
kubectl wait --for=condition=Ready pods --all --timeout=5m