You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Withmetrics.dashboards.create: true
helm generates an error
$ helm template testing . --values ./dashboard.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
To Reproduce
Steps to reproduce the behavior:
Set metrics.dashboards.create: true in values.yaml being used
Run helm command
See error listed above
Expected behavior
Helm produces objects without error.
Version of Kubernetes:
NA
I believe I have the fix, and will make a PR.
The text was updated successfully, but these errors were encountered:
**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**
<!-- Enter any applicable Issues here (You can reference an issue using
#) -->
- fixes#1416
**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.
Signed-off-by: Matt Pippitt <[email protected]>
Which component:
controller helm chart
Describe the bug
With
metrics.dashboards.create: true
helm generates an error
To Reproduce
Steps to reproduce the behavior:
metrics.dashboards.create: true
in values.yaml being usedExpected behavior
Helm produces objects without error.
Version of Kubernetes:
NA
I believe I have the fix, and will make a PR.
The text was updated successfully, but these errors were encountered: