fix(argo-cd): fix gRPC service target port (#2138)

* fix(argo-cd): update grpc service to use proper targetPort

Signed-off-by: d.chien <dangchien1910@gmail.com>

* fix(argo-cd): update Chart changelog

Signed-off-by: d.chien <dangchien1910@gmail.com>

---------

Signed-off-by: d.chien <dangchien1910@gmail.com>
This commit is contained in:
dchien234 2023-06-30 00:02:15 +08:00 committed by GitHub
parent 78e99e9911
commit 675803c02d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.7.6
kubeVersion: ">=1.23.0-0" kubeVersion: ">=1.23.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 5.36.10 version: 5.36.11
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources: sources:
@ -26,5 +26,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252 fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: added - kind: changed
description: Add `ARGOCD_NOTIFICATIONS_CONTROLLER_LOGLEVEL` and `ARGOCD_NOTIFICATIONS_CONTROLLER_LOGFORMAT` env vars to argo-notifications Deployment description: Change `targetPort` to use proper `.Values.server.containerPorts.server` value in argo-cd/argo-server for grpc Service so that AWS ALB will not fail the health check for this extra Service.

View file

@ -13,11 +13,11 @@ spec:
- name: {{ .Values.server.service.servicePortHttpName }} - name: {{ .Values.server.service.servicePortHttpName }}
protocol: TCP protocol: TCP
port: {{ .Values.server.service.servicePortHttp }} port: {{ .Values.server.service.servicePortHttp }}
targetPort: server targetPort: {{ .Values.server.containerPorts.server }}
- name: {{ .Values.server.service.servicePortHttpsName }} - name: {{ .Values.server.service.servicePortHttpsName }}
protocol: TCP protocol: TCP
port: {{ .Values.server.service.servicePortHttps }} port: {{ .Values.server.service.servicePortHttps }}
targetPort: server targetPort: {{ .Values.server.containerPorts.server }}
selector: selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }}
sessionAffinity: None sessionAffinity: None