Skip to content

Commit 7f3024c

Browse files
Merge pull request #152 from codefresh-io/CR-28173-argo-cd-helm-8x
chore: update upstream argo-cd 3.0.2 and bump helm chart to 8.0.6
2 parents 42e3a62 + 17844e0 commit 7f3024c

File tree

24 files changed

+741
-47
lines changed

24 files changed

+741
-47
lines changed

.github/workflows/lint-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
version: v3.10.1 # Also update in publish.yaml
3333

3434
- name: Set up python
35-
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
35+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
3636
with:
3737
python-version: 3.9
3838

.github/workflows/renovate.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: Get token
19-
uses: actions/create-github-app-token@3ff1caaa28b64c9cc276ce0a02e2ff584f3900c5 # v2.0.2
19+
uses: actions/create-github-app-token@df432ceedc7162793a195dd1713ff69aefc7379e # v2.0.6
2020
id: get_token
2121
with:
2222
app-id: ${{ vars.RENOVATE_APP_ID }}
@@ -26,11 +26,11 @@ jobs:
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727

2828
- name: Self-hosted Renovate
29-
uses: renovatebot/github-action@c21017a4a2fc9f42953bcc907e375a5a544557ec # v41.0.18
29+
uses: renovatebot/github-action@2e8e8c59e00d930224943f86f6812fbc6640f454 # v42.0.3
3030
with:
3131
configurationFile: .github/configs/renovate-config.js
3232
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
33-
renovate-version: 39.229.0
33+
renovate-version: 40.2.0
3434
token: '${{ steps.get_token.outputs.token }}'
3535
mount-docker-socket: true
3636
env:

.github/workflows/scorecard.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,6 @@ jobs:
6868

6969
# Upload the results to GitHub's code scanning dashboard.
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
71+
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
7272
with:
7373
sarif_file: results.sarif

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.14.9-2025-06-08-8821b48e
2+
appVersion: v3.0.2-2025-05-20-6e4ca196
33
kubeVersion: ">=1.25.0-0"
44
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
55
name: argo-cd
6-
version: 7.8.23-9-cap-v2.14.9-2025-06-08-8821b48e
6+
version: 8.0.6-0-cap-v3.0.2-2025-05-20-6e4ca196
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: bumped argo-cd version to v2.14.9-2025-06-08-8821b48e, bumped x/crypto to 0.35.0, bumped go to 1.23.0
30+
description: Synced argo-cd helm chart base v8.0.6 and argo-cd v3.0.2-2025-05-20-6e4ca196

charts/argo-cd/README.md

Lines changed: 51 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,42 @@ For full list of changes please check ArtifactHub [changelog].
278278

279279
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
280280

281+
### 8.0.0
282+
283+
In this release we upgrade the Helm chart to deploy the next major version of Argo CD (v3.0.0).
284+
Please carefully read at least those resources:
285+
- [v2.14 to 3.0 upgrade instructions]
286+
- [Argo CD v3.0 Release Blog Post]
287+
288+
### 7.9.0
289+
290+
Chart versions from >= 7.7.2 and < 7.9.0 are using a Redis version which is no longer using an open source version of Redis.
291+
Thus we downgraded Redis to latest available 7.2 (from 7.4) to be in-line with upstream manifests and fully honor
292+
[CNCF Allowlist License Policy].
293+
294+
**Users using redis-ha may encounter issues** which can be resolved by either deleting all redis-ha pods after the
295+
deployment/upgrade:
296+
297+
```bash
298+
kubectl delete pods -l app=redis-ha
299+
```
300+
301+
Or alternatively by temporary switching to a single redis installation, then back to HA.
302+
1. Evaluate current chart version in use
303+
```bash
304+
$ helm ls
305+
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
306+
argocd argocd 3 2025-04-29 00:07:43.099922 +0200 CEST deployed argo-cd-7.8.28 v2.14.11
307+
```
308+
2. Switch to single redis
309+
```bash
310+
helm upgrade argocd argo/argo-cd --version <your current chart version> --reuse-values --set redis-ha.enabled=false
311+
```
312+
3. Upgrade to chart version 7.9 or newer and re-enable redis HA again
313+
```bash
314+
helm upgrade argocd argo/argo-cd --version 7.9.0 --reuse-values --set redis-ha.enabled=true
315+
```
316+
281317
### 7.0.0
282318

283319
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
@@ -774,6 +810,15 @@ NOTE: Any values you put under `.Values.configs.cm` are passed to argocd-cm Conf
774810
| configs.cm."application.sync.impersonation.enabled" | bool | `false` | Enable control of the service account used for the sync operation (alpha) |
775811
| configs.cm."exec.enabled" | bool | `false` | Enable exec feature in Argo UI |
776812
| configs.cm."kustomize.setNamespace.enabled" | bool | `false` | Enable set namespace during kustomize build |
813+
| configs.cm."resource.customizations.ignoreResourceUpdates.ConfigMap" | string | See [values.yaml] | Ignore the cluster-autoscaler status |
814+
| configs.cm."resource.customizations.ignoreResourceUpdates.Endpoints" | string | See [values.yaml] | Ignores update if Endpoints is not excluded globally |
815+
| configs.cm."resource.customizations.ignoreResourceUpdates.all" | string | See [values.yaml] | Ignoring status for all resources. An update will still be sent if the status update causes the health to change. |
816+
| configs.cm."resource.customizations.ignoreResourceUpdates.apps_ReplicaSet" | string | See [values.yaml] | Ignore the common scaling annotations |
817+
| configs.cm."resource.customizations.ignoreResourceUpdates.argoproj.io_Application" | string | See [values.yaml] | Some Application fields are generated and not related to the application updates itself |
818+
| configs.cm."resource.customizations.ignoreResourceUpdates.argoproj.io_Rollout" | string | See [values.yaml] | Ignore Argo Rollouts generated fields |
819+
| configs.cm."resource.customizations.ignoreResourceUpdates.autoscaling_HorizontalPodAutoscaler" | string | See [values.yaml] | Legacy annotations used on HPA autoscaling/v1 |
820+
| configs.cm."resource.customizations.ignoreResourceUpdates.discovery.k8s.io_EndpointSlice" | string | See [values.yaml] | Ignores update if EndpointSlice is not excluded globally |
821+
| configs.cm."resource.exclusions" | string | See [values.yaml] | Resource Exclusion/Inclusion |
777822
| configs.cm."server.rbac.log.enforce.enable" | bool | `false` | Enable logs RBAC enforcement |
778823
| configs.cm."statusbadge.enabled" | bool | `false` | Enable Status Badge |
779824
| configs.cm."timeout.hard.reconciliation" | string | `"0s"` | Timeout to refresh application data as well as target manifests cache |
@@ -1306,7 +1351,7 @@ NOTE: Any values you put under `.Values.configs.cm` are passed to argocd-cm Conf
13061351
| redis.exporter.env | list | `[]` | Environment variables to pass to the Redis exporter |
13071352
| redis.exporter.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the redis-exporter |
13081353
| redis.exporter.image.repository | string | `"ghcr.io/oliver006/redis_exporter"` | Repository to use for the redis-exporter |
1309-
| redis.exporter.image.tag | string | `"v1.69.0"` | Tag to use for the redis-exporter |
1354+
| redis.exporter.image.tag | string | `"v1.72.1"` | Tag to use for the redis-exporter |
13101355
| redis.exporter.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Redis exporter |
13111356
| redis.exporter.livenessProbe.failureThreshold | int | `5` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
13121357
| redis.exporter.livenessProbe.initialDelaySeconds | int | `30` | Number of seconds after the container has started before [probe] is initiated |
@@ -1324,7 +1369,7 @@ NOTE: Any values you put under `.Values.configs.cm` are passed to argocd-cm Conf
13241369
| redis.extraContainers | list | `[]` | Additional containers to be added to the redis pod |
13251370
| redis.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Redis image pull policy |
13261371
| redis.image.repository | string | `"public.ecr.aws/docker/library/redis"` | Redis repository |
1327-
| redis.image.tag | string | `"7.4.4-alpine"` | Redis tag |
1372+
| redis.image.tag | string | `"7.4.2-alpine"` | Redis tag |
13281373
| redis.imagePullSecrets | list | `[]` (defaults to global.imagePullSecrets) | Secrets with credentials to pull images from a private registry |
13291374
| redis.initContainers | list | `[]` | Init containers to add to the redis pod |
13301375
| redis.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Redis server |
@@ -1410,7 +1455,7 @@ The main options are listed here:
14101455
| redis-ha.haproxy.tolerations | list | `[]` | [Tolerations] for use with node taints for haproxy pods. |
14111456
| redis-ha.hardAntiAffinity | bool | `true` | Whether the Redis server pods should be forced to run on separate nodes. |
14121457
| redis-ha.image.repository | string | `"public.ecr.aws/docker/library/redis"` | Redis repository |
1413-
| redis-ha.image.tag | string | `"7.4.4-alpine"` | Redis tag |
1458+
| redis-ha.image.tag | string | `"7.4.2-alpine"` | Redis tag |
14141459
| redis-ha.persistentVolume.enabled | bool | `false` | Configures persistence on Redis nodes |
14151460
| redis-ha.redis.config | object | See [values.yaml] | Any valid redis config options in this section will be applied to each server (see `redis-ha` chart) |
14161461
| redis-ha.redis.config.save | string | `'""'` | Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. `""` is disabled |
@@ -1757,3 +1802,6 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
17571802
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
17581803
[Argo CD Manifest Hydrator]: https://argo-cd.readthedocs.io/en/stable/proposals/manifest-hydrator/
17591804
[Manifest Hydrator]: https://github.com/argoproj/argo-cd/blob/master/docs/proposals/manifest-hydrator.md
1805+
[CNCF Allowlist License Policy]: https://github.com/cncf/foundation/blob/main/allowed-third-party-license-policy.md#cncf-allowlist-license-policy
1806+
[v2.14 to 3.0 upgrade instructions]: https://argo-cd.readthedocs.io/en/stable/operator-manual/upgrading/2.14-3.0/
1807+
[Argo CD v3.0 Release Blog Post]: https://blog.argoproj.io/argo-cd-v3-0-release-candidate-a0b933f4e58f

charts/argo-cd/README.md.gotmpl

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,43 @@ For full list of changes please check ArtifactHub [changelog].
278278

279279
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
280280

281+
### 8.0.0
282+
283+
In this release we upgrade the Helm chart to deploy the next major version of Argo CD (v3.0.0).
284+
Please carefully read at least those resources:
285+
- [v2.14 to 3.0 upgrade instructions]
286+
- [Argo CD v3.0 Release Blog Post]
287+
288+
### 7.9.0
289+
290+
Chart versions from >= 7.7.2 and < 7.9.0 are using a Redis version which is no longer using an open source version of Redis.
291+
Thus we downgraded Redis to latest available 7.2 (from 7.4) to be in-line with upstream manifests and fully honor
292+
[CNCF Allowlist License Policy].
293+
294+
295+
**Users using redis-ha may encounter issues** which can be resolved by either deleting all redis-ha pods after the
296+
deployment/upgrade:
297+
298+
```bash
299+
kubectl delete pods -l app=redis-ha
300+
```
301+
302+
Or alternatively by temporary switching to a single redis installation, then back to HA.
303+
1. Evaluate current chart version in use
304+
```bash
305+
$ helm ls
306+
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
307+
argocd argocd 3 2025-04-29 00:07:43.099922 +0200 CEST deployed argo-cd-7.8.28 v2.14.11
308+
```
309+
2. Switch to single redis
310+
```bash
311+
helm upgrade argocd argo/argo-cd --version <your current chart version> --reuse-values --set redis-ha.enabled=false
312+
```
313+
3. Upgrade to chart version 7.9 or newer and re-enable redis HA again
314+
```bash
315+
helm upgrade argocd argo/argo-cd --version 7.9.0 --reuse-values --set redis-ha.enabled=true
316+
```
317+
281318
### 7.0.0
282319

283320
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
@@ -863,3 +900,6 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
863900
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
864901
[Argo CD Manifest Hydrator]: https://argo-cd.readthedocs.io/en/stable/proposals/manifest-hydrator/
865902
[Manifest Hydrator]: https://github.com/argoproj/argo-cd/blob/master/docs/proposals/manifest-hydrator.md
903+
[CNCF Allowlist License Policy]: https://github.com/cncf/foundation/blob/main/allowed-third-party-license-policy.md#cncf-allowlist-license-policy
904+
[v2.14 to 3.0 upgrade instructions]: https://argo-cd.readthedocs.io/en/stable/operator-manual/upgrading/2.14-3.0/
905+
[Argo CD v3.0 Release Blog Post]: https://blog.argoproj.io/argo-cd-v3-0-release-candidate-a0b933f4e58f

charts/argo-cd/templates/_helpers.tpl

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -280,12 +280,13 @@ ipFamilies: {{ toYaml . | nindent 4 }}
280280
secretKeyRef of env variable REDIS_USERNAME
281281
*/}}
282282
{{- define "argo-cd.redisUsernameSecretRef" -}}
283-
{{- if and .Values.externalRedis.host -}}
284-
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
283+
{{- if .Values.externalRedis.host -}}
284+
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
285285
key: redis-username
286-
optional: true
286+
optional: {{ if .Values.externalRedis.username }}false{{ else }}true{{ end }}
287+
287288
{{- else -}}
288-
name: {{ include "argo-cd.redis.fullname" . }}
289+
name: "argocd-redis"
289290
key: redis-username
290291
optional: true
291292
{{- end -}}

charts/argo-cd/templates/argocd-application-controller/deployment.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,12 @@ spec:
145145
name: argocd-cmd-params-cm
146146
key: controller.log.level
147147
optional: true
148+
- name: ARGOCD_LOG_FORMAT_TIMESTAMP
149+
valueFrom:
150+
configMapKeyRef:
151+
name: argocd-cmd-params-cm
152+
key: log.format.timestamp
153+
optional: true
148154
- name: ARGOCD_APPLICATION_CONTROLLER_METRICS_CACHE_EXPIRATION
149155
valueFrom:
150156
configMapKeyRef:

charts/argo-cd/templates/argocd-application-controller/role.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ rules:
1919
- argoproj.io
2020
resources:
2121
- applications
22+
- applicationsets
2223
- appprojects
2324
verbs:
2425
- create

charts/argo-cd/templates/argocd-application-controller/statefulset.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,12 @@ spec:
144144
name: argocd-cmd-params-cm
145145
key: controller.log.level
146146
optional: true
147+
- name: ARGOCD_LOG_FORMAT_TIMESTAMP
148+
valueFrom:
149+
configMapKeyRef:
150+
name: argocd-cmd-params-cm
151+
key: log.format.timestamp
152+
optional: true
147153
- name: ARGOCD_APPLICATION_CONTROLLER_METRICS_CACHE_EXPIRATION
148154
valueFrom:
149155
configMapKeyRef:
@@ -266,6 +272,12 @@ spec:
266272
name: argocd-cmd-params-cm
267273
key: otlp.headers
268274
optional: true
275+
- name: ARGOCD_APPLICATION_CONTROLLER_OTLP_ATTRS
276+
valueFrom:
277+
configMapKeyRef:
278+
name: argocd-cmd-params-cm
279+
key: otlp.attrs
280+
optional: true
269281
- name: ARGOCD_APPLICATION_NAMESPACES
270282
valueFrom:
271283
configMapKeyRef:

0 commit comments

Comments
 (0)