Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ArgoCD hooks annotation location #3989

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gcaracuel
Copy link

@gcaracuel gcaracuel commented May 13, 2024

Changes proposed in this PR

ArgoCD hooks to be set to Job annotations and not at Job template spec level -> https://argo-cd.readthedocs.io/en/stable/user-guide/resource_hooks/#usage

If set at current Job template spec level when Job is finished ArgoCD detects back again diff entering into a loop, if ArgoCD AutoSync is enabled this will be a loop of init jobs running forever.

fix: #3831

How I've tested this PR

  • Ran helm bats tests successfully.

How I expect reviewers to test this PR

  • Deploy this chart using ArgoCD Application. Without the fix after the sync it will enter in a diff sync loop.

Checklist

Copy link

hashicorp-cla-app bot commented May 13, 2024

CLA assistant check
All committers have signed the CLA.

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.

ArgoCD hook annotations on the server-acl-init-job do not work
1 participant