feat(argo-cd): Use Istio port name naming convention (#956)

See https://istio.io/latest/docs/ops/configuration/traffic-management/protocol-selection/#explicit-protocol-selection

Signed-off-by: Mathieu Parent <math.parent@gmail.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
This commit is contained in:
Mathieu Parent 2021-10-07 00:12:44 +02:00 committed by GitHub
parent c2f781a377
commit 1ceb47ff76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View file

@ -15,8 +15,9 @@ metadata:
{{- end }}
spec:
ports:
- port: {{ .Values.redis.servicePort }}
- name: redis
port: {{ .Values.redis.servicePort }}
targetPort: {{ .Values.redis.containerPort }}
selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.redis.name) | nindent 4 }}
{{- end }}
{{- end }}