Skip to content

Commit 4e2fccc

Browse files
Merge pull request #172 from codefresh-io/v3.6.7-sync-CR-28355-argo-workflows
chore(argo-workflows): bump argo-workflows chart to v3.6.7-cap-CR-28355
2 parents 00eae01 + 0f3a37d commit 4e2fccc

Some content is hidden

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

62 files changed

+3017
-126
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,18 +27,18 @@ jobs:
2727
fetch-depth: 0
2828

2929
- name: Set up Helm
30-
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
30+
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
3131
with:
3232
version: v3.10.1 # Also update in publish.yaml
3333

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

3939
- name: Setup Chart Linting
4040
id: lint
41-
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1
41+
uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
4242
with:
4343
# Note: Also update in scripts/lint.sh
4444
version: v3.11.0
@@ -68,7 +68,7 @@ jobs:
6868
echo -e '\033[0;32mDocumentation up to date\033[0m ✔'
6969
fi
7070
- name: Create kind cluster
71-
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
71+
uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
7272
if: steps.list-changed.outputs.changed == 'true'
7373
with:
7474
config: .github/configs/kind-config.yaml

.github/workflows/publish.yml

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
fetch-depth: 0
2222

2323
- name: Install Helm
24-
uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
24+
uses: azure/setup-helm@b9e51907a09c216f16ebe8536097933489208112 # v4.3.0
2525
with:
2626
version: v3.10.1 # Also update in lint-and-test.yaml
2727

@@ -39,11 +39,26 @@ jobs:
3939
helm package charts/argo-workflows -u -d .cr-release-packages/
4040
4141
- name: Run chart-releaser
42-
# todo: change later to v1.6.0 (also in agro-rollouts chart)
43-
# issue: https://github.com/helm/chart-releaser-action/issues/171
44-
uses: helm/chart-releaser-action@be16258da8010256c6e82849661221415f031968 # v1.5.0
42+
uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
4543
with:
4644
config: "./.github/configs/cr.yaml"
4745
skip_packaging: true
4846
env:
4947
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
48+
49+
- name: Login to GHCR
50+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
51+
with:
52+
registry: ghcr.io
53+
username: ${{ github.actor }}
54+
password: ${{ secrets.GITHUB_TOKEN }}
55+
56+
- name: Push chart to GHCR
57+
run: |
58+
shopt -s nullglob
59+
for pkg in .cr-release-packages/*.tgz; do
60+
if [ -z "${pkg:-}" ]; then
61+
break
62+
fi
63+
helm push "${pkg}" oci://ghcr.io/${{ github.repository }}
64+
done

.github/workflows/renovate.yaml

Lines changed: 4 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@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0
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,12 +26,13 @@ jobs:
2626
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2727

2828
- name: Self-hosted Renovate
29-
uses: renovatebot/github-action@936628dfbff213ab2eb95033c5e123cfcaf09ebb # v41.0.5
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.43.0
33+
renovate-version: 40.2.0
3434
token: '${{ steps.get_token.outputs.token }}'
35+
mount-docker-socket: true
3536
env:
3637
LOG_LEVEL: 'debug'
3738
RENOVATE_REPOSITORIES: '${{ github.repository }}'

.github/workflows/scorecard.yml

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

4040
- name: "Run analysis"
41-
uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
41+
uses: ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
4242
with:
4343
results_file: results.sarif
4444
results_format: sarif
4545
# (Optional) "write" PAT token. Uncomment the `repo_token` line below if:
4646
# - you want to enable the Branch-Protection check on a *public* repository, or
4747
# - you are installing Scorecard on a *private* repository
4848
# To create the PAT, follow the steps in https://github.com/ossf/scorecard-action#authentication-with-pat.
49-
repo_token: ${{ secrets.SCORECARD_TOKEN }}
49+
# repo_token: ${{ secrets.SCORECARD_TOKEN }}
5050

5151
# Public repositories:
5252
# - Publish results to OpenSSF REST API for easy access by consumers
@@ -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@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
63+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
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@f09c1c0a94de965c15400f5634aa42fac8fb8f88 # v3.27.5
71+
uses: github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
7272
with:
7373
sarif_file: results.sarif

.github/workflows/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
pull-requests: write # for actions/stale to close stale PRs
1515
runs-on: ubuntu-latest
1616
steps:
17-
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
17+
- uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
1818
with:
1919
repo-token: ${{ secrets.GITHUB_TOKEN }}
2020
# Number of days of inactivity before an issue becomes stale

charts/argo-events/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
apiVersion: v2
2-
appVersion: v1.9.3
2+
appVersion: v1.9.6
33
description: A Helm chart for Argo Events, the event-driven workflow automation framework
44
name: argo-events
5-
version: 2.4.9
5+
version: 2.4.15
66
home: https://github.com/argoproj/argo-helm
77
icon: https://avatars.githubusercontent.com/u/30269780?s=200&v=4
88
keywords:
@@ -19,4 +19,4 @@ annotations:
1919
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
2020
artifacthub.io/changes: |
2121
- kind: changed
22-
description: Bump argo-events to v1.9.3
22+
description: Bump argo-events to v1.9.6

charts/argo-events/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@ done
180180
| controller.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
181181
| controller.replicas | int | `1` | The number of events controller pods to run. |
182182
| controller.resources | object | `{}` | Resource limits and requests for the events controller pods |
183+
| controller.revisionHistoryLimit | int | `5` | The number of replicasets history to keep |
183184
| controller.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
184185
| controller.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
185186
| controller.serviceAccount.create | bool | `true` | Create a service account for the events controller |
@@ -222,6 +223,7 @@ done
222223
| webhook.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
223224
| webhook.replicas | int | `1` | The number of webhook pods to run. |
224225
| webhook.resources | object | `{}` | Resource limits and requests for the event controller pods |
226+
| webhook.revisionHistoryLimit | int | `5` | The number of replicasets history to keep |
225227
| webhook.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
226228
| webhook.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
227229
| webhook.serviceAccount.create | bool | `true` | Create a service account for the admission webhook |
@@ -234,9 +236,9 @@ done
234236
----------------------------------------------
235237
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
236238

237-
[affinity]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
238-
[Node selector]: https://kubernetes.io/docs/user-guide/node-selection/
239+
[affinity]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
240+
[Node selector]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
239241
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
240-
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
241-
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
242+
[Tolerations]: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
243+
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
242244
[values.yaml]: values.yaml

charts/argo-events/README.md.gotmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@ done
8989
----------------------------------------------
9090
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
9191

92-
[affinity]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/
93-
[Node selector]: https://kubernetes.io/docs/user-guide/node-selection/
92+
[affinity]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
93+
[Node selector]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
9494
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
95-
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
96-
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
95+
[Tolerations]: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
96+
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
9797
[values.yaml]: values.yaml

charts/argo-events/templates/argo-events-controller/deployment.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ spec:
1010
selector:
1111
matchLabels:
1212
{{- include "argo-events.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
13-
revisionHistoryLimit: 5
13+
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit }}
1414
replicas: {{ .Values.controller.replicas }}
1515
template:
1616
metadata:
@@ -108,6 +108,10 @@ spec:
108108
{{- with .Values.controller.extraContainers }}
109109
{{- toYaml . | nindent 6 }}
110110
{{- end -}}
111+
{{- with .Values.controller.initContainers }}
112+
initContainers:
113+
{{- toYaml . | nindent 8 }}
114+
{{- end }}
111115
{{- with .Values.controller.nodeSelector }}
112116
nodeSelector:
113117
{{- toYaml . | nindent 8 }}

charts/argo-events/templates/argo-events-webhook/deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ spec:
1111
selector:
1212
matchLabels:
1313
{{- include "argo-events.selectorLabels" (dict "context" . "name" .Values.webhook.name) | nindent 6 }}
14-
revisionHistoryLimit: 5
14+
revisionHistoryLimit: {{ .Values.webhook.revisionHistoryLimit }}
1515
replicas: {{ .Values.webhook.replicas }}
1616
template:
1717
metadata:

0 commit comments

Comments
 (0)