Skip to content

Commit d17ce39

Browse files
Merge pull request #58 from codefresh-io/version-config
Version config
2 parents 1d6db1b + aff3fa6 commit d17ce39

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

charts/argo-cd/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: v2
2-
appVersion: v2.9-2024.2.8-8ba4b03d4
2+
appVersion: v2.9-2024.2.15-cc783d89f
33
kubeVersion: ">=1.23.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 5.53.12-2-cap-2.9-2024.2.8-8ba4b03d4
6+
version: 5.53.12-3-cap-2.9-2024.2.15-cc783d89f
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:
@@ -27,4 +27,4 @@ annotations:
2727
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2828
artifacthub.io/changes: |
2929
- kind: changed
30-
description: Upgrade Argo CD to v2.9-2024.2.8-8ba4b03d4. With critical vulnerability fixes revert and argo-cd reporter project name bypassing
30+
description: Upgrade Argo CD to v2.9-2024.2.15-cc783d89f. Getting application version configuration from the Codefresh API.

charts/argo-cd/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,8 @@ NAME: my-release
400400
| Key | Type | Default | Description |
401401
|-----|------|---------|-------------|
402402
| apiVersionOverrides.cloudgoogle | string | `""` | String to override apiVersion of GKE resources rendered by this helm chart |
403+
| applicationVersioning.enabled | bool | `true` | enables the Codefresh application versioning feature |
404+
| applicationVersioning.useApplicationConfiguration | bool | `true` | use ApplicationConfiguration CRD to manage application versioning |
403405
| crds.additionalLabels | object | `{}` | Addtional labels to be added to all CRDs |
404406
| crds.annotations | object | `{}` | Annotations to be added to all CRDs |
405407
| crds.install | bool | `true` | Install and upgrade CRDs |

charts/argo-cd/templates/argocd-repo-server/deployment.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,10 @@ spec:
9393
- name: USER_NAME
9494
value: argocd
9595
{{- end }}
96+
- name: CODEFRESH_APPVERSION_ENABLED
97+
value: {{ .Values.applicationVersioning.enabled | quote }}
98+
- name: CODEFRESH_APPVERSION_USE_APPCONFIG
99+
value: {{ .Values.applicationVersioning.useApplicationConfiguration | quote }}
96100
- name: ARGOCD_RECONCILIATION_TIMEOUT
97101
valueFrom:
98102
configMapKeyRef:
@@ -249,6 +253,18 @@ spec:
249253
key: reposerver.enable.git.submodule
250254
name: argocd-cmd-params-cm
251255
optional: true
256+
- name: CODEFRESH_URL
257+
valueFrom:
258+
configMapKeyRef:
259+
name: codefresh-cm
260+
key: base-url
261+
optional: true
262+
- name: CODEFRESH_TOKEN
263+
valueFrom:
264+
secretKeyRef:
265+
key: token
266+
name: codefresh-token
267+
optional: true
252268
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
253269
- name: HELM_CACHE_HOME
254270
value: /helm-working-dir

charts/argo-cd/values.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,12 @@ openshift:
2626
# -- enables using arbitrary uid for argo repo server
2727
enabled: false
2828

29+
applicationVersioning:
30+
# -- enables the Codefresh application versioning feature
31+
enabled: true
32+
# -- use ApplicationConfiguration CRD to manage application versioning
33+
useApplicationConfiguration: true
34+
2935
## Custom resource configuration
3036
crds:
3137
# -- Install and upgrade CRDs

0 commit comments

Comments
 (0)