diff --git a/charts/common/templates/_container.yaml b/charts/common/templates/_container.yaml index f0649f4..5d9dcfc 100644 --- a/charts/common/templates/_container.yaml +++ b/charts/common/templates/_container.yaml @@ -19,7 +19,7 @@ ports: {{- range .Values.ports }} - name: {{ .name }} containerPort: {{ .containerPort }} - protocol: TCP + protocol: {{ if .protocol }}{{ .protocol }}{{ else }}TCP{{ end }} {{- end }} {{- end }} {{- if .Values.probe.enabled }}