split to 2 values for more granular configuration

This commit is contained in:
Denys Melnyk 2024-02-15 16:29:16 +02:00
parent 2eccf93925
commit 0b3877eddb
2 changed files with 6 additions and 2 deletions

View file

@ -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:

View file

@ -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: