Skip to content

Commit

Permalink
updated argocd_auto_sync.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
HariSekhon committed Aug 10, 2023
1 parent c4cd758 commit 1918347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubernetes/argocd_auto_sync.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ apps="$(argocd app list -o name | sed 's|argocd/||')"
# App-of-Apps which would re-enable the app must be disabled first
for base_app in argocd apps; do
if grep -Fxq 'argocd' <<< "$apps"; then
timestamp "$msg '$app'"
timestamp "$msg '$base_app'"
argocd app set "$base_app" --sync-policy "$automated_or_none"
fi
echo >&2
Expand Down

0 comments on commit 1918347

Please sign in to comment.