fix(setup): use server-side apply for kustomization #112

Merged
argoyle merged 1 commits from fix/setup-server-side-apply into main 2025-08-03 11:16:40 +00:00
+2 -2
View File
@@ -15,11 +15,11 @@ kubectl patch serviceaccount default -p '{"imagePullSecrets": [{"name": "gitlab"
kustomized="$(mktemp --suffix .unboundkind.yaml --tmpdir=/tmp/)"
kubectl kustomize --enable-helm ./kind > "${kustomized}"
kubectl apply -f "${kustomized}" || true
kubectl apply -f "${kustomized}" --server-side || true
kubectl wait --for=condition=Ready pods -n cert-manager -l app=cert-manager --timeout 5m
kubectl wait --for=condition=Ready pods -n cert-manager -l app=cainjector --timeout 5m
kubectl wait --for=condition=Ready pods -n cert-manager -l app=webhook --timeout 5m
kubectl wait --for=condition=Ready pods --all -n external-secrets --timeout=5m
kubectl apply -f "${kustomized}"
kubectl apply -f "${kustomized}" --server-side
kubectl wait --for=condition=Ready pods --all --timeout=5m