configProperties: |-
[group]
name = '${CBES_GROUP}'
[group.static]
memberNumber = 1 # A value from 1 to 'totalMembers', inclusive.
[logging]
logDocumentLifecycle = false
redactionLevel = 'NONE'
[metrics]
httpPort = 31415 # Positive = fixed, 0 = ephemeral, -1 = disable HTTP server
logInterval = '0m' # Set to '0m' to disable metrics logging
我正在尝试使用范围迭代值
{{- define "config.properties" }}
{{- range $k, $v := .Values.configProperties }}
{{ index $k }}
{{- $v | toYaml | trimSuffix "\n" | indent 4 }}
{{- end }}
{{- end }}
但我面临以下错误:
在
如果我遗漏了什么,你能支持吗?