We're trying to enable the the built-in-service for couple of our listen ports through the values.yaml.
When we run the helm install/upgrade we get this error :
Error: failed to parse /<file_path>/values.yaml: error converting YAML to JSON: yaml: line xyz: did not find expected key
Here is the relevant yaml section for listen port :
listenPorts:
custom:
enabled: true
ports:
- name: Default HTTPS (8443)
port: 8443
enabled: true
protocol: HTTPS
managementFeatures:
- Published service message input
# - Administrative access
# - Browser-based administration
- Built-in services
properties: []
# - name: server
# value: A
tls:
enabled: true
# privateKey: 00000000000000000000000000000002:ssl
clientAuthentication: Optional
versions:
# - TLSv1.0
# - TLSv1.1
- TLSv1.2
- TLSv1.3
useCipherSuitesOrder: true
cipherSuites:
- TLS_AES_128_GCM_SHA256
- TLS_AES_256_GCM_SHA384
- TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
- TLS_DHE_RSA_WITH_AES_256_GCM_SHA384
- TLS_DHE_RSA_WITH_AES_128_GCM_SHA256
Container ssg 11
values.yaml file syntax error:
The line:
- Built-in services
has extra spaces at the beginning. It should start at the same column as the line:
- Published service message input
Changed
- Published service message input
# - Administrative access
# - Browser-based administration
- Built-in services
to
- Published service message input
# - Administrative access
# - Browser-based administration
- Built-in services
So the line
- Built-in services
is starting at the same column as the
- Published service message input