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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

ArgoCD hook annotations on the server-acl-init-job do not work #3831

Open
0011blindmice opened this issue Mar 28, 2024 · 0 comments 路 May be fixed by #3989
Open

ArgoCD hook annotations on the server-acl-init-job do not work #3831

0011blindmice opened this issue Mar 28, 2024 · 0 comments 路 May be fixed by #3989
Labels
type/bug Something isn't working

Comments

@0011blindmice
Copy link

0011blindmice commented Mar 28, 2024

Community Note

  • Please vote on this issue by adding a 馃憤 reaction to the original issue to help the community and maintainers prioritize this request. Searching for pre-existing feature requests helps us consolidate datapoints for identical requirements into a single place, thank you!
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request.
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Overview of the Issue

While installing the Consul chart via ArgoCD, there are continuous Out-of-Sync warnings due to the init job being cleaned by a separate hook, leaving ArgoCD under the assumption that there is drift from the intended manifest.

There is currently a values entry to add ArgoCD's specific annotations for cleaning up hooks post-success, but they are being applied at the pod level of the spec.

i.e.

{{- if .Values.global.acls.annotations }}

It is my understanding this block of the template should actually be in the root .metadata.annotations of the job.

Reproduction Steps

  1. When running helm install with the following values.yml:
global:
  argocd:
    enabled: true

Logs

image

Expected behavior

Ideally, the hook annotation would be at the Job's top level, as that is the resource that appears to be getting destroyed and triggering the sync disparity.

Environment details

Consul version: 1.4.0
ArgoCD: 2.10.1

@0011blindmice 0011blindmice added the type/bug Something isn't working label Mar 28, 2024
@gcaracuel gcaracuel linked a pull request May 13, 2024 that will close this issue
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant