add appProtocol
Signed-off-by: Pascal Sthamer <10992664+P4sca1@users.noreply.github.com>
This commit is contained in:
@@ -15,5 +15,6 @@ spec:
|
|||||||
port: {{ .Values.backend.containerPorts.http }}
|
port: {{ .Values.backend.containerPorts.http }}
|
||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
appProtocol: http
|
||||||
{{- $podLabels := include "common.tplvalues.merge" (dict "values" (list .Values.backend.podLabels .Values.commonLabels) "context" .) }}
|
{{- $podLabels := include "common.tplvalues.merge" (dict "values" (list .Values.backend.podLabels .Values.commonLabels) "context" .) }}
|
||||||
selector: {{- include "shuffle.backend.matchLabels" (dict "customLabels" $podLabels "context" $) | nindent 4 }}
|
selector: {{- include "shuffle.backend.matchLabels" (dict "customLabels" $podLabels "context" $) | nindent 4 }}
|
||||||
|
|||||||
@@ -15,11 +15,13 @@ spec:
|
|||||||
port: {{ .Values.frontend.containerPorts.http }}
|
port: {{ .Values.frontend.containerPorts.http }}
|
||||||
targetPort: http
|
targetPort: http
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
appProtocol: http
|
||||||
{{- if .Values.frontend.containerPorts.https }}
|
{{- if .Values.frontend.containerPorts.https }}
|
||||||
- name: https
|
- name: https
|
||||||
port: {{ .Values.frontend.containerPorts.https }}
|
port: {{ .Values.frontend.containerPorts.https }}
|
||||||
targetPort: https
|
targetPort: https
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
appProtocol: https
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- $podLabels := include "common.tplvalues.merge" (dict "values" (list .Values.frontend.podLabels .Values.commonLabels) "context" .) }}
|
{{- $podLabels := include "common.tplvalues.merge" (dict "values" (list .Values.frontend.podLabels .Values.commonLabels) "context" .) }}
|
||||||
selector: {{- include "shuffle.frontend.matchLabels" (dict "customLabels" $podLabels "context" $) | nindent 4 }}
|
selector: {{- include "shuffle.frontend.matchLabels" (dict "customLabels" $podLabels "context" $) | nindent 4 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user