From 0b3877eddb60af4fb4d67cbacdfe07a4a44bb0f6 Mon Sep 17 00:00:00 2001 From: Denys Melnyk Date: Thu, 15 Feb 2024 16:29:16 +0200 Subject: [PATCH] split to 2 values for more granular configuration --- charts/argo-cd/templates/argocd-repo-server/deployment.yaml | 6 ++++-- charts/argo-cd/values.yaml | 2 ++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml index bdc80349..adf7d6d8 100755 --- a/charts/argo-cd/templates/argocd-repo-server/deployment.yaml +++ b/charts/argo-cd/templates/argocd-repo-server/deployment.yaml @@ -89,12 +89,14 @@ spec: {{- with (concat .Values.global.env .Values.repoServer.env) }} {{- toYaml . | nindent 10 }} {{- end }} - - name: CODEFRESH_IGNORE_VERSION_CONFIG - value: {{ not .Values.applicationVersioning.enabled | quote }} {{- if .Values.openshift.enabled }} - name: USER_NAME value: argocd {{- end }} + - name: CODEFRESH_APPVERSION_ENABLE + value: {{ .Values.applicationVersioning.enabled | quote }} + - name: CODEFRESH_APPVERSION_USE_CONFIG + value: {{ .Values.applicationVersioning.useApplicationConfiguration | quote }} - name: ARGOCD_RECONCILIATION_TIMEOUT valueFrom: configMapKeyRef: diff --git a/charts/argo-cd/values.yaml b/charts/argo-cd/values.yaml index 2cfca488..3b7a4a25 100644 --- a/charts/argo-cd/values.yaml +++ b/charts/argo-cd/values.yaml @@ -29,6 +29,8 @@ openshift: applicationVersioning: # -- enables the Codefresh application versioning feature enabled: true + # -- use ApplicationConfiguration CRD to manage application versioning + useApplicationConfiguration: true ## Custom resource configuration crds: