Skip to content

Commit 7cc904c

Browse files
Merge tag 'argo-rollouts-2.37.3' into rollouts-upgrade-1.7.1
2 parents 92f055f + 87e6dd9 commit 7cc904c

File tree

34 files changed

+151
-35
lines changed

34 files changed

+151
-35
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@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
35+
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
3636
with:
3737
python-version: 3.9
3838

.github/workflows/renovate.yaml

Lines changed: 2 additions & 2 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@ad38cffc07bac6e3857755914c4c88bfd2db4da4 # v1.10.2
19+
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
2020
id: get_token
2121
with:
2222
app-id: ${{ vars.RENOVATE_APP_ID }}
@@ -26,7 +26,7 @@ jobs:
2626
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
2727

2828
- name: Self-hosted Renovate
29-
uses: renovatebot/github-action@21d88b0bf0183abcee15f990011cca090dfc47dd # v40.1.12
29+
uses: renovatebot/github-action@8ce0fe8066eb6b16e1bf499b21bc96e5ccd962a4 # v40.2.3
3030
with:
3131
configurationFile: .github/configs/renovate-config.js
3232
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate

.github/workflows/scorecard.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
persist-credentials: false
3939

4040
- name: "Run analysis"
41-
uses: ossf/scorecard-action@dc50aa9510b46c811795eb24b2f1ba02a914e534 # v2.3.3
41+
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif
@@ -60,14 +60,14 @@ jobs:
6060
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
6161
# format to the repository Actions tab.
6262
- name: "Upload artifact"
63-
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4.3.3
63+
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
6464
with:
6565
name: SARIF file
6666
path: results.sarif
6767
retention-days: 5
6868

6969
# Upload the results to GitHub's code scanning dashboard.
7070
- name: "Upload to code-scanning"
71-
uses: github/codeql-action/upload-sarif@b611370bb5703a7efb587f9d136a52ea24c5c38c # v3.25.11
71+
uses: github/codeql-action/upload-sarif@afb54ba388a7dca6ecae48f608c4ff05ff4cc77a # v3.25.15
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.11.3
2+
appVersion: v2.11.7
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: 7.3.3
6+
version: 7.3.11
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: make REDIS_PASSWORD environment variables optional always
30+
description: Bump argo-cd to v2.11.7

charts/argo-cd/README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,31 @@ 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+
### 7.0.0
282+
283+
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
284+
If you used the value, please migrate like below.
285+
286+
```yaml
287+
# before
288+
configs:
289+
clusterCredentials:
290+
- mycluster:
291+
server: https://mycluster.example.com
292+
labels: {}
293+
annotations: {}
294+
# ...
295+
296+
# after
297+
configs:
298+
clusterCredentials:
299+
mycluster:
300+
server: https://mycluster.example.com
301+
labels: {}
302+
annotations: {}
303+
# ...
304+
```
305+
281306
### 6.10.0
282307

283308
This version introduces authentication for Redis to mitigate GHSA-9766-5277-j5hr.

charts/argo-cd/README.md.gotmpl

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,31 @@ 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+
### 7.0.0
282+
283+
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
284+
If you used the value, please migrate like below.
285+
286+
```yaml
287+
# before
288+
configs:
289+
clusterCredentials:
290+
- mycluster:
291+
server: https://mycluster.example.com
292+
labels: {}
293+
annotations: {}
294+
# ...
295+
296+
# after
297+
configs:
298+
clusterCredentials:
299+
mycluster:
300+
server: https://mycluster.example.com
301+
labels: {}
302+
annotations: {}
303+
# ...
304+
```
305+
281306
### 6.10.0
282307

283308
This version introduces authentication for Redis to mitigate GHSA-9766-5277-j5hr.

charts/argo-cd/templates/NOTES.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
In order to access the server UI you have the following options:
22

3-
1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ .Release.Namespace }} 8080:443
3+
1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ include "argo-cd.namespace" . }} 8080:443
44

55
and then open the browser on http://localhost:8080 and accept the certificate
66

@@ -12,7 +12,7 @@ In order to access the server UI you have the following options:
1212
{{ if eq (toString (index .Values.configs.cm "admin.enabled")) "true" -}}
1313
After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:
1414

15-
kubectl -n {{ .Release.Namespace }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
15+
kubectl -n {{ include "argo-cd.namespace" . }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
1616

1717
(You should delete the initial secret afterwards as suggested by the Getting Started Guide: https://argo-cd.readthedocs.io/en/stable/getting_started/#4-login-using-the-cli)
1818
{{ else if or (index .Values.configs.cm "dex.config") (index .Values.configs.cm "oidc.config") -}}

charts/argo-cd/templates/_helpers.tpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ Create the name of the Redis secret-init service account to use
9999
*/}}
100100
{{- define "argo-cd.redisSecretInit.serviceAccountName" -}}
101101
{{- if .Values.redisSecretInit.serviceAccount.create -}}
102-
{{ default (include "argo-cd.redisSecretInit.fullname" .) .Values.redis.serviceAccount.name }}
102+
{{ default (include "argo-cd.redisSecretInit.fullname" .) .Values.redisSecretInit.serviceAccount.name }}
103103
{{- else -}}
104104
{{ default "default" .Values.redisSecretInit.serviceAccount.name }}
105105
{{- end -}}

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

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,22 @@ spec:
208208
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
209209
{{- if .Values.externalRedis.host }}
210210
key: redis-password
211-
optional: true
212211
{{- else }}
213212
key: auth
214213
{{- end }}
214+
optional: true
215+
- name: REDIS_SENTINEL_USERNAME
216+
valueFrom:
217+
secretKeyRef:
218+
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
219+
key: redis-sentinel-username
220+
optional: true
221+
- name: REDIS_SENTINEL_PASSWORD
222+
valueFrom:
223+
secretKeyRef:
224+
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
225+
key: redis-sentinel-password
226+
optional: true
215227
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
216228
valueFrom:
217229
configMapKeyRef:

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
33
kind: PrometheusRule
44
metadata:
55
name: {{ template "argo-cd.controller.fullname" . }}
6-
namespace: {{ default .Release.Namespace .Values.controller.metrics.rules.namespace | quote }}
6+
namespace: {{ default (include "argo-cd.namespace" .) .Values.controller.metrics.rules.namespace | quote }}
77
labels:
88
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
99
{{- if .Values.controller.metrics.rules.selector }}

0 commit comments

Comments
 (0)