#2749 Adding ARGOCD_API_SERVER_REPLICAS environment variable to server when autoscaling is not enabled

Signed-off-by: Brian Dunnigan <bdunnigan@clarityinnovates.com>
This commit is contained in:
Brian Dunnigan 2024-08-20 12:37:51 -04:00
parent d1f5d50dcd
commit ff411cc9a9
No known key found for this signature in database
2 changed files with 5 additions and 3 deletions

View file

@ -3,7 +3,7 @@ appVersion: v2.12.1
kubeVersion: ">=1.25.0-0" kubeVersion: ">=1.25.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: 7.4.4 version: 7.5.0
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: changed - kind: added
description: Bump argo-cd to v2.12.1 description: ARGOCD_API_SERVER_REPLICAS environment variable support

View file

@ -76,6 +76,8 @@ spec:
{{- with (concat .Values.global.env .Values.server.env) }} {{- with (concat .Values.global.env .Values.server.env) }}
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
{{- end }} {{- end }}
- name: ARGOCD_API_SERVER_REPLICAS
value: {{ (ternary .Values.server.autoscaling.minReplicas .Values.server.replicas .Values.server.autoscaling.enabled) | quote }}
- name: ARGOCD_SERVER_NAME - name: ARGOCD_SERVER_NAME
value: {{ template "argo-cd.server.fullname" . }} value: {{ template "argo-cd.server.fullname" . }}
- name: ARGOCD_SERVER_INSECURE - name: ARGOCD_SERVER_INSECURE