chore: apply external secrets from helm chart
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user