configuration

This commit is contained in:
andrii-codefresh 2024-02-15 14:28:48 +02:00
parent c6f9897934
commit 26483c27b8
3 changed files with 12 additions and 10 deletions

View file

@ -1,9 +1,9 @@
apiVersion: v2 apiVersion: v2
appVersion: v2.9-2024.2.14-58059e8b0 appVersion: v2.9-2024.2.15-d04e12c26
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.53.12-2-cap-2.9-2024.2.14-58059e8b0 version: 5.53.12-3-cap-2.9-2024.2.15-d04e12c26
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:

View file

@ -89,6 +89,8 @@ spec:
{{- with (concat .Values.global.env .Values.repoServer.env) }} {{- with (concat .Values.global.env .Values.repoServer.env) }}
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
{{- end }} {{- end }}
- name: CODEFRESH_IGNORE_VERSION_CONFIG
value: {{ .Values.repoServer.versionConfiguration.disabled | quote }}
{{- if .Values.openshift.enabled }} {{- if .Values.openshift.enabled }}
- name: USER_NAME - name: USER_NAME
value: argocd value: argocd
@ -249,23 +251,18 @@ spec:
key: reposerver.enable.git.submodule key: reposerver.enable.git.submodule
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
optional: true optional: true
- name: ARGOCD_REPO_SERVER_CODEFRESH_IGNORE_VERSION_CONFIG - name: CODEFRESH_URL
valueFrom:
configMapKeyRef:
name: codefresh-cm
key: ignore-version-config
optional: true
- name: ARGOCD_REPO_SERVER_CODEFRESH_URL
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
name: codefresh-cm name: codefresh-cm
key: base-url key: base-url
optional: true optional: true
- name: ARGOCD_REPO_SERVER_CODEFRESH_TOKEN - name: CODEFRESH_TOKEN
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
key: token key: token
name: codefresh-token name: codefresh-token
optional: true
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }} {{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
- name: HELM_CACHE_HOME - name: HELM_CACHE_HOME
value: /helm-working-dir value: /helm-working-dir

View file

@ -2161,6 +2161,11 @@ repoServer:
# -- Environment variables to pass to repo server # -- Environment variables to pass to repo server
env: [] env: []
# Applications versions configuration settings
versionConfiguration:
# Disable getting version configuration from the Codefresh API
disabled: false
# -- envFrom to pass to repo server # -- envFrom to pass to repo server
# @default -- `[]` (See [values.yaml]) # @default -- `[]` (See [values.yaml])
envFrom: [] envFrom: []