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
and under the charts folder I have this values file: values.yaml
name: ""
and under templates folder I have this configMap file: configMap.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: {{ .Values.name }}-configmap
data:
# property-like keys; each key maps to a simple value
player_initial_lives: "3"
ui_properties_file_name: "user-interface.properties"
When I run the pipeline I get this error: Error: ConfigMap "sit-{{ .Release.Name }}-configmap" is invalid: metadata.name: Invalid value: "sit-{{ .Release.Name }}-configmap": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(.a-z0-9?)*')
looks like the Release.Name not exposed in correct way even I get this code form your example.
The text was updated successfully, but these errors were encountered:
anasmohana
changed the title
error converting YAML to JSON: yaml: line 3: did not find expected key
error convertingRelaeas.Name
Sep 30, 2022
anasmohana
changed the title
error convertingRelaeas.Name
error converting Release.Name
Sep 30, 2022
I have created a Helmfile as this:
helmfile.yaml
and under the charts folder I have this values file:
values.yaml
and under templates folder I have this configMap file:
configMap.yaml
When I run the pipeline I get this error:
Error: ConfigMap "sit-{{ .Release.Name }}-configmap" is invalid: metadata.name: Invalid value: "sit-{{ .Release.Name }}-configmap": a lowercase RFC 1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is 'a-z0-9?(.a-z0-9?)*')
looks like the Release.Name not exposed in correct way even I get this code form your example.
The text was updated successfully, but these errors were encountered: