Make Argo bootstrap reconciliation idempotent

This commit is contained in:
2026-10-18 14:31:44 +02:00
parent fe6527467c
commit ff1ae78f66
2 changed files with 3 additions and 4 deletions
+2 -2
View File
@@ -9,8 +9,8 @@ if [ "${current_context}" != "${expected_context}" ]; then
fi
script_dir=$(CDPATH= cd -- "$(dirname -- "$0")" && pwd)
kubectl apply --server-side --dry-run=server -k "${script_dir}"
kubectl apply --server-side -k "${script_dir}"
kubectl apply --dry-run=server -k "${script_dir}"
kubectl apply -k "${script_dir}"
kubectl --namespace argocd wait application/immich-sync \
--for=jsonpath='{.status.sync.status}'=Synced \
--timeout=5m
+1 -2
View File
@@ -13,8 +13,7 @@ spec:
server: https://kubernetes.default.svc
namespace: metallb-system
ignoreDifferences:
- group: ""
kind: Secret
- kind: Secret
name: metallb-webhook-cert
namespace: metallb-system
jsonPointers: