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

fix(helm): syntax fix in dashboard template #1417

Merged
merged 1 commit into from
Dec 23, 2023

Conversation

pippitt
Copy link
Contributor

@pippitt pippitt commented Dec 22, 2023

Description of the change

Addresses #1416
Update dashboard configmap template syntax on commonLabels

Benefits

When dashboards are enabled helm will now render them correctly.

Possible drawbacks

None know.

Applicable issues

Additional information

Tested with helm template. Before fix with dashboards enabled:

helm template testing . --values values.yaml
Error: template: sealed-secrets/templates/configmap-dashboards.yaml:14:18: executing "sealed-secrets/templates/configmap-dashboards.yaml" at <.Values.commonLabels>: can't evaluate field Values in type []uint8

Use --debug flag to render out invalid YAML

With change, renders as expected.

@pippitt pippitt force-pushed the fix/configmap_dashboard_helm branch 2 times, most recently from abde7a7 to 9fc2a30 Compare December 22, 2023 19:11
@pippitt pippitt force-pushed the fix/configmap_dashboard_helm branch from 9fc2a30 to c1f8b79 Compare December 22, 2023 19:11
Copy link
Collaborator

@alvneiayu alvneiayu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot for your fix and contribution.

@alvneiayu alvneiayu merged commit c418d12 into bitnami-labs:main Dec 23, 2023
17 checks passed
@alvneiayu alvneiayu mentioned this pull request Dec 23, 2023
alvneiayu added a commit that referenced this pull request Dec 23, 2023
Release chart 2.14.1

Includes: 
* Syntax fix in dashboard template #1417

Fixes #1416

Signed-off-by: Alvaro Neira Ayuso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Helm chart 2.14.0 error if dashboard enabled after commonLabels added
2 participants