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
loki.schema_config apparently became loki.schemaConfig. After renaming the object, that part was accepted (also by the 5.x helm chart).
Then the loki ConfigMap failed to be generated. The config.yaml value is literally Error: 'error converting YAML to JSON: yaml: line 70: mapping values are not allowed in this context'.
Trying to render the helm chart locally with "helm --debug template" results in
Error: template: loki/templates/write/statefulset-write.yaml:46:28: executing "loki/templates/write/statefulset-write.yaml" at <include (print .Template.BasePath "/config.yaml") .>: error calling include: template: loki/templates/config.yaml:19:7: executing "loki/templates/config.ya
ml" at <include "loki.calculatedConfig" .>: error calling include: template: loki/templates/_helpers.tpl:461:24: executing "loki.calculatedConfig" at <tpl .Values.loki.config .>: error calling tpl: error during tpl function execution for "
<<<< template removed for brevity >>>
": template: loki/templates/write/statefulset-write.yaml:37:6: executing "loki/templates/write/statefulset-write.yaml" at <include "loki.commonStorageConfig" .>: error calling include: template: loki/templates/_helpers.tpl:228:19: executing "loki.commonStorageConfig" at <$.Values.loki.storage.bucketNames.chunks>: nil pointer evaluating interface {}.chunks
I try to understand the nested template structure in the helm chart to understand what is happening.
A short helm chart values set (which worked fine with 5.x) triggering the phenomenon:
loki.schema_config
apparently becameloki.schemaConfig
. After renaming the object, that part was accepted (also by the 5.x helm chart).Then the
loki
ConfigMap failed to be generated. The config.yaml value is literallyError: 'error converting YAML to JSON: yaml: line 70: mapping values are not allowed in this context'
.Trying to render the helm chart locally with "helm --debug template" results in
I try to understand the nested template structure in the helm chart to understand what is happening.
A short helm chart values set (which worked fine with 5.x) triggering the phenomenon:
values.yaml
Originally posted by @MartinEmrich in #12506 (comment)
The text was updated successfully, but these errors were encountered: