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

additionalUrls array gets stringified #3161

Open
KevinMahoneyFS opened this issue Feb 6, 2025 · 1 comment
Open

additionalUrls array gets stringified #3161

KevinMahoneyFS opened this issue Feb 6, 2025 · 1 comment

Comments

@KevinMahoneyFS
Copy link

Describe the bug

The additionalUrls config parameter gets turned into a string

Related helm chart

argo-cd

Helm chart version

7.7.3

To Reproduce

values.yaml:

configs:
  cm:
    additionalUrls:
      - a.com
      - b.com

creates a ConfigMap:

data:
  additionalUrls: '[a.com b.com]'

Expected behavior

the array should be preserved in the ConfigMap

Screenshots

No response

Additional context

No response

@KevinMahoneyFS KevinMahoneyFS added the bug Something isn't working label Feb 6, 2025
@yu-croco
Copy link
Collaborator

yu-croco commented Feb 8, 2025

According to the official doc, you were supposed to configure like below?

configs:
  cm:
    additionalUrls: |
      - https://argo-cd-demo2.argoproj.io

@yu-croco yu-croco added question argo-cd and removed bug Something isn't working labels Feb 8, 2025
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