We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Error: parse error at (universal-template/templates/services.yaml:43): unexpected "&" in operand
1 parent cd1394f commit 56a5a05Copy full SHA for 56a5a05
src/universal-template/templates/services.yaml
@@ -40,7 +40,7 @@ spec:
40
port: {{ .port }}
41
targetPort: {{ .targetPort }}
42
protocol: {{ .protocol }}
43
- {{- if eq $type "NodePort" && .nodePort }}
+ {{- if and (eq $type "NodePort") .nodePort }}
44
nodePort: {{ .nodePort }}
45
{{- end }}
46
0 commit comments