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

Inconsistent Naming of Argo CD Objects When Installed via Helm #3030

Open
romanvilu opened this issue Nov 13, 2024 · 1 comment
Open

Inconsistent Naming of Argo CD Objects When Installed via Helm #3030

romanvilu opened this issue Nov 13, 2024 · 1 comment

Comments

@romanvilu
Copy link

romanvilu commented Nov 13, 2024

Describe the bug

Argo CD installation via the Helm chart results in inconsistent resource naming. Specifically, some resources respect the fullnameOverride value, while others have the argocd- prefix hardcoded. For example, the argocd-configs/argocd-secret.yaml file contains a Secret object with the fixed name argocd-secret.

Screenshot from 2024-11-13 09-56-12

Related helm chart

argo-cd

Helm chart version

7.7.2

To Reproduce

  1. Download the Helm chart
  2. Set the fullnameOverride value, for instance, to argo-cd
  3. Install the release
  4. Check the names of objects using the command:
    kubectl get all,secrets -n <namespace>
    

Expected behavior

Naming is consistent. Resources respect the fullnameOverride value.

Screenshots

No response

Additional context

A general question: in many places, Argo CD is referred to as either argo-cd or argocd. While this doesn’t cause technical issues, it can lead to confusion around naming conventions. Then, why wouldn't we refer to Argo Workflows as either argo-workflows or argoworkflows?

It might be beneficial to standardize naming across configurations and documentation for clarity and consistency.

@romanvilu romanvilu added the bug Something isn't working label Nov 13, 2024
@yu-croco
Copy link
Collaborator

Hi @romanvilu

while others have the argocd- prefix hardcoded. For example, the argocd-configs/argocd-secret.yaml file contains a Secret object with the fixed name argocd-secret.

This is because Argo CD fetches the hardcoded names in upstream.
e.g.) https://github.com/argoproj/argo-cd/blob/master/common/common.go#L35-L50

@yu-croco yu-croco added question argo-cd and removed bug Something isn't working labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants