Make Argo bootstrap reconciliation idempotent
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user