Skip to content

fix: script should sync apps that failed their last sync#151

Merged
thesuperzapper merged 1 commit into
deployKF:mainfrom
thesuperzapper:resync-app-if-last-op-failed
May 11, 2024
Merged

fix: script should sync apps that failed their last sync#151
thesuperzapper merged 1 commit into
deployKF:mainfrom
thesuperzapper:resync-app-if-last-op-failed

Conversation

@thesuperzapper

Copy link
Copy Markdown
Member

This PR updates the sync_argocd_apps.sh so that it will also sync apps whose last sync failed, in addition to those that are actually "out of sync".

This only affects apps where a pre-install Job succeeded one time, but failed the next, in these cases, the overall app might have looked "in sync" from ArgoCD's perspective, but in actuality, since the pre-install job failed, it needs to be re-synced before continuing with future syncs.

@thesuperzapper thesuperzapper added this to the v0.1.5 milestone May 11, 2024
@thesuperzapper
thesuperzapper merged commit 4b13f2e into deployKF:main May 11, 2024
@thesuperzapper
thesuperzapper deleted the resync-app-if-last-op-failed branch May 11, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant