New to k8s & helm.
Trying to declare a field in a deployment using the {{ .Release.Name }}
, that must not contain characters other than letters (upper + lower), digits and _.
Excluded characters should be replaced with _, for instance:
feature/my-feature-1130
should replaced with: feature_my_feature_1130
Can one please help me creating such of a field?
Many Thanks in advance!
{{ regexReplaceAll "\\W+" .Release.Name "_" }}
– Delia