Skip to content

Commit 1cc83ef

Browse files
chore: fix helm lint for argo-cd chart
Signed-off-by: Kostis Kapelonis <[email protected]>
1 parent 28b1128 commit 1cc83ef

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+5747
-350
lines changed

charts/argo-cd/Chart.lock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
22
- name: redis-ha
33
repository: https://dandydeveloper.github.io/charts/
4-
version: 4.26.1
5-
digest: sha256:d72c308ab0eef4233e25bfc3f8fc97cf9b02a9c5d0186ea89e2f8fb332cb9c41
6-
generated: "2024-02-18T19:42:53.135599+02:00"
4+
version: 4.33.4
5+
digest: sha256:0b29877775aa5af33b15df29c9acb92e99a5b90759d3223c5dde281b978c0fe6
6+
generated: "2025-06-08T11:20:09.721359+03:00"

charts/argo-cd/Chart.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
apiVersion: v2
2-
appVersion: v2.11.7
3-
kubeVersion: ">=1.23.0-0"
2+
appVersion: v3.0.2-2025-06-24-979b8c8e
3+
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.3.11
6+
version: 8.0.6-3-cap-v3.0.2-2025-06-24-979b8c8e
77
home: https://github.com/argoproj/argo-helm
88
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
99
sources:
@@ -18,7 +18,7 @@ maintainers:
1818
url: https://argoproj.github.io/
1919
dependencies:
2020
- name: redis-ha
21-
version: 4.26.1
21+
version: 4.33.4
2222
repository: https://dandydeveloper.github.io/charts/
2323
condition: redis-ha.enabled
2424
annotations:
@@ -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: Bump argo-cd to v2.11.7
30+
description: Upgraded ubuntu base image to 25.04 and aligned git-lfs installation with upstream

charts/argo-cd/README.md

Lines changed: 211 additions & 26 deletions
Large diffs are not rendered by default.

charts/argo-cd/README.md.gotmpl

Lines changed: 69 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ server:
190190
alb.ingress.kubernetes.io/scheme: internal
191191
alb.ingress.kubernetes.io/target-type: ip
192192
alb.ingress.kubernetes.io/backend-protocol: HTTP
193-
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":80}, {"HTTPS":443}]'
193+
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}, {"HTTPS":443}]'
194194
alb.ingress.kubernetes.io/ssl-redirect: '443'
195195
aws:
196196
serviceType: ClusterIP # <- Used with target-type: ip
@@ -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`.
@@ -312,10 +349,10 @@ This version introduces authentication for Redis to mitigate GHSA-9766-5277-j5hr
312349
Upstream steps in the [FAQ] are not enough, since we chose a different approach.
313350
(We use a Kubernetes Job with [Chart Hooks] to create the auth secret `argocd-redis`.)
314351

315-
Steps to roteate the secret when using the helm chart (bold step is additional to upstream):
352+
Steps to rotate the secret when using the helm chart (bold step is additional to upstream):
316353
* Delete `argocd-redis` secret in the namespace where Argo CD is installed.
317354
```bash
318-
kubectl delete secret argocd-redis -n <argocd namesapce>
355+
kubectl delete secret argocd-redis -n <argocd namespace>
319356
```
320357
* **Perform a helm upgrade**
321358
```bash
@@ -396,7 +433,7 @@ In case the manifests are updated before moving to Argo CD v2.8, the containers
396433

397434
### 5.26.0
398435

399-
This version adds support for Config Management Plugins using the sidecar model and configured in a ConfigMap named `argocd-cmp-cm`.
436+
This version adds support for Config Management Plugins using the sidecar model and configured in a ConfigMap named `argocd-cmp-cm`.
400437
Users will need to migrate from the previous `argocd-cm` ConfigMap method to using the sidecar method before Argo CD v2.8. See the [Argo CD CMP migration guide](https://argo-cd.readthedocs.io/en/stable/operator-manual/config-management-plugins/#migrating-from-argocd-cm-plugins) for more specifics.
401438

402439
To migrate your plugins, you can now set the `configs.cmp.create` to `true` and move your plugins from `configs.cm` to `configs.cmp.plugins`.
@@ -672,13 +709,15 @@ NAME: my-release
672709
| Key | Type | Default | Description |
673710
|-----|------|---------|-------------|
674711
{{- range .Values }}
675-
{{- if not (or (hasPrefix "global" .Key) (hasPrefix "configs" .Key) (hasPrefix "controller" .Key) (hasPrefix "repoServer" .Key) (hasPrefix "server" .Key) (hasPrefix "applicationSet" .Key) (hasPrefix "notifications" .Key) (hasPrefix "dex" .Key) (hasPrefix "redis" .Key) (hasPrefix "externalRedis" .Key) ) }}
712+
{{- if not (or (hasPrefix "global" .Key) (hasPrefix "configs" .Key) (hasPrefix "controller" .Key) (hasPrefix "repoServer" .Key) (hasPrefix "server" .Key) (hasPrefix "applicationSet" .Key) (hasPrefix "notifications" .Key) (hasPrefix "dex" .Key) (hasPrefix "redis" .Key) (hasPrefix "externalRedis" .Key) (hasPrefix "commitServer" .Key) ) }}
676713
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
677714
{{- end }}
678715
{{- end }}
679716

680717
## Global Configs
681718

719+
NOTE: Any values you put under `.Values.configs.cm` are passed to argocd-cm ConfigMap.
720+
682721
| Key | Type | Default | Description |
683722
|-----|------|---------|-------------|
684723
{{- range .Values }}
@@ -813,30 +852,44 @@ If you use an External Redis (See Option 3 above), this Job is not deployed.
813852
{{- end }}
814853
{{- end }}
815854

855+
## Commit server (Manifest Hydrator)
856+
857+
The Argo CD Commit Server provides push access to git repositories for hydrated manifests.
858+
859+
To read more about this component, please read [Argo CD Manifest Hydrator] and [Manifest Hydrator].
860+
861+
| Key | Type | Default | Description |
862+
|-----|------|---------|-------------|
863+
{{- range .Values }}
864+
{{- if hasPrefix "commitServer" .Key }}
865+
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
866+
{{- end }}
867+
{{- end }}
868+
816869
----------------------------------------------
817870
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
818871

819872
[Argo CD RBAC policy]: https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/
820-
[affinity]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
821-
[BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/concepts/backendconfig#backendconfigspec_v1beta1_cloudgooglecom
873+
[affinity]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
874+
[BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#backendconfigspec_v1beta1_cloudgooglecom
822875
[CSS styles]: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
823876
[changelog]: https://artifacthub.io/packages/helm/argo/argo-cd?modal=changelog
824877
[Chart Hooks]: https://helm.sh/docs/topics/charts_hooks/
825878
[DNS configuration]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
826879
[external cluster credentials]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
827880
[FAQ]: https://argo-cd.readthedocs.io/en/stable/faq/
828-
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#configuring_ingress_features_through_frontendconfig_parameters
881+
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#configuring_ingress_features_through_frontendconfig_parameters
829882
[declarative setup]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup
830883
[gRPC-ingress]: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/
831884
[GnuPG]: https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/
832885
[HPA]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
833886
[MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
834-
[Node selector]: https://kubernetes.io/docs/user-guide/node-selection/
887+
[Node selector]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
835888
[PodDisruptionBudget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
836889
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
837890
[RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
838-
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
839-
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
891+
[Tolerations]: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
892+
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
840893
[values.yaml]: values.yaml
841894
[v2.2 to 2.3 upgrade instructions]: https://github.com/argoproj/argo-cd/blob/v2.3.0/docs/operator-manual/upgrading/2.2-2.3.md
842895
[tini]: https://github.com/argoproj/argo-cd/pull/12707
@@ -845,3 +898,8 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
845898
[Applications in any namespace]: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/#applications-in-any-namespace
846899
[Argo CD Extensions]: https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file#deprecation-notice
847900
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
901+
[Argo CD Manifest Hydrator]: https://argo-cd.readthedocs.io/en/stable/proposals/manifest-hydrator/
902+
[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/ci/codefresh.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Values file to debug templates that rely on Codefresh values
2+
global:
3+
codefresh:
4+
tls:
5+
caCerts:
6+
secret:
7+
create: false
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
11
# Test with default values
22
crds:
33
keep: false
4+
5+
redis:
6+
exporter:
7+
enabled: true
8+
9+
# needed for correct work of event reporter component
10+
extraObjects:
11+
- apiVersion: v1
12+
kind: Secret
13+
metadata:
14+
name: argocd-token
15+
type: Opaque
16+
data:
17+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
18+
- apiVersion: v1
19+
kind: Secret
20+
metadata:
21+
name: codefresh-token
22+
type: Opaque
23+
data:
24+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password

charts/argo-cd/ci/dynamic-sharding-values.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,21 @@ crds:
44

55
controller:
66
dynamicClusterDistribution: true
7+
8+
# these tests only support vanilla argo-cd
9+
# do not work for event reporter component
10+
extraObjects:
11+
- apiVersion: v1
12+
kind: Secret
13+
metadata:
14+
name: argocd-token
15+
type: Opaque
16+
data:
17+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
18+
- apiVersion: v1
19+
kind: Secret
20+
metadata:
21+
name: codefresh-token
22+
type: Opaque
23+
data:
24+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password

charts/argo-cd/ci/extension-values.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,20 @@ server:
1212
value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension.tar.gz
1313
- name: EXTENSION_CHECKSUM_URL
1414
value: https://github.com/argoproj-labs/argocd-extension-metrics/releases/download/v1.0.0/extension_checksums.txt
15+
16+
# needed for correct work of event reporter component
17+
extraObjects:
18+
- apiVersion: v1
19+
kind: Secret
20+
metadata:
21+
name: argocd-token
22+
type: Opaque
23+
data:
24+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
25+
- apiVersion: v1
26+
kind: Secret
27+
metadata:
28+
name: codefresh-token
29+
type: Opaque
30+
data:
31+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password

charts/argo-cd/ci/external-redis-values.yaml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,20 @@ redis-ha:
1010
externalRedis:
1111
host: "redis-master.redis.svc.cluster.local"
1212
password: "argocd"
13+
14+
# needed for correct work of event reporter component
15+
extraObjects:
16+
- apiVersion: v1
17+
kind: Secret
18+
metadata:
19+
name: argocd-token
20+
type: Opaque
21+
data:
22+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
23+
- apiVersion: v1
24+
kind: Secret
25+
metadata:
26+
name: codefresh-token
27+
type: Opaque
28+
data:
29+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password

charts/argo-cd/ci/ha-autoscaling-values.yaml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ crds:
44

55
redis-ha:
66
enabled: true
7+
exporter:
8+
enabled: true
79

810
server:
911
autoscaling:
@@ -14,3 +16,20 @@ repoServer:
1416
autoscaling:
1517
enabled: true
1618
minReplicas: 2
19+
20+
# needed for correct work of event reporter component
21+
extraObjects:
22+
- apiVersion: v1
23+
kind: Secret
24+
metadata:
25+
name: argocd-token
26+
type: Opaque
27+
data:
28+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password
29+
- apiVersion: v1
30+
kind: Secret
31+
metadata:
32+
name: codefresh-token
33+
type: Opaque
34+
data:
35+
token: c29tZS10ZXN0LXBhc3N3b3Jk # some-test-password

0 commit comments

Comments
 (0)