Skip to content

Commit c52c710

Browse files
authored
Merge pull request #91 from codefresh-io/CR-24929-sync-0.41.12
chore: sync `0.41.12` (contains argo-workflows `v3.5.9-cap-CR-24929`
2 parents 14cab5f + 8029790 commit c52c710

Some content is hidden

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

51 files changed

+351
-96
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/pr-title.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
name: Validate PR title
2020
runs-on: ubuntu-latest
2121
steps:
22-
- uses: amannn/action-semantic-pull-request@cfb60706e18bc85e8aec535e3c577abe8f70378e # v5.5.2
22+
- uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
2323
env:
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
with:

.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@c8f55efbd427e7465d6da1106e7979bc8aaee856 # v1.10.1
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,11 +26,11 @@ 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@76d49712364696a06b60e8647df46b288fff0ddc # v40.2.4
3030
with:
3131
configurationFile: .github/configs/renovate-config.js
3232
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
33-
renovate-version: 37.384.0
33+
renovate-version: 37.421.4
3434
token: '${{ steps.get_token.outputs.token }}'
3535
env:
3636
LOG_LEVEL: 'debug'

.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@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3.25.10
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.1.4
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: add loadBalancerClass field for Service resources
30+
description: Bump argo-cd to v2.11.7

charts/argo-cd/README.md

Lines changed: 27 additions & 3 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.
@@ -967,7 +992,7 @@ NAME: my-release
967992
| server.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
968993
| server.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
969994
| server.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
970-
| server.certificate.secretName | string | `"argocd-server-tls"` | The name of the Secret that will be automatically created and managed by this Certificate resource |
995+
| server.certificate.secretTemplateAnnotations | object | `{}` | Annotations that allow the certificate to be composed from data residing in existing Kubernetes Resources |
971996
| server.certificate.usages | list | `[]` | Usages for the certificate |
972997
| server.certificateSecret.annotations | object | `{}` | Annotations to be added to argocd-server-tls secret |
973998
| server.certificateSecret.crt | string | `""` | Certificate data |
@@ -1347,7 +1372,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
13471372

13481373
| Key | Type | Default | Description |
13491374
|-----|------|---------|-------------|
1350-
| externalRedis.existingSecret | string | `""` | The name of an existing secret with Redis credentials (must contain key `redis-password`). When it's set, the `externalRedis.password` parameter is ignored |
1375+
| externalRedis.existingSecret | string | `""` | The name of an existing secret with Redis (must contain key `redis-password`) and Sentinel credentials. When it's set, the `externalRedis.password` parameter is ignored |
13511376
| externalRedis.host | string | `""` | External Redis server host |
13521377
| externalRedis.password | string | `""` | External Redis password |
13531378
| externalRedis.port | int | `6379` | External Redis server port |
@@ -1401,7 +1426,6 @@ If you use an External Redis (See Option 3 above), this Job is not deployed.
14011426
| applicationSet.certificate.privateKey.rotationPolicy | string | `"Never"` | Rotation policy of private key when certificate is re-issued. Either: `Never` or `Always` |
14021427
| applicationSet.certificate.privateKey.size | int | `2048` | Key bit size of the private key. If algorithm is set to `Ed25519`, size is ignored. |
14031428
| applicationSet.certificate.renewBefore | string | `""` (defaults to 360h = 15d if not specified) | How long before the expiry a certificate should be renewed. |
1404-
| applicationSet.certificate.secretName | string | `"argocd-applicationset-controller-tls"` | The name of the Secret that will be automatically created and managed by this Certificate resource |
14051429
| applicationSet.containerPorts.metrics | int | `8080` | Metrics container port |
14061430
| applicationSet.containerPorts.probe | int | `8081` | Probe container port |
14071431
| applicationSet.containerPorts.webhook | int | `7000` | Webhook container port |

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:

0 commit comments

Comments
 (0)