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

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

Signed-off-by: Mathieu Parent <math.parent@gmail.com>
This commit is contained in:
Mathieu Parent 2021-10-06 16:27:21 +02:00
parent f3c2fa1784
commit 7ac1f91447
2 changed files with 5 additions and 6 deletions

View file

@ -2,7 +2,7 @@ apiVersion: v2
appVersion: 2.1.2 appVersion: 2.1.2
description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 3.23.0 version: 3.24.0
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-cd/assets/logo.png icon: https://argoproj.github.io/argo-cd/assets/logo.png
keywords: keywords:
@ -21,6 +21,4 @@ dependencies:
condition: redis-ha.enabled condition: redis-ha.enabled
annotations: annotations:
artifacthub.io/changes: | artifacthub.io/changes: |
- "[Added]: Ability to provide annotations on redis service" - "[Added]: Use Istio port name naming convention"
- "[Added]: Ability to provide additional labels on redis service"
- "[Fixed]: Use correct value for redis service targetPort"

View file

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