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

Namespace install yaml has bad formatting, introduced by #19209 #20138

Open
3 tasks
todaywasawesome opened this issue Sep 27, 2024 · 0 comments · May be fixed by #20139
Open
3 tasks

Namespace install yaml has bad formatting, introduced by #19209 #20138

todaywasawesome opened this issue Sep 27, 2024 · 0 comments · May be fixed by #20139
Assignees
Labels
bug Something isn't working component:distribution Manifests, docker files, CLI distrubution etc

Comments

@todaywasawesome
Copy link
Contributor

#19209 Introduce a bug to namespace install.

To reproduce, try to use namespace install
k apply -f https://raw.githubusercontent.com/argoproj/argo-cd/refs/heads/master/manifests/namespace-install.yaml --dry-run=server

Error from server (BadRequest): error when creating "https://raw.githubusercontent.com/argoproj/argo-cd/refs/heads/master/manifests/namespace-install.yaml": Deployment in version "v1" cannot be handled as a Deployment: strict decoding error: unknown field "spec.template.spec.containers[0].env[21].configMapKeyRef"

Checklist:

  • I've searched in the docs and FAQ for my answer: https://bit.ly/argocd-faq.
  • I've included steps to reproduce the bug.
  • I've pasted the output of argocd version.

Describe the bug

The yaml is improperly indented. https://github.com/argoproj/argo-cd/blame/master/manifests/namespace-install.yaml#L1318-L1321

To Reproduce

To reproduce, try to use namespace install
k apply -f https://raw.githubusercontent.com/argoproj/argo-cd/refs/heads/master/manifests/namespace-install.yaml --dry-run=server

Version

argocd: v2.4.14+029be59.dirty
  BuildDate: 2022-10-05T19:03:58Z
  GitCommit: 029be590bfd5003d65ddabb4d4cb8a31bff29c18
  GitTreeState: dirty
  GoVersion: go1.19.2
  Compiler: gc
  Platform: darwin/arm64
argocd-server: v2.12.3+6b9cd82

Logs

Paste any relevant application logs here.
@todaywasawesome todaywasawesome added the bug Something isn't working label Sep 27, 2024
@todaywasawesome todaywasawesome self-assigned this Sep 27, 2024
@reggie-k reggie-k added the component:distribution Manifests, docker files, CLI distrubution etc label Sep 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component:distribution Manifests, docker files, CLI distrubution etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants