Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 46bde01

Browse files
authored
Update _container.yaml
1 parent e041bb4 commit 46bde01

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

charts/common/templates/_container.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ ports:
1919
{{- range .Values.ports }}
2020
- name: {{ .name }}
2121
containerPort: {{ .containerPort }}
22-
protocol: TCP
22+
protocol: {{ if .protocol }}{{ .protocol }}{{ else }}TCP{{ end }}
2323
{{- end }}
2424
{{- end }}
2525
{{- if .Values.probe.enabled }}
@@ -51,4 +51,4 @@ resources:
5151
{{- toYaml .Values.resources | nindent 2 }}
5252
{{- end }}
5353
{{- end }}
54-
{{- end }}
54+
{{- end }}

0 commit comments

Comments
 (0)