-
Notifications
You must be signed in to change notification settings - Fork 220
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
Helm chart not correctly rendering when using additional annotations and azure workload identity #437
Comments
I'm trying to use additionalAnnotations from the 2.9.4 chart which has nindent in it and it isn't working either. There's something broken going on with the annotations. I'm wondering if some neighboring field is gobbling whitespace incorrectly. I'm using aws annotations instead of azure. |
Running a dry-run for the sa gives me this:
hence why I mentioned nindent. What do you get for AWS? |
Looks like the issue is probably here: Are you willing to contribute a fix? |
Exactly, that's why I proposed the nindent :). Sure. But I'll provide a couple more fixes. The reason I have this weird annotation is because of issues on my servicemonitors, it's a bit wonky with resources in a permanent state of out-of-sync under ArgoCD management. |
I opened a PR (#441) that revamps annotations all over the helm chart so they will actually work correctly. There is a problem where the '{}' gets included in the annotations even when you override the value with something else. There's also an issue with empty annotations. So, I modified that in all of the templates. The PR also fixes the whitespace gobbling issues. |
A clear and concise description of what the bug is.
Expected Behavior
Helm template rendering
Actual Behavior
Issue. Cannot convert YAML to JSON
Steps to Reproduce the Problem
Specifications
Fix
I tried to submit a pull request myself, but I'm not allowed to push a branch.
The text was updated successfully, but these errors were encountered: