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
When attempting to inject Prometheus rules via my overrides-values.yaml file, I get a warning.
coalesce.go:220: warning: cannot overwrite table with non table for vault.serverTelemetry.prometheusRules.rules (map[])
To Reproduce
Steps to reproduce the behavior:
Create override-values.yml file
Execute helm installation command with --values override-values.yml
See error at command line
Expected behavior
Helm to execute without warnings or errors.
Environment
$ helm version
version.BuildInfo{Version:"v3.10.3", GitCommit:"835b7334cfe2e5e27870ab3ed4135f136eecc704", GitTreeState:"clean", GoVersion:"go1.18.9"}
override-values.yml
# Configure PrometheusserverTelemetry:
serviceMonitor:
enabled: trueprometheusRules:
enabled: truerules:
- alert: vault-HighResponseTimeannotations:
message: The response time of Vault is over 500ms on average over the last 5 minutes.expr: vault_core_handle_request{quantile="0.5", namespace="mynamespace"} > 500for: 5mlabels:
severity: warning
- alert: vault-HighResponseTimeannotations:
message: The response time of Vault is over 1s on average over the last 5 minutes.expr: vault_core_handle_request{quantile="0.5", namespace="mynamespace"} > 1000for: 5mlabels:
severity: critical
Describe the bug
When attempting to inject Prometheus rules via my overrides-values.yaml file, I get a warning.
coalesce.go:220: warning: cannot overwrite table with non table for vault.serverTelemetry.prometheusRules.rules (map[])
To Reproduce
Steps to reproduce the behavior:
override-values.yml
file--values override-values.yml
Expected behavior
Helm to execute without warnings or errors.
Environment
override-values.yml
Additional context
I believe the bug is at https://github.com/hashicorp/vault-helm/blob/main/values.yaml#L1201, where
rules: {}
is defined as a map, but the examples show a list data structure.The text was updated successfully, but these errors were encountered: