Skip to content

fix: offset all Argo CD sync-wave values by +31 to ensure positive waves#109

Open
minmzzhang wants to merge 3 commits intovalidatedpatterns:mainfrom
minmzzhang:update-sync-wave
Open

fix: offset all Argo CD sync-wave values by +31 to ensure positive waves#109
minmzzhang wants to merge 3 commits intovalidatedpatterns:mainfrom
minmzzhang:update-sync-wave

Conversation

@minmzzhang
Copy link
Collaborator

The Validated Patterns operator now applies the Argo CD super-role (ClusterRole) later in the deployment lifecycle. Resources annotated with negative sync-wave values could attempt to sync before the role existed, causing failures.

This adds +31 to every argocd.argoproj.io/sync-wave annotation across all charts, values-hub.yaml, and docs. Relative ordering is preserved; the smallest wave is now 1 (was -30). Inline comments referencing old wave numbers are updated to match.

See docs/SYNC-WAVE-INVENTORY.md for a full old/current mapping table.

@p-rog
Copy link
Collaborator

p-rog commented Mar 23, 2026

Overall it looks good to me. Let me test it.

@p-rog
Copy link
Collaborator

p-rog commented Mar 23, 2026

I tested this approach in a brand new cluster and it worked well. No errors and applications are synced without issues.

@mlorenzofr mlorenzofr self-requested a review March 23, 2026 15:36
Copy link
Collaborator

@mlorenzofr mlorenzofr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

The Validated Patterns operator now applies the Argo CD super-role
(ClusterRole) later in the deployment lifecycle. Resources annotated
with negative sync-wave values could attempt to sync before the role
existed, causing failures.

This adds +31 to every argocd.argoproj.io/sync-wave annotation across
all charts, values-hub.yaml, and docs. Relative ordering is preserved;
the smallest wave is now 1 (was -30). Inline comments referencing old
wave numbers are updated to match.

See docs/SYNC-WAVE-INVENTORY.md for a full old/current mapping table.

Signed-off-by: Min Zhang <minzhang@redhat.com>
- Add explicit sync-wave to all active applications in values-hub.yaml
- Add sync-wave 48 to commented supply-chain application
- Wait for MachineConfigPool rollout before vault-config-jwt
- Update SYNC-WAVE-INVENTORY with unified deployment timeline

Signed-off-by: Min Zhang <minzhang@redhat.com>
…stergroup chart

Apply the same +31 sync-wave offset convention to values-coco-dev.yaml
so all waves are positive, matching values-hub.yaml. Revert the
temporary clusterGroupChartVersion pin (0.9.45 -> 0.9.*) since
positive-only waves eliminate the issue that prompted it.

Signed-off-by: Min Zhang <minzhang@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants