Compare commits

...

398 commits

Author SHA1 Message Date
argoproj-renovate[bot]
52870ab907
chore(deps): update ghcr.io/dexidp/dex docker tag to v2.42.0 (#3172)
* chore(deps): update ghcr.io/dexidp/dex docker tag to v2.42.0

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>

* bump the chart

Signed-off-by: Tim Collins <tim@thecollins.team>

* helm docs

Signed-off-by: Tim Collins <tim@thecollins.team>

---------

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Signed-off-by: Tim Collins <tim@thecollins.team>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: Tim Collins <tim@thecollins.team>
2025-02-20 09:41:59 +09:00
argoproj-renovate[bot]
341406ccb2
chore(deps): update actions/create-github-app-token action to v1.11.5 (#3170) 2025-02-15 10:12:33 +00:00
Yusuke Abe
689fed54cb
chore(argo-workflows): suggest non deprecated option (#3113) 2025-02-15 04:11:16 -06:00
argoproj-renovate[bot]
3a329eae63
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.6.4 (#3168)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-02-10 08:30:15 -06:00
argoproj-renovate[bot]
ff07848068
chore(deps): update renovatebot/github-action action to v41.0.13 (#3167) 2025-02-10 07:16:36 -06:00
dependabot[bot]
56b2429f3b
chore(deps): bump github/codeql-action from 3.28.8 to 3.28.9 in the dependencies group (#3166) 2025-02-09 20:18:18 +01:00
argoproj-renovate[bot]
d40470b95d
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.6.3 (#3164)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-02-08 14:58:48 +09:00
PatrickSpies
f7b5090efb
fix(argo-cd): only create dex-servicemonitor if dex is enabled (#3159)
* fix(argo-cd): only create dex-servicemonitor of dex is enabled

Signed-off-by: Patrick Spies <patrick.spies@dm.de>

* numbers are difficult

Signed-off-by: Tim Collins <45351296+tico24@users.noreply.github.com>

---------

Signed-off-by: Patrick Spies <patrick.spies@dm.de>
Signed-off-by: Tim Collins <45351296+tico24@users.noreply.github.com>
Co-authored-by: Tim Collins <45351296+tico24@users.noreply.github.com>
2025-02-06 10:34:55 +00:00
argoproj-renovate[bot]
b732ef4689
chore(argo-cd): Update dependency argoproj/argo-cd to v2.14.2 (#3160)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-02-06 10:07:42 +00:00
Marco Maurer (-Kilchhofer)
c77cb712e0
feat(argo-cd): Update to Argo CD 2.14 (#3155)
* feat(argo-cd): Update to Argo CD 2.14

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Add more customization options to commit-server

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Bump appVersion to v2.14.1

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Add 'resources' to commit-server

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Drop commitServer.service.type

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* fix: Add ability to disable the commit-server

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Drop commitServer.replicas since there are no upstream docs

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* feat: Allow adding extraVolume and mounts

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Disable commit-server by default

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* feat: Dedicated metrics service with basic customization options

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2025-02-04 12:25:53 +01:00
argoproj-renovate[bot]
f30bcd682d
chore(deps): update actions/create-github-app-token action to v1.11.3 (#3156)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-02-04 00:43:31 -06:00
argoproj-renovate[bot]
6b1ea92acb
chore(deps): update renovatebot/github-action action to v41.0.12 (#3151)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-02-03 13:25:53 +01:00
iwin1203
ffacdd45f9
chore(argo-cd): Fix typo on README (#3153)
fix typo in argocd chart readme

Signed-off-by: Ganzidaeyong <iwin1203@naver.com>
2025-02-03 10:39:13 +01:00
dependabot[bot]
55d2330df6
chore(deps): bump the dependencies group with 2 updates (#3150) 2025-02-01 09:35:20 -06:00
argoproj-renovate[bot]
2602b7a364
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v39.153.2 (#3149) 2025-02-01 14:56:35 +09:00
argoproj-renovate[bot]
4cfcbc2e26
chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.8.0 (#3146)
* chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.8.0

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>

* chore: Sync CRDs from upstream release

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Bump minor chart version

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2025-01-31 01:54:40 +00:00
argoproj-renovate[bot]
c9e59be22f
chore(deps): update actions/create-github-app-token action to v1.11.2 (#3147)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-01-31 10:51:42 +09:00
argoproj-renovate[bot]
2a21283641
chore(argo-cd): Update dependency argoproj/argo-cd to v2.13.4 (#3145)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-01-29 23:46:59 +01:00
Tim Collins
56c5a31c9e
feat(github): Analyse past release times (#3135)
* feat(github): Analyse past release times

Signed-off-by: Tim Collins <tim@thecollins.team>

* typo

Signed-off-by: Tim Collins <tim@thecollins.team>

* add megalinter config. Fix my rubbish code to appease the linter

Signed-off-by: Tim Collins <tim@thecollins.team>

---------

Signed-off-by: Tim Collins <tim@thecollins.team>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2025-01-29 13:43:03 +00:00
atgane
2685b861d2
fix(argo-cd): Fix required cluster credentials name (#3136)
* fix required cluster credential name

Signed-off-by: atgane <hyper201286@gmail.com>

* fix

Signed-off-by: atgane <hyper201286@gmail.com>

* update changelog  & docs

Signed-off-by: atgane <hyper201286@gmail.com>

* chore: Drop unnecessary docs inside README.md and README.md.gotmpl

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: atgane <hyper201286@gmail.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2025-01-28 09:57:48 +00:00
argoproj-renovate[bot]
d75b9d35a3
chore(argo-cd): Update public.ecr.aws/bitnami/redis-exporter Docker tag to v1.67.0 (#3104)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2025-01-28 17:14:07 +09:00
argoproj-renovate[bot]
d81ca4b23b
chore(argo-cd): Update public.ecr.aws/docker/library/redis Docker tag to v7.4.2 (#3108)
* chore(argo-cd): Update public.ecr.aws/docker/library/redis Docker tag to v7.4.2

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>

* fix version

Signed-off-by: yu-croco <yu.croco@gmail.com>

Signed-off-by: Aikawa <yu.croco@gmail.com>

---------

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Signed-off-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2025-01-28 09:00:07 +01:00
Marco Maurer (-Kilchhofer)
692bd040ce
feat(github): Support redis and extension-installer in Renovate - alternative (#3143) 2025-01-28 14:51:33 +09:00
Nick Heijmink
c2f3d9967d
feat(argo-cd): Add an extra feature toggle to the argocd configmap that allows sync impersonation (#3138) 2025-01-27 16:31:51 +01:00
argoproj-renovate[bot]
eed462224d
chore(deps): update renovatebot/github-action action to v41.0.11 (#3142)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-01-27 08:57:29 +01:00
dependabot[bot]
2963628712
chore(deps): bump the dependencies group with 4 updates (#3141) 2025-01-25 18:30:41 +00:00
AvivGuiser
79ec8fdb94
feat(argocd-image-updater): Make cm and secret names configurable (#2998)
* feat: made argocd image updater cm and secret name templated

Signed-off-by: AvivGuiser <avivguiser@gmail.com>

* fix indention

Signed-off-by: AvivGuiser <avivguiser@gmail.com>

* update Chart.yaml

Signed-off-by: AvivGuiser <avivguiser@gmail.com>

* chore: Apply changes from code review

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

* chore: Reflect changes from review inside changelog

Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: AvivGuiser <avivguiser@gmail.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2025-01-25 13:31:37 +00:00
Marco Maurer (-Kilchhofer)
bf9830c670
fix(argo-cd): Address ingress regression of PR #3081 (#3137)
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2025-01-24 14:04:22 +01:00
argoproj-renovate[bot]
27ef4ecd7d
chore(deps): update renovatebot/github-action action to v41.0.10 (#3128) 2025-01-20 17:18:21 +09:00
argoproj-renovate[bot]
8ba5f22bdf
chore(deps): update renovatebot/github-action action to v41.0.9 (#3125) 2025-01-18 19:22:42 -06:00
nhershman
b0578c4001
fix(argo-cd): Adding conditionals around argocd-tls-cert-cm.yaml helm creation (#3124)
* chore(argo-events): Update dependency argoproj/argo-events to v1.9.5 (#3121)

Signed-off-by: nhershman <nhersh95@gmail.com>

* chore(deps): bump the dependencies group with 2 updates (#3122)

Signed-off-by: nhershman <nhersh95@gmail.com>

* adding conditional for argocd-tls-certs-cm.yaml to be created by Helm

Signed-off-by: nhershman <nhersh95@gmail.com>

* adding changelog

Signed-off-by: nhershman <nhersh95@gmail.com>

---------

Signed-off-by: nhershman <nhersh95@gmail.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Nicole Hershman <nhersh923@gmail.com>
2025-01-14 10:17:29 +00:00
dependabot[bot]
191e7688ab
chore(deps): bump the dependencies group with 2 updates (#3122) 2025-01-11 10:24:22 +00:00
argoproj-renovate[bot]
b10de03026
chore(argo-events): Update dependency argoproj/argo-events to v1.9.5 (#3121) 2025-01-11 04:22:29 -06:00
Cristhian Roa
23b484de9c
feat(argo-workflows): Support workflowEvent configuration to Argo Workflow Controller (#3115)
Support workflowEvent configuration to Argo Workflow Controller

Signed-off-by: Cristhian Roa <cristhian.roa@constellr.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2025-01-10 10:23:36 +00:00
Aikawa
6c5e25c743
fix(argo-cd): Correct ingress listen-ports example on README (#3120) 2025-01-10 08:17:52 +01:00
argoproj-renovate[bot]
d963962c56
chore(argo-events): Update dependency argoproj/argo-events to v1.9.4 (#3112)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-01-08 17:36:39 +09:00
gyajangi1
9946d3dfee
feat(argo-cd): Add DRY support for Ingress (#3081)
* Updated tpl function

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* Update ingress.yaml

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* reverted changes

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* Updated ingress.yaml

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* Update charts/argo-cd/templates/argocd-server/ingress.yaml

Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* Update charts/argo-cd/templates/argocd-server/ingress.yaml

Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* update changelog for tpl function in ingress

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* update changelog for tpl function in ingress

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* Update chart version 7.7.14

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* Update charts/argo-cd/Chart.yaml

Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>

* fix: Drop trailing spaces

Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: gyajangi1 <Sandeep.Gyajangi@ge.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2025-01-07 13:02:31 +01:00
argoproj-renovate[bot]
796f6c8dc3
chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.15.2 (#3109)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-01-07 08:04:10 +01:00
argoproj-renovate[bot]
3b2d2767d9
chore(deps): update renovatebot/github-action action to v41.0.8 (#3107)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2025-01-06 16:29:18 +09:00
Aikawa
89f40fd001
chore(github): Support redis-exporter to Renovate (#3105) 2025-01-05 04:56:16 +00:00
Aikawa
b594e6bd20
fix(argo-events): Support initContainers to controller (#3098)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2025-01-04 23:02:01 +09:00
Takumi Sue
02db043ff1
chore(github): add includePath to renovate.json (#3072) 2025-01-04 03:07:48 -06:00
argoproj-renovate[bot]
a0831126cc
chore(argo-cd): Update dependency argoproj/argo-cd to v2.13.3 (#3103) 2025-01-04 09:07:39 +09:00
Bart Versteeg
844afb6611
feat(argo-workflows): Support ephemeral credentials for s3 (#3101)
feat(argo-workflows) Support ephemeral credentials for s3

Signed-off-by: Bart Versteeg <8367621+bmjhversteeg@users.noreply.github.com>
2025-01-03 15:15:59 +00:00
AviorSchreiber
91ad82947c
feat(argo-rollouts): Add lifecyle and terminationGracePeriodSeconds settings for controller (#3100)
* feat(argo-rollouts): Add lifecyle and terminationGracePeriodSeconds settings for controller

Signed-off-by: AviorSchreiber <80765239+AviorSchreiber@users.noreply.github.com>

* Update charts/argo-rollouts/templates/controller/deployment.yaml

Co-authored-by: Aikawa <yu.croco@gmail.com>
Signed-off-by: AviorSchreiber <80765239+AviorSchreiber@users.noreply.github.com>

* Update charts/argo-rollouts/templates/controller/deployment.yaml

Co-authored-by: JM (Jason Meridth) <jmeridth@gmail.com>
Signed-off-by: AviorSchreiber <80765239+AviorSchreiber@users.noreply.github.com>

---------

Signed-off-by: AviorSchreiber <80765239+AviorSchreiber@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: JM (Jason Meridth) <jmeridth@gmail.com>
2025-01-03 23:07:27 +09:00
Aikawa
2436051d5c
docs(argo-cd): Correct outdated URL for doc (#3097) 2025-01-02 06:18:00 +00:00
argoproj-renovate[bot]
279930e133
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v39.86.4 (#3099) 2025-01-01 15:17:29 +09:00
Aikawa
9bd03f64b2
docs(argo-events): Correct outdated URL for doc (#3096) 2024-12-31 12:17:39 +00:00
Aikawa
0877c58e19
fix(argo-rollouts): Correct outdated URL for ingress (#3093) 2024-12-30 11:19:17 -06:00
dependabot[bot]
74376f6cab
chore(deps): bump helm/kind-action from 1.11.0 to 1.12.0 in the dependencies group (#3091) 2024-12-28 11:52:27 -06:00
argoproj-renovate[bot]
ef90ecc844
chore(deps): update renovatebot/github-action action to v41.0.7 (#3087) 2024-12-23 14:47:18 +09:00
Davor Gajic
ca63415d8a
fix(argo-cd): add functionality to en/disable argocd-ssh-known-hosts-cm (#3083)
Signed-off-by: Davor Gajic <davor@nine.ch>
Co-authored-by: Davor Gajic <davor@nine.ch>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-12-21 12:05:37 +00:00
dependabot[bot]
06af22458f
chore(deps): bump the dependencies group with 3 updates (#3086) 2024-12-21 05:13:42 -06:00
argoproj-renovate[bot]
46b76061b5
chore(deps): update actions/create-github-app-token action to v1.11.1 (#3085) 2024-12-21 08:52:31 +09:00
Kazuma Inamura
f9856eb583
fix(argo-workflows): a link in values.yaml for Kubernetes Ingress docs (#3079)
Signed-off-by: inamuu <8310973+inamuu@users.noreply.github.com>
2024-12-16 15:31:09 -06:00
dependabot[bot]
c6e5aba590
chore(deps): bump github/codeql-action from 3.27.6 to 3.27.9 in the dependencies group (#3078) 2024-12-14 12:35:51 -06:00
Frederic M
21d9d3e18a
fix(argocd-image-updater): update RBAC namespaced role (#3073)
Signed-off-by: Frederic Mereu <frederic.mereu@gaming1.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-12-13 11:27:26 +00:00
argoproj-renovate[bot]
5e8ac12acd
chore(argo-cd): Update dependency argoproj/argo-cd to v2.13.2 (#3076) 2024-12-12 05:33:06 +00:00
Symeon Meichanetzoglou
e72297ca73
fix(argo-cd): Fix repo-server honorLabels config template (#3075)
* FIX: move honorLabels config out of  condition

Signed-off-by: symaras <simosmeih@gmail.com>

* update changelog

Signed-off-by: symaras <simosmeih@gmail.com>

* bump chart version

Signed-off-by: symaras <simosmeih@gmail.com>

* adjust changelog

Signed-off-by: symaras <simosmeih@gmail.com>

---------

Signed-off-by: symaras <simosmeih@gmail.com>
2024-12-11 15:36:09 +00:00
argoproj-renovate[bot]
eb53a916b8
chore(deps): update renovatebot/github-action action to v41.0.6 (#3071)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-12-09 08:36:00 -06:00
Takumi Sue
cf8b6950f1
feat(argo-cd): Bump argocd-extension-installer to 0.0.8 (#3070)
Bump argocd-extension-installer to 0.0.8

Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>
2024-12-09 09:17:14 +00:00
dependabot[bot]
9bf8f97811
chore(deps): bump github/codeql-action from 3.27.5 to 3.27.6 in the dependencies group (#3069) 2024-12-07 04:13:07 -06:00
argoproj-renovate[bot]
168bc63bd6
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.6.1 (#3064)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-12-02 09:39:27 -08:00
Garry O'Donnell
0195a3581e
feat(argo-cd): Template server ingress extraTls arguments (#3056)
Signed-off-by: Garry O'Donnell <garry.o'donnell@diamond.ac.uk>
2024-12-02 14:19:44 +00:00
argoproj-renovate[bot]
3767e5b8ae
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v39 (#3063)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-12-02 10:17:06 +00:00
argoproj-renovate[bot]
344fcae2a1
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v38.142.7 (#3062) 2024-12-01 10:12:10 +01:00
dependabot[bot]
b1333d8491
chore(deps): bump renovatebot/github-action from 41.0.4 to 41.0.5 in the dependencies group (#3061)
chore(deps): bump renovatebot/github-action in the dependencies group

Bumps the dependencies group with 1 update: [renovatebot/github-action](https://github.com/renovatebot/github-action).


Updates `renovatebot/github-action` from 41.0.4 to 41.0.5
- [Release notes](https://github.com/renovatebot/github-action/releases)
- [Changelog](https://github.com/renovatebot/github-action/blob/main/CHANGELOG.md)
- [Commits](757597d1bb...936628dfbf)

---
updated-dependencies:
- dependency-name: renovatebot/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-30 19:54:13 +09:00
Bhavin Kotak
07c5b5df98
fix(argo-cd): Fix REDIS_PASSWORD optional flag (#3058)
* fix(argo-cd): Fix REDIS_PASSWORD optional flag

Signed-off-by: Bhavin Kotak <kotak.bhavin@gmail.com>

* update charge version

Signed-off-by: Bhavin Kotak <kotak.bhavin@gmail.com>

---------

Signed-off-by: Bhavin Kotak <kotak.bhavin@gmail.com>
2024-11-28 09:41:56 +09:00
Aikawa
d0b5926c0b
feat(argo-events): Upgrade Argo Events to v1.9.3 (#3055) 2024-11-27 14:43:45 -06:00
argoproj-renovate[bot]
3e1b02da23
chore(deps): update renovatebot/github-action action to v41.0.4 (#3051)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-11-25 19:53:13 +09:00
dependabot[bot]
4909b42870
chore(deps): bump github/codeql-action from 3.27.4 to 3.27.5 in the dependencies group (#3050) 2024-11-23 05:57:50 -06:00
Tim Collins
90eef9ef1f
fix(argo-workflows): Make Argo Agent and Artifact GC permissions optional for workflows SA (#3048) 2024-11-22 09:19:46 -06:00
Scott Melhop
e888b374c9
fix(argo-workflows): Updated chart to reflect change to ARGO_BASE_HREF env (#3049)
* Updated chart to reflect change to ARGO_BASE_HREF env

Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>

* Update changelog

Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>

* remove ide formatting

Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>

---------

Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>
2024-11-22 20:40:29 +09:00
Robert Macaulay
ccfa0651cb
fix(argo-rollouts): Change type of trafficRouterPlugins and trafficRouterPlugins as list (#3036) 2024-11-21 13:02:51 +00:00
Aikawa
8a1d39610c
fix(argo-cd): Update application CRD (#3047) 2024-11-21 06:36:55 -06:00
Tim Collins
81dc44c4a5
fix(argo-workflows): Remove excessive wf controller RBAC permissions (#3044)
Signed-off-by: Tim Collins <tim@thecollins.team>
2024-11-21 08:58:52 +00:00
Aikawa
7e397f75f3
chore(argo-workflows): Upgrade Argo Workflows to v3.6.0 (#3037)
* chore(argo-workflows): Upgrade Argo Workflows to v3.6.0

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix: clean up cache to pass CI

Signed-off-by: yu-croco <yu.croco@gmail.com>

* test: rm cache clear. Try latest version of ct test

Signed-off-by: Tim Collins <tim@thecollins.team>

* just trying all the things. sorry

Signed-off-by: Tim Collins <tim@thecollins.team>

* add debug output

Signed-off-by: Tim Collins <tim@thecollins.team>

* additional debug

Signed-off-by: Tim Collins <tim@thecollins.team>

* MOAR debug

Signed-off-by: Tim Collins <tim@thecollins.team>

* typo

Signed-off-by: Tim Collins <tim@thecollins.team>

* specifically find files

Signed-off-by: Tim Collins <tim@thecollins.team>

* use minimal crds

Signed-off-by: Tim Collins <tim@thecollins.team>

* rm debug step

Signed-off-by: Tim Collins <tim@thecollins.team>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
Signed-off-by: Tim Collins <tim@thecollins.team>
Co-authored-by: Tim Collins <tim@thecollins.team>
Co-authored-by: Tim Collins <45351296+tico24@users.noreply.github.com>
2024-11-21 08:27:05 +00:00
argoproj-renovate[bot]
5ab558e917
chore(argo-cd): Update dependency argoproj/argo-cd to v2.13.1 (#3043)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-11-20 14:47:50 -06:00
argoproj-renovate[bot]
37b52a5693
chore(deps): update renovatebot/github-action action to v41.0.3 (#3040) 2024-11-16 21:36:19 -08:00
dependabot[bot]
84329170e0
chore(deps): bump github/codeql-action from 3.27.1 to 3.27.4 in the dependencies group (#3039) 2024-11-16 09:28:29 -07:00
Emmanuel Ferdman
5869c1d2bb
docs(argo-rollouts): update security policy for Argo Rollouts in SECURITY.md (#3034)
docs(SECURITY.md): update security policy for Argo Rollouts

Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>
2024-11-15 10:04:53 +01:00
Aikawa
936101865d
chore(argo-cd): Upgrade redis-ha (#3026)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-11-13 10:57:10 +00:00
Frans Guelinckx
7a8cdf0843
chore(argo-cd): Update Redis image to 7.4.1 (#3023) 2024-11-12 09:28:33 -07:00
Etienne Divet
0061e14563
feat(argo-cd): Add honorLabels config for ServiceMonitor resources (#3018)
add honorLabels config for ServiceMonitor resources

Signed-off-by: DIVET Etienne <etienne.divet@enedis.fr>
Co-authored-by: DIVET Etienne <etienne.divet@enedis.fr>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-11-10 10:42:00 +09:00
dependabot[bot]
0f79d5af86
chore(deps): bump github/codeql-action from 3.27.0 to 3.27.1 in the dependencies group (#3020) 2024-11-09 23:38:59 +01:00
argoproj-renovate[bot]
2aea9e4cab
chore(deps): update renovatebot/github-action action to v41 (#3017)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-11-09 18:39:46 +09:00
argoproj-renovate[bot]
c19cba01f8
chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.15.1 (#3019)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-11-08 21:43:53 -06:00
argoproj-renovate[bot]
09b5c1a754
chore(deps): update renovatebot/github-action action to v40.3.6 (#3016) 2024-11-08 15:28:58 +01:00
Robert Macaulay
1c95f37c68
fix(argo-rollouts): plugin block rendering was incorrect (#3014)
* Fix the plugin block rendering

Signed-off-by: Robert Macaulay <robert.macaulay@gmail.com>

* fixed chart.yaml

Signed-off-by: Robert Macaulay <robert.macaulay@gmail.com>

* Update charts/argo-rollouts/Chart.yaml

Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Signed-off-by: Robert Macaulay <robert.macaulay@gmail.com>

---------

Signed-off-by: Robert Macaulay <robert.macaulay@gmail.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-11-08 08:17:27 +09:00
Marco Maurer (-Kilchhofer)
69f3eddca8
feat(argo-cd): Update to Argo CD 2.13 (#2999) 2024-11-05 08:59:47 +09:00
argoproj-renovate[bot]
baef862c36
chore(deps): update renovatebot/github-action action to v40.3.5 (#3008) 2024-11-04 16:30:47 +09:00
Aikawa
5a57de40a8
feat(argo-workflows): Support lifecycle and terminationGracePeriodSeconds for server (#2997)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-11-01 16:23:44 -07:00
argoproj-renovate[bot]
ec2f23a304
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v38.141.1 (#3005) 2024-11-01 00:13:52 -05:00
argoproj-renovate[bot]
d17587e347
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.12 (#3002)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-10-30 22:24:35 +09:00
argoproj-renovate[bot]
d5438bf6b3
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v38.135.2 (#3001) 2024-10-30 06:55:05 -05:00
Aikawa
ba2b049399
feat(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.15.0 (#2992)
* chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.15.0

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>

* feat(argocd-image-updater): update as following upstream

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argocd-image-updater): add permission when createClusterRoles is false

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-10-30 10:40:18 +00:00
dependabot[bot]
909ece4d59
chore(deps): bump the dependencies group with 4 updates (#2995) 2024-10-26 05:11:41 -05:00
argoproj-renovate[bot]
85121e8451
chore(deps): update actions/checkout action to v4.2.2 (#2990)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-10-23 12:32:29 -05:00
dependabot[bot]
0d2e23fe5d
chore(deps): bump github/codeql-action from 3.26.12 to 3.26.13 in the dependencies group (#2985) 2024-10-19 07:57:50 -05:00
argoproj-renovate[bot]
b311cd20f0
chore(argo-cd): Update dependency argoproj/argo-cd to v2.12.6 (#2984)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-10-18 20:27:03 +01:00
argoproj-renovate[bot]
168350f803
chore(argo-cd): Update dependency argoproj/argo-cd to v2.12.5 (#2983)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-10-18 08:16:15 +01:00
Adrian Gaciąg
f0c5ccc32a
fix(argo-cd): fixed shard value in clusterCredentials Secret (#2982)
Signed-off-by: Adrian Gaciąg <9296199+adisong@users.noreply.github.com>
2024-10-16 21:00:22 +09:00
argoproj-renovate[bot]
3c24fa1bfd
chore(deps): update renovatebot/github-action action to v40.3.4 (#2981) 2024-10-16 07:40:33 +02:00
Josh Soref
3ba89c1add
fix(argo-cd): add missing event permissions for run actions (#2980)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2024-10-15 21:15:51 +01:00
dependabot[bot]
3ec746187b
chore(deps): bump the dependencies group with 3 updates (#2977) 2024-10-12 19:02:37 +09:00
argoproj-renovate[bot]
cad02d827a
chore(deps): update renovatebot/github-action action to v40.3.3 (#2976)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-10-12 13:20:12 +09:00
argoproj-renovate[bot]
f6556f6ef0
chore(deps): update renovatebot/github-action action to v40.3.2 (#2971) 2024-10-09 20:50:15 -05:00
argoproj-renovate[bot]
566e009934
chore(deps): update actions/checkout action to v4.2.1 (#2969) 2024-10-07 21:04:37 +02:00
dependabot[bot]
7a831569e9
chore(deps): bump github/codeql-action from 3.26.9 to 3.26.11 in the dependencies group (#2966) 2024-10-06 10:19:07 +02:00
killianmuldoon
bbb38b310d
feat(argo-cd): Add affinity to redisSecretInit Job (#2962)
feat: Add affinity to redisSecretInit Job

Signed-off-by: killianmuldoon <kmuldoon@nvidia.com>
2024-10-03 22:53:05 +09:00
Aikawa
d61432be3c
fix(argo-workflows): Avoid to create ClusterRole for cluster template when singleNamespace (#2955) 2024-10-02 09:46:40 +09:00
Maneesh Singh
994838a2ef
feat(argocd-apps): finalizers for applicationset (#2952) 2024-10-01 08:03:26 +02:00
argoproj-renovate[bot]
c38d299f01
chore(deps): update renovatebot/github-action action to v40.3.1 (#2950)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-30 22:03:14 +02:00
Aikawa
687bedb946
fix(argo-cd): Arrange for ApplicationSet in any namespace (#2945) 2024-10-01 03:24:31 +09:00
charlychiu
32a3541b7f
chore(argo-cd): Add Proxy Extensions config (#2944)
* chore(argo-cd): Add Proxy Extensions config

Signed-off-by: charlychiu <charlychiu@gmail.com>

* chore(argo-cd): Update docs

Signed-off-by: charlychiu <charlychiu@gmail.com>

---------

Signed-off-by: charlychiu <charlychiu@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-09-30 21:24:51 +09:00
argoproj-renovate[bot]
6b3f648f39
chore(deps): update renovatebot/github-action action to v40.3.0 (#2947)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-30 20:23:55 +09:00
argoproj-renovate[bot]
c8948d2096
chore(deps): update renovatebot/github-action action to v40.2.11 (#2946)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-30 12:59:02 +02:00
dependabot[bot]
ebb2d15f1e
chore(deps): bump the dependencies group with 2 updates (#2943) 2024-09-28 07:05:21 -05:00
KrisF-Midnight
388c5aea66
feat(argo-workflows): add configurable scrape interval for metrics and telemetry (#2942)
feat: add configurable scrape interval for metrics and telemetry

Signed-off-by: KrisF-Midnight <krisztian.feher@iohk.io>
2024-09-27 18:56:55 +09:00
argoproj-renovate[bot]
e94dc2ea10
chore(argo-cd): Update dependency argoproj/argo-cd to v2.12.4 (#2940)
Signed-off-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-26 16:37:59 +09:00
Marco Maurer (-Kilchhofer)
d0341cc441
chore(github): Use correct email of the Renovate bot (#2938)
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-09-26 08:17:08 +09:00
DoumLaberge
4b651b3474
fix(argo-cd): Align imagePullSecrets for redis-secret-init Job (#2928)
* issue-2848
Correction of the imagepullsecret for redis

* issue-2848
Bump  chart version to 7.5.3

* chore: Add changelog entry

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: dlaberge <dominique.laberge@uquebec.ca>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2024-09-25 23:04:50 +01:00
argoproj-renovate[bot]
1773b67d65
chore(deps): update actions/checkout action to v4.2.0 (#2937)
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-25 23:31:02 +02:00
l2h
0afd9e66bf
feat(argo-cd): add multi-namespace support for ApplicationSet controller RBAC (#2935)
* feat(argo-cd): support multiple namespaces in applicationsetcontroller

Signed-off-by: leehosu <hosu4549@gmail.com>

* fetch upstream

Signed-off-by: leehosu <hosu4549@gmail.com>

* update README

Signed-off-by: leehosu <hosu4549@gmail.com>

* change a values about namespace

Signed-off-by: leehosu <hosu4549@gmail.com>

---------

Signed-off-by: leehosu <hosu4549@gmail.com>
2024-09-25 16:17:55 +01:00
Jonny Langefeld
edd04f6ec8
fix(argo-cd): Remove namespace from cluster scope resource (#2833)
* Remove namespace from cluster scope resource

A few resources I noticed had the namespace set for cluster scoped resources.

Signed-off-by: Jonny Langefeld <jonny.langefeld@snowflake.com>

* Update clusterrole.yaml

Signed-off-by: Jonny Langefeld <jonny.langefeld@snowflake.com>

* chore: Apply changes from code review

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Jonny Langefeld <jonny.langefeld@snowflake.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-09-23 19:27:10 +02:00
dependabot[bot]
b50a0731e7
chore(deps): bump github/codeql-action from 3.26.7 to 3.26.8 in the dependencies group (#2933) 2024-09-21 19:35:15 +09:00
argoproj-renovate[bot]
fd70c609bd
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.11 (#2932)
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-20 16:08:21 +01:00
Tim Collins
c5e6458cd6
fix(argo-cd): Remove unwanted newline on redis-init-secret job's imagepullsecrets (#2931) 2024-09-20 20:23:53 +09:00
d3adb5
133e70a9ea
feat(argo-cd): allow setting runtime class name (#2930)
Allow chart users to set a runtime class name for all Argo CD
components.

Signed-off-by: d3adb5 <me@d3adb5.net>
2024-09-20 08:59:01 +01:00
Neile Havens
8adc2939a2
fix(argo-events): Fix events-webhook Service using non-default port (#2929)
Resolves #2926

Signed-off-by: Neile Havens <neilehavens@gmail.com>
2024-09-20 09:09:54 +09:00
argoproj-renovate[bot]
8096751c17
chore(deps): update renovatebot/github-action action to v40.2.10 (#2925) 2024-09-17 06:04:30 -05:00
Mykola Stasiuk
2e05c8b57b
docs(argo-rollouts): add more description for notification secret creation (#2922)
* docs(argo-rollouts): add more description for secret creation

Signed-off-by: st-myk <93274808+st-myk@users.noreply.github.com>

* docs(argo-rollouts): bump chart version

Signed-off-by: st-myk <93274808+st-myk@users.noreply.github.com>

* docs(argo-rollouts): fix lint

Signed-off-by: st-myk <93274808+st-myk@users.noreply.github.com>

* docs(argo-rollouts): change reference to controller

Signed-off-by: st-myk <93274808+st-myk@users.noreply.github.com>

* docs(argo-rollouts): fix readme

Signed-off-by: Mykola Stasiuk <93274808+st-myk@users.noreply.github.com>

---------

Signed-off-by: st-myk <93274808+st-myk@users.noreply.github.com>
Signed-off-by: Mykola Stasiuk <93274808+st-myk@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-09-16 14:37:59 +01:00
argoproj-renovate[bot]
b33b3dbd30
chore(deps): update renovatebot/github-action action to v40.2.9 (#2924)
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-16 19:02:55 +09:00
dependabot[bot]
97acfc9360
chore(deps): bump github/codeql-action from 3.26.6 to 3.26.7 in the dependencies group (#2921) 2024-09-14 07:50:42 -05:00
venegator
e718e46651
feat(argo-workflows): Add honorLabels parameter to Argo Workflows ServiceMonitor (#2920)
* Update workflow-controller-servicemonitor.yaml

Signed-off-by: venegator <m.venega94@gmail.com>

* Update values.yaml

Signed-off-by: venegator <m.venega94@gmail.com>

* Update Chart.yaml

Signed-off-by: venegator <m.venega94@gmail.com>

* Update README.md

Signed-off-by: venegator <m.venega94@gmail.com>

* Update charts/argo-workflows/Chart.yaml

Co-authored-by: kiblik <5609770+kiblik@users.noreply.github.com>
Signed-off-by: venegator <m.venega94@gmail.com>

* Update workflow-controller-servicemonitor.yaml

Signed-off-by: venegator <m.venega94@gmail.com>

---------

Signed-off-by: venegator <m.venega94@gmail.com>
Co-authored-by: kiblik <5609770+kiblik@users.noreply.github.com>
2024-09-13 23:01:59 +09:00
argoproj-renovate[bot]
7c8bbd62e8
chore(deps): update actions/create-github-app-token action to v1.11.0 (#2918)
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-09-12 10:57:30 +09:00
Zoltán Reegn
a344d64fbd
fix(argocd-apps): don't render empty app description (#2911)
* fix(argocd-apps): don't render empty app description

Signed-off-by: Zoltán Reegn <zoltan.reegn@gmail.com>

* chore: Apply suggestions from code review

Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Zoltán Reegn <zoltan.reegn@gmail.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-09-11 06:55:38 +09:00
argoproj-renovate[bot]
687392688f
chore(deps): update renovatebot/github-action action to v40.2.8 (#2912) 2024-09-09 07:35:42 -05:00
argoproj-renovate[bot]
a5dc0350b9
chore(deps): update actions/create-github-app-token action to v1.10.4 (#2910) 2024-09-04 00:55:57 -05:00
eddyfussel
3a1066cb5a
fix(argo-cd): Fix certificate template secretTemplateAnnotations null (#2909)
Signed-off-by: eddyfussel <28265760+eddyfussel@users.noreply.github.com>
2024-09-02 16:33:07 +01:00
Aikawa
d144195ff4
chore(argo-cd): Fix typo on README (#2907)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-09-02 09:58:56 +01:00
Gazal
e709ba3b5a
feat(argo-workflows): add loadBalancerClass field for Service resources (#2771) 2024-09-01 10:05:42 -05:00
argoproj-renovate[bot]
2b25efdb32
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v38.59.2 (#2906) 2024-08-31 21:39:56 -05:00
dependabot[bot]
cd8245716a
chore(deps): bump the dependencies group with 4 updates (#2905)
Bumps the dependencies group with 4 updates: [actions/setup-python](https://github.com/actions/setup-python), [pascalgn/size-label-action](https://github.com/pascalgn/size-label-action), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [github/codeql-action](https://github.com/github/codeql-action).


Updates `actions/setup-python` from 5.1.1 to 5.2.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](39cd14951b...f677139bbe)

Updates `pascalgn/size-label-action` from 0.5.2 to 0.5.4
- [Release notes](https://github.com/pascalgn/size-label-action/releases)
- [Commits](bbbaa0d5cc...be08a2d5f8)

Updates `actions/upload-artifact` from 4.3.6 to 4.4.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](834a144ee9...50769540e7)

Updates `github/codeql-action` from 3.26.5 to 3.26.6
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](2c779ab0d0...4dd16135b6)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: pascalgn/size-label-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: dependencies
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-08-31 20:06:33 +09:00
Gazal
2df52cba0e
feat(argo-rollouts): add loadBalancerClass field for Service resource (#2772)
Most users of ArgoCD may use `Ingress` (and soon `HTTPRoute`), but for those who may want to use `Service` of type `LoadBalancer`, this would be useful.
The `loadBalancerClass` field would allow for a `CloudProvider` agnostic way of offloading the reconciliation for Kubernetes Service resources of type `LoadBalancer` to an external controller.

Signed-off-by: Gazal Gafoor <gazal.gafoor@rea-group.com>
Signed-off-by: Gazal <gazal.gafoor@rea-group.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-08-31 11:12:52 +01:00
Andreas Kappler
777f5410c5
chore(argo-cd): bump redis-ha (#2900)
Signed-off-by: a-hat <github@andreaskappler.de>
2024-08-28 16:27:07 +01:00
argoproj-renovate[bot]
466dd69355
chore(argo-cd): Update dependency argoproj/argo-cd to v2.12.3 (#2897)
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-08-27 14:30:18 +01:00
Yuki Kitakata
66615c347a
chore(argo-cd): Support string type of "true" for statusbadge.enabled (#2895)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-08-27 09:48:42 +01:00
argoproj-renovate[bot]
991579f324
chore(deps): update renovatebot/github-action action to v40.2.7 (#2896) 2024-08-25 23:29:05 -05:00
dependabot[bot]
0c27d8d946
chore(deps): bump github/codeql-action from 3.26.2 to 3.26.5 in the dependencies group (#2894) 2024-08-24 17:15:27 -05:00
argoproj-renovate[bot]
e49123cdf4
chore(argo-cd): Update dependency argoproj/argo-cd to v2.12.2 (#2893)
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-08-23 09:51:01 +01:00
Brian Dunnigan
8c0b686895
feat(argo-workflows): Added support for setting annotations on argo workflows controller configmap (#2889) 2024-08-20 20:07:05 +01:00
dependabot[bot]
d1f5d50dcd
chore(deps): bump github/codeql-action from 3.26.0 to 3.26.2 in the dependencies group (#2886)
chore(deps): bump github/codeql-action in the dependencies group

Bumps the dependencies group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3.26.0 to 3.26.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](eb055d739a...429e197704)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-17 13:14:54 +02:00
Petr Drastil
243dc286a7
chore(argo-cd): Update dependency argoproj/argo-cd to v2.12.1 (#2885)
* chore(argo-cd): Update dependency argoproj/argo-cd to v2.12.1

* Add missing permissions

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

---------

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-08-16 22:36:35 +01:00
argoproj-renovate[bot]
51e1e5b735
chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.7.2 (#2880) 2024-08-14 17:31:12 +09:00
argoproj-renovate[bot]
f4101a7947
chore(deps): update renovatebot/github-action action to v40.2.6 (#2876) 2024-08-12 11:03:09 -05:00
1102
96320b6486
feat(argo-cd): Update Notification Liveness/Readiness Probes (#2872) 2024-08-12 17:28:21 +02:00
Aikawa
4f4fb956d3
fix(argo-rollouts): Align permissions for controller's ClusterRole / Role (#2830)
* fix(argo-rollouts): Align permissions for controller's ClusterRole / Role

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-rollouts): correct typo

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-08-12 10:58:01 +02:00
dependabot[bot]
a7e5915b21
chore(deps): bump the dependencies group with 2 updates (#2871) 2024-08-10 12:43:15 +02:00
Aikawa
817182bdb0
fix(argo-cd): Fix Redis race condition due to optional REDIS_PASSWORD (#2839)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-08-08 16:02:08 +01:00
Johannes Kleinlercher
2251079c26
fix(argo-cd): Set TTL on redis-secret-init Job (#2861)
* feat: set ttlsecondsafterfinished to prevent stuck during sync when managed by argocd

Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>

* fix: increased version and added changelig

Signed-off-by: Johannes Kleinlercher <johannes.kleinlercher@suxess-it.com>

* chore: Apply suggestions from code review

Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Signed-off-by: Johannes Kleinlercher <johannes.kleinlercher@suxess-it.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-08-06 11:14:17 +01:00
Petr Drastil
97a3db19cf
feat(argo-cd): Upgrade to Argo CD 2.12.0 (#2820) 2024-08-05 17:21:48 +02:00
argoproj-renovate[bot]
c2ba09055c
chore(deps): update renovatebot/github-action action to v40.2.5 (#2862)
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
2024-08-05 05:43:54 -05:00
dependabot[bot]
feff5aeea0
chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.5 in the dependencies group (#2860) 2024-08-03 14:29:55 +02:00
Aljoscha Pörtner
b5fcbe23c8
fix(argo-workflows): avoid empty namespace in role binding when singleNamespace is true (#2858)
Signed-off-by: Aljoscha Poertner <aljoscha.poertner@hellmann.com>
2024-08-02 11:42:36 +01:00
argoproj-renovate[bot]
d89333a6b8
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v38 (#2855) 2024-08-01 13:42:22 +02:00
argoproj-renovate[bot]
67c720d23f
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.10 (#2856)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-08-01 16:18:41 +09:00
argoproj-renovate[bot]
3fb3397d96
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.9 (#2852)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-30 16:39:06 +09:00
argoproj-renovate[bot]
3ecc30aa15
chore(deps): update renovatebot/github-action action to v40.2.4 (#2851)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-30 13:18:01 +09:00
Roland Kool
87e6dd9b63
chore(argo-rollouts): add option to disable creation of notifications configmap (#2849)
* chore(argo-rollouts): add option to disable creation of notifications configmap

This allows for using the upstream notifications configmap from
https://github.com/argoproj/argo-rollouts/blob/master/manifests/notifications-install.yaml

Signed-off-by: Roland Kool <rkool@bol.com>

* chore: update changelog

Signed-off-by: Roland Kool <rkool@bol.com>

* chore: fix chart version bump

Signed-off-by: Roland Kool <rkool@bol.com>

---------

Signed-off-by: Roland Kool <rkool@bol.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-07-29 09:25:24 +02:00
dependabot[bot]
89bc396b55
chore(deps): bump the dependencies group with 3 updates (#2850) 2024-07-27 08:16:48 -05:00
argoproj-renovate[bot]
511d0d0adc
chore(argo-cd): Update dependency argoproj/argo-cd to v2.11.7 (#2845)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-24 12:44:35 +01:00
argoproj-renovate[bot]
d32e6b537c
chore(argo-cd): Update dependency argoproj/argo-cd to v2.11.6 (#2843)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-22 18:14:22 +01:00
argoproj-renovate[bot]
b4151e94ba
chore(deps): update renovatebot/github-action action to v40.2.3 (#2842)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-22 13:33:43 +02:00
dependabot[bot]
211bd44603
chore(deps): bump github/codeql-action from 3.25.12 to 3.25.13 in the dependencies group (#2838) 2024-07-21 22:03:46 +02:00
Aikawa
be36117924
docs(argo-cd): Add Changelog for v7.0.0 (#2835)
chore(argo-cd): Add Changelog for v7.0.0

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-07-19 11:22:48 +01:00
Filipe
809351a3fb
fix(argo-cd): Missing Redis sentinel variables in app controller deployment (#2806) 2024-07-18 08:52:38 +09:00
argoproj-renovate[bot]
2285578bba
chore(argo-cd): Update dependency argoproj/argo-cd to v2.11.5 (#2832)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-16 10:16:44 +09:00
dependabot[bot]
94b270ad18
chore(deps): bump the dependencies group with 2 updates (#2829) 2024-07-13 15:01:55 +02:00
Marco Maurer (-Kilchhofer)
2653aef414
fix(argo-cd): Address inconsistent redis-secret-init SA handling (#2823)
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2024-07-12 08:04:45 +09:00
Marco Maurer (-Kilchhofer)
79e32424d6
fix(argo-cd): Address oversights of feature namespaceOverride (#2821)
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2024-07-10 22:01:05 +01:00
argoproj-renovate[bot]
ea28da27d1
chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.14.0 (#2809)
* chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.14.0

* feat(argocd-image-updater): upgrade as following upstream

Signed-off-by: yu-croco <yu.croco@gmail.com>

* feat(argocd-image-updater): configure gitCommitSigningKey and gitCommitSignOff

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argocd-image-updater): add missing attribute

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: yu-croco <yu.croco@gmail.com>
2024-07-09 22:31:36 +01:00
argoproj-renovate[bot]
6dab549268
chore(deps): update renovatebot/github-action action to v40.2.2 (#2815) 2024-07-08 19:31:47 -05:00
argoproj-renovate[bot]
f9b619dc6a
chore(deps): update renovatebot/github-action action to v40.2.1 (#2811)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-08 19:55:39 +02:00
dependabot[bot]
5098495468
chore(deps): bump actions/upload-artifact from 4.3.3 to 4.3.4 in the dependencies group (#2808) 2024-07-07 07:43:25 -05:00
argoproj-renovate[bot]
de281eca6e
chore(argo-cd): Update dependency argoproj/argo-cd to v2.11.4 (#2805)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-07-02 21:43:28 +01:00
argoproj-renovate[bot]
5e862ea63b
chore(deps): update renovatebot/github-action action to v40.2.0 (#2804) 2024-07-02 11:23:41 -05:00
argoproj-renovate[bot]
080e79078c
chore(deps): update actions/create-github-app-token action to v1.10.3 (#2803) 2024-07-01 23:21:48 +02:00
Kaswob
475d7e724d
fix(argo-rollouts): Add traefik.io api group (#2703)
Add traefik.io (which is the only supported apiGroup for traefik >3.0)
to clusterrole and role of argo-rollouts chart

Signed-off-by: Kamil Swoboda <kswoboda@getresponse.com>
Signed-off-by: Kaswob <44066982+Kaswob@users.noreply.github.com>
2024-07-01 11:02:14 +01:00
argoproj-renovate[bot]
24275df2aa
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v37.421.4 (#2802) 2024-07-01 02:18:40 -05:00
dependabot[bot]
80e6e6bebd
chore(deps): bump the dependencies group with 2 updates (#2801) 2024-06-29 07:43:46 -05:00
shlomi tubul
9cefbb3daf
fix(argo-cd): Make REDIS_PASSWORD environment variables optional always (#2800) 2024-06-29 06:52:17 +09:00
shlomi tubul
171177ab77
feat(argo-cd): add support for passing redis - sentinel credentials (#2492)
* feat: add support for passing redis - sentinel credentials

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* feat: add changelog annotations

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>

* Update Chart.yaml

Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>

---------

Signed-off-by: ShlomiTubul <shlomi.tubul@placer.ai>
Signed-off-by: shlomi tubul <33376277+shlomitubul@users.noreply.github.com>
2024-06-26 12:28:42 +01:00
ajax-bychenok-y
425e98ecff
fix(argo-rollouts): Fix of global subscriptions for Argo Rollouts (#2797)
* Fix of Argo Rollouts notifications subscription

Signed-off-by: Yurii Bychenok <bychenok.y@ajax.systems>

* Fixed Argo Rollouts helm changelog

Signed-off-by: Yurii Bychenok <bychenok.y@ajax.systems>

* Fixed Argo Rollouts helm default values.yaml

Signed-off-by: Yurii Bychenok <bychenok.y@ajax.systems>

* Fixed Argo Rollouts doc after helm update

Signed-off-by: Yurii Bychenok <bychenok.y@ajax.systems>

---------

Signed-off-by: Yurii Bychenok <bychenok.y@ajax.systems>
Signed-off-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-06-26 11:39:03 +01:00
argoproj-renovate[bot]
3d98d04f43
chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.7.1 (#2794)
* chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.7.1

* feat(argo-rollouts): update as following upstream

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: yu-croco <yu.croco@gmail.com>
2024-06-26 18:10:00 +09:00
argoproj-renovate[bot]
889c3e9565
chore(deps): update actions/create-github-app-token action to v1.10.2 (#2798) 2024-06-26 09:02:42 +02:00
Aikawa
db0f57b309
fix(argo-events): Update Jetstream versions as following upstream (#2790) 2024-06-26 06:27:44 +01:00
Jaime Pérez Halcón
ee508fe7fc
fix(argo-rollouts): Add subscriptions into notifcations-configmap (#2793)
* fix(argo-rollouts): Add subscriptions into notifcations-configmap

Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com>

* fix(argo-rollouts): Set version

Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com>

* fix(argo-rollouts): Updated readme

Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com>

* fix(values.yaml): fixed trailing spaces

Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com>

---------

Signed-off-by: Jaime Pérez Halcón <jphalcon@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-06-25 14:04:32 +01:00
Clement Chevalier
7b30c3bcfa
chore(argo-cd): add shard option for clusterCredentials (#2779)
feat(argocd): add shard option for clusterCredentials

Signed-off-by: Clement Chevalier <clement.chevalier@contentsquare.com>
2024-06-25 21:25:46 +09:00
Mickaël Canévet
ad8d48c590
feat(argo-cd): make PrometheusRule deployment conditional on CRD exis… (#2791) 2024-06-25 04:48:03 +01:00
Mohamed Ragab
2ba2eb3daf
feat(argo-rollouts): add annotations for notifications secret (#2777)
* feat(argo-rollouts): Most users of Argo-rollouts may store secrets on vault which allows to auto inject secrets directly to secrets object using annotations.
Signed-off-by:Mohamed Ragab <mohamed.ragab@hellofresh.com>

Signed-off-by: Mohamed Ragab <mohamed.ragab@hellofresh.com>

* Fix indentation

Signed-off-by: Mohamed Ragab <mohamed.ragab@hellofresh.com>

---------

Signed-off-by: Mohamed Ragab <mohamed.ragab@hellofresh.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-06-22 19:11:25 +09:00
smcavallo
02949b14b1
fix(argo-cd): Default repo-server init container resources to empty (#2786) 2024-06-21 23:01:27 +02:00
Erwan Vallienne
b0d4648471
fix(argo-cd): remove secretName for server and applicationSet Certificates (#2741)
* Remove Certificate's secretName because expected names by server and applicationset are static

Signed-off-by: Erwan Vallienne <erwan@fgtech.fr>

* Apply suggestions from code review

Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>

* Fix lint

Signed-off-by: Erwan Vallienne <erwan@fgtech.fr>

---------

Signed-off-by: Erwan Vallienne <erwan@fgtech.fr>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Signed-off-by: Erwan Vallienne <135604788+erwanval@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-06-20 19:25:27 +09:00
Julie Ims
e34b45b3ea
feat(argo-cd): Add secrettemplate to argo-cd server certificate (#2780)
* Add secrettemplate to argo-cd server certificate

Signed-off-by: Ims, Julie <juliebergeims@gmail.com>

* refactor documentation

Signed-off-by: Ims, Julie <juliebergeims@gmail.com>

* added changelog

Signed-off-by: Ims, Julie <juliebergeims@gmail.com>

* remove empty line

Signed-off-by: Ims, Julie <juliebergeims@gmail.com>

* correct comment in values file

Signed-off-by: Ims, Julie <juliebergeims@gmail.com>

* move documentation comment according to test results

Signed-off-by: Ims, Julie <juliebergeims@gmail.com>

---------

Signed-off-by: Ims, Julie <juliebergeims@gmail.com>
2024-06-19 15:04:02 +01:00
Tim Collins
8130224b3b
fix(argo-workflows): add app: label to components to match upstream (#2775) 2024-06-19 09:00:44 +02:00
argoproj-renovate[bot]
3c127abe7b
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.8 (#2773)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-06-18 08:46:47 +01:00
Gazal
6946696aae
feat(argo-cd): add loadBalancerClass field for Service resource (#2769) 2024-06-18 10:13:21 +09:00
Anton Gilgur
fab2809c67
fix(argo-workflows): revert BASE_HREF change (#2770)
* fix(argo-workflows): revert `BASE_HREF` change

This reverts commit 134cecde58.

Sorry, I screwed up this and caused a regression. Didn't read my own release notes (from 4 months ago to be fair) where `ARGO_BASE_HREF` would not work previously as it was inconsistently `ARGO_BASEHREF`. So there is no forward compatible change to be made here, so just revert this.

Will have to reinstate this change for the 3.6 upgrade

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>

* changelog update

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>

---------

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
2024-06-18 03:59:29 +09:00
Jason Meridth
b26191b776
chore(github): group dependabot updates for minor and patch (#2768) 2024-06-16 01:28:34 -05:00
dependabot[bot]
5fa92f5189
chore(deps): bump actions/checkout from 4.1.6 to 4.1.7 (#2767) 2024-06-16 00:17:15 +02:00
dependabot[bot]
a07f981d4e
chore(deps): bump github/codeql-action from 3.25.8 to 3.25.10 (#2766) 2024-06-15 14:25:24 -05:00
argoproj-renovate[bot]
43c626d31e
chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.7.0 (#2763)
* chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.7.0

* feat(argo-rollouts): Update resources as following upstream

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-rollouts): update doc

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: yu-croco <yu.croco@gmail.com>
2024-06-14 18:00:28 +09:00
Kaita Nakamura
ea967df1e3
chore(argocd-image-updater): fix referenced URL to command line reference page (#2761) 2024-06-14 16:53:59 +09:00
argoproj-renovate[bot]
e088468e72
chore(argo-events): Update dependency argoproj/argo-events to v1.9.2 (#2764) 2024-06-14 06:08:49 +01:00
argoproj-renovate[bot]
4c29c31b9a
chore(deps): update actions/checkout action to v4.1.7 (#2762)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-06-13 08:14:29 +09:00
Anton Gilgur
8b02b6d9b8
fix(argo-workflows): BASE_HREF -> ARGO_BASE_HREF for forward compat (#2756) 2024-06-10 07:18:20 +09:00
Aikawa
377332f8c7
fix(argo-cd): Add missing permission for Dynamic Cluster Distribution (#2754) 2024-06-09 06:22:44 +01:00
dependabot[bot]
3dd3e1a754
chore(deps): bump github/codeql-action from 3.25.7 to 3.25.8 (#2752) 2024-06-08 07:42:46 -05:00
argoproj-renovate[bot]
02499d9b31
chore(argo-cd): Update dependency argoproj/argo-cd to v2.11.3 (#2748)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-06-06 11:51:33 +01:00
argoproj-renovate[bot]
19ef184d8f
chore(deps): update renovatebot/github-action action to v40.1.12 (#2740)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-06-03 16:08:02 +09:00
argoproj-renovate[bot]
98d8ea00e6
chore(deps): update actions/create-github-app-token action to v1.10.1 (#2739)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-06-03 08:59:14 +02:00
dependabot[bot]
0dae5da325
chore(deps): bump github/codeql-action from 3.25.6 to 3.25.7 (#2735)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.25.6 to 3.25.7.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](9fdb3e4972...f079b84933)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-06-02 10:24:16 +09:00
BenHesketh21
4f50206813
fix(argo-cd): Fixed redis exporter NOAUTH error (#2736) 2024-06-02 08:44:56 +09:00
dependabot[bot]
760d1995e0
chore(deps): bump docker/login-action from 3.1.0 to 3.2.0 (#2734) 2024-06-01 13:10:40 -05:00
argoproj-renovate[bot]
9607dee38e
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v37.384.0 (#2733) 2024-05-31 23:25:40 -05:00
Ludovic Ortega
45ff566614
feat(argo-cd): add support for dual stack clusters (#2649)
* feat(argo-cd): add support for dual stack clusters

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: add suggested change

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: metric template & add suggested change

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: remove changelog in README.md.gotmpl

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: applicationset metric template

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* fix: add changelog as annotation

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

* feat: use a global setting to enable dual stack

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>

---------

Signed-off-by: Ludovic Ortega <ludovic.ortega@adminafk.fr>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-05-31 21:04:50 +09:00
Marco Maurer (-Kilchhofer)
0a97419aa9
docs(github): Charts use Helm "Capabilities" (#2730)
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2024-05-31 10:01:54 +01:00
Nacho Barrientos
2c05baf741
feat(argo-cd): represent cluster credentials as a map (#2648)
So it can be merged with values coming from different sources.

Closes #2592

Signed-off-by: Nacho Barrientos <nacho.barrientos@cern.ch>
2024-05-28 14:38:23 +01:00
argoproj-renovate[bot]
5652e66777
chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.13.1 (#2722) 2024-05-28 07:32:32 +02:00
argoproj-renovate[bot]
408500c5cc
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.7 (#2720) 2024-05-27 17:09:26 +09:00
dependabot[bot]
165c6518d2
chore(deps): bump github/codeql-action from 3.25.5 to 3.25.6 (#2718) 2024-05-25 23:19:47 +02:00
Nicolas Lamirault
fb807031a2
fix(argo-events): support for additional labels (#2714)
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
Co-authored-by: yuki.kitakata <yu.croco@gmail.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
2024-05-23 22:04:54 -05:00
argoproj-renovate[bot]
fa2fb1c5c1
chore(argo-cd): Update dependency argoproj/argo-cd to v2.11.2 (#2715) 2024-05-23 16:37:05 +01:00
Michael Vittrup Larsen
728b6e7326
feat(argo-cd): Make redis secret initialization optional (#2713)
* Make redis secret initialization optional

Signed-off-by: michaelvl <mvl.gh@network42.dk>

* Remove artifacthub.io/changes from previous change

Signed-off-by: michaelvl <mvl.gh@network42.dk>

---------

Signed-off-by: michaelvl <mvl.gh@network42.dk>
2024-05-23 21:36:49 +09:00
yuki.kitakata
e6776415a4
feat(argo-rollouts): Support revisionHistoryLimit (#2712)
* feat(argo-rollouts): Support revisionHistoryLimit

Signed-off-by: yu-croco <yu.croco@gmail.com>

* chore(argo-rollouts): Align to argo-cd's configuration

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-05-23 09:29:52 +02:00
tberreis
3174f52ffc
chore(argo-cd): add priorityClassName to redis-secret-init job (#2709)
Signed-off-by: Thomas Berreis <thomas@berreis.de>
2024-05-22 12:20:34 +01:00
Pavan Kumar
f431e9b2be
chore(argo-cd): add nodeselector and tolerations to redis-secret-init job (#2708)
chore(argo-cd): add nodeselector and tolerations to redis-secret-init-job

Signed-off-by: Pavan <borntofight090@gmail.com>
Co-authored-by: Pavan <pavan.hn@vida.id>
2024-05-22 09:17:05 +02:00
Marco Maurer (-Kilchhofer)
fcee9a6046
fix(argo-cd): Enable Redis authentication in the default installation (#2705) 2024-05-21 18:36:32 +02:00
yuki.kitakata
f9eb0b394c
fix(argo-workflows): Add missing serviceLabels to server service (#2698) 2024-05-19 19:22:17 +09:00
yuki.kitakata
4611a16463
fix(argo-workflows): Correct sample of secondsAfterCompletion (#2702) 2024-05-19 08:34:24 +01:00
dependabot[bot]
b95e14aa02
chore(deps): bump github/codeql-action from 2.13.4 to 3.25.5 (#2699)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2.13.4 to 3.25.5.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](cdcdbb5797...b7cec75265)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: yuki.kitakata <yu.croco@gmail.com>
2024-05-18 20:13:16 +09:00
dependabot[bot]
5d3e581b11
chore(deps): bump actions/checkout from 4.1.5 to 4.1.6 (#2700)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.5 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.5...a5ac7e51b41094c92402da3b24376905380afc29)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-18 19:02:45 +09:00
Étienne Kemp-Rousseau
66c39a06d8
fix(argo-cd): Adding checksum for argocd-cm to dex pod (#2695)
Adding checksum to argocd-cm to dex pod

Signed-off-by: Etienne Kemp-Rousseau <etienne.kr@hotmail.com>
Co-authored-by: yuki.kitakata <yu.croco@gmail.com>
2024-05-17 17:18:13 +02:00
argoproj-renovate[bot]
4ce5e9be2e
chore(deps): update actions/checkout action to v4.1.6 (#2696)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-05-16 23:27:52 +02:00
argoproj-renovate[bot]
39e1322df2
chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.13.0 (#2692)
* chore(argocd-image-updater): Update dependency argoproj-labs/argocd-image-updater to v0.13.0

* feat(argocd-image-updater): update deployment as following upstream

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argocd-image-updater): correct doc

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argocd-image-updater): fix manifest

Signed-off-by: yu-croco <yu.croco@gmail.com>

* chore(argocd-image-updater): bump version

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: yu-croco <yu.croco@gmail.com>
2024-05-16 20:06:49 +09:00
Andres Vara
7be9b016fb
feat(argo-cd): Support ability to set .Values.namespaceOverride (#2679)
* feat(argo-workflows): Allow adding additional ServiceAccounts to RoleBinding (#2676)

remove unnecessary if statements

Signed-off-by: Daniel Beilin <daniel.beilin@outlook.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* feat(argo-cd): Support ability to set .Values.namespaceOverride

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* fix(argo-cd): typo

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* chore(deps): update actions/create-github-app-token action to v1.10.0 (#2677)

Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* feat(argo-rollouts): Add podLabels at the controller & dashboard level (#2678)

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* feat(argo-cd): Support ability to set .Values.namespaceOverride

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* fix(argo-cd): typo

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* fix(argo-cd): autocorrection

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* fix(argo-cd): typos

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* fix(argo-cd): typos

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* removed auota

Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>

* Update Chart.yaml

Signed-off-by: Andres Vara <46708607+andres-vara@users.noreply.github.com>

---------

Signed-off-by: Daniel Beilin <daniel.beilin@outlook.com>
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
Signed-off-by: Andres Vara <46708607+andres-vara@users.noreply.github.com>
Co-authored-by: Daniel Beilin <144586547+dbeilin@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Andres Vara Parsegov <andres.vara@chase.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: mitchell amihod <mitchell@amihod.com>
2024-05-14 16:17:31 +01:00
Petr Drastil
87f717656a
fix(argo-cd): Fix Service configuration for Argo server (#2690)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-05-14 07:59:03 +09:00
yuki.kitakata
510261328f
fix(argo-cd): Always create ApplicationSet as following upstream (#2688) 2024-05-13 06:31:48 +02:00
dependabot[bot]
3693ed4270
chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3 (#2686)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...dc50aa9510)

---
updated-dependencies:
- dependency-name: ossf/scorecard-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-11 19:08:12 +09:00
dependabot[bot]
8e2f3d5bc0
chore(deps): bump actions/checkout from 4.1.4 to 4.1.5 (#2687) 2024-05-11 05:04:44 -05:00
Thomas Decaux
63306b32f8
feat(argo-cd): Always install applicationset crd (#2682)
* Install applicationset crd always

ApplicationSet is required by argocd-server, cannot be "opt-out".

If ApplicationSet CRD is not installed, we see lot of errors:

```
W0507 19:44:33.469804 7 reflector.go:424] pkg/mod/k8s.io/client-go@v0.26.11/tools/cache/reflector.go:169: failed to list *v1alpha1.ApplicationSet: the server could not find the requested resource (get applicationsets.argoproj.io)
E0507 19:44:33.469828 7 reflector.go:140] pkg/mod/k8s.io/client-go@v0.26.11/tools/cache/reflector.go:169: Failed to watch *v1alpha1.ApplicationSet: failed to list *v1alpha1.ApplicationSet: the server could not find the requested resource (get applicationsets.argoproj.io)
```

Signed-off-by: Thomas Decaux <ebuildy@gmail.com>

* Bump chart version 

Signed-off-by: Thomas Decaux <ebuildy@gmail.com>

* Bump Chart.yaml patch version

Signed-off-by: Thomas Decaux <ebuildy@gmail.com>

* Update Chart.yaml changelog

Signed-off-by: Thomas Decaux <ebuildy@gmail.com>

---------

Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: yuki.kitakata <yu.croco@gmail.com>
2024-05-10 10:32:34 +02:00
argoproj-renovate[bot]
dcdcff2176
chore(deps): update actions/checkout action to v4.1.5 (#2683) 2024-05-08 22:58:26 -05:00
Ilia Lazebnik
1098ce1287
feat(argo-cd): Upgrade argocd to 2.11.0 + crd changes (#2681) 2024-05-08 08:21:09 +02:00
mitchell amihod
0882bfcbd6
feat(argo-rollouts): Add podLabels at the controller & dashboard level (#2678) 2024-05-05 19:24:13 -05:00
argoproj-renovate[bot]
35bc505bec
chore(deps): update actions/create-github-app-token action to v1.10.0 (#2677)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-05-02 16:57:37 +02:00
Daniel Beilin
966b745e7b
feat(argo-workflows): Allow adding additional ServiceAccounts to RoleBinding (#2676)
remove unnecessary if statements

Signed-off-by: Daniel Beilin <daniel.beilin@outlook.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-05-01 22:37:24 +09:00
argoproj-renovate[bot]
6c08745136
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v37.332.0 (#2675)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-05-01 10:49:58 +01:00
argoproj-renovate[bot]
b9e4a3fd34
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.9 (#2674) 2024-04-30 18:14:03 +01:00
Mykyta Orlov
65e99a1c04
fix(argo-workflows): hyphen typo in values.yaml comment (#2673) 2024-04-29 21:29:49 +01:00
argoproj-renovate[bot]
9c1e15abf3
chore(deps): update renovatebot/github-action action to v40.1.11 (#2672)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-04-29 22:56:09 +09:00
dependabot[bot]
1119c0d8cc
chore(deps): bump actions/upload-artifact from 4.3.2 to 4.3.3 (#2668)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.2 to 4.3.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](1746f4ab65...65462800fd)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-04-27 18:31:51 +09:00
dependabot[bot]
dafe207ae1
chore(deps): bump amannn/action-semantic-pull-request from 5.4.0 to 5.5.2 (#2669)
chore(deps): bump amannn/action-semantic-pull-request

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.4.0 to 5.5.2.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](e9fabac35e...cfb60706e1)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-04-27 18:30:59 +09:00
dependabot[bot]
937a1702a1
chore(deps): bump helm/kind-action from 1.9.0 to 1.10.0 (#2670)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](99576bfa6d...0025e74a8c)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-04-27 18:26:20 +09:00
dependabot[bot]
95b9a94701
chore(deps): bump actions/checkout from 4.1.3 to 4.1.4 (#2671)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.3 to 4.1.4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.3...0ad4b8fadaa221de15dcec353f45205ec38ea70b)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-04-27 18:23:23 +09:00
Tim Collins
42bfba2cc8
feat(argo-cd): added jq path expression timeout (#2666) 2024-04-26 21:35:49 +02:00
argoproj-renovate[bot]
d82efb40cb
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.8 (#2665)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-04-26 15:21:13 +01:00
argoproj-renovate[bot]
93b7a94650
chore(deps): update actions/checkout action to v4.1.4 (#2662)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-04-25 23:12:35 +09:00
Bojan Raic
da00680758
fix(argo-cd): Pre-set statusbadge.url only when statusbadge is enabled (#2658)
- Add `statusbadge.enabled` to values.yaml as `false`
- Pre-set `statusbadge.url` to `global.domain` URL only when `statusbadge.enabled` is `true`
- Update README.md
- Fix a minor comment typo

Signed-off-by: Bojan Raic <code@bojan.io>
2024-04-24 16:07:57 +09:00
Bojan Raic
7ad09a972f
feat(argo-cd): Pre-set statusbadge.url value to global.domain (#2657) 2024-04-21 22:54:13 +02:00
dependabot[bot]
895b26a3cb
chore(deps): bump actions/upload-artifact from 4.3.1 to 4.3.2 (#2655) 2024-04-20 21:17:51 +02:00
dependabot[bot]
ae7fd924dc
chore(deps): bump pascalgn/size-label-action from 0.5.0 to 0.5.2 (#2653) 2024-04-20 20:09:35 +02:00
dependabot[bot]
71899cb56a
chore(deps): bump actions/checkout from 4.1.2 to 4.1.3 (#2654) 2024-04-20 19:49:00 +02:00
dependabot[bot]
03003fff0e
chore(deps): bump azure/setup-helm from 4.1.0 to 4.2.0 (#2652) 2024-04-20 19:47:40 +02:00
argoproj-renovate[bot]
b7ccf969ad
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.6 (#2651) 2024-04-20 05:55:00 +01:00
Aleksei Sviridkin
598a3c48c5
feat(argo-cd): Bump argocd-extension-installer to 0.0.5 (#2647)
* Bump argocd-extension-installer to v0.0.5

Signed-off-by: Aleksey Sviridkin <f@lex.la>

* Update docs

Signed-off-by: Aleksey Sviridkin <f@lex.la>

---------

Signed-off-by: Aleksey Sviridkin <f@lex.la>
2024-04-19 15:07:22 +01:00
Marc Brugger
a12dbf812c
feat(argocd-image-updater): Allow defining extraEnvFrom for the deployment (#2646)
Signed-off-by: bakito <github@bakito.ch>
2024-04-18 23:41:24 +02:00
argoproj-renovate[bot]
8abf55a807
chore(deps): update renovatebot/github-action action to v40.1.10 (#2645)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-04-17 22:48:41 +02:00
argoproj-renovate[bot]
ebbe2eefad
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.7 (#2643)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-04-15 11:42:55 +01:00
dependabot[bot]
7aca860359
chore(deps): bump azure/setup-helm from 3.5 to 4 (#2640) 2024-04-13 08:42:06 -05:00
argoproj-renovate[bot]
a51380a144
chore(deps): update renovatebot/github-action action to v40.1.9 (#2638) 2024-04-12 01:55:23 -05:00
Stefan Caraiman
f42e0e1fd5
fix(argo-cd): make automountServiceAccountToken configurable (#2625) 2024-04-10 22:05:47 +02:00
argoproj-renovate[bot]
af50be59ed
chore(deps): update renovatebot/github-action action to v40.1.8 (#2633) 2024-04-08 13:38:36 +02:00
argoproj-renovate[bot]
b583d7742f
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.6 (#2630) 2024-04-05 05:59:50 +01:00
argoproj-renovate[bot]
b35d6e3618
chore(deps): update actions/create-github-app-token action to v1.9.3 (#2626)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-04-04 15:25:31 -05:00
Marco Maurer (-Kilchhofer)
1a5bded746
fix(argo-cd): Add required label for CLI on redis-ha-haproxy pod (#2627) 2024-04-04 19:47:21 +01:00
Karl Lyons
c30f1984e4
feat(argo-workflows): Add the ability to use headless service for workflow controller (#2620) 2024-04-03 02:26:07 +09:00
Pierre Blais
72f0a50d70
feat(argo-cd): Add sizeLimit parameters on emptyDir (#2607)
* feat(argo-cd): Add sizeLimit parameters on emptyDir

Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>

* feat(argo-cd): Bumping chart version

Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>

* Fix(argo-cd): Add missing new line

Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>

---------

Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>
Signed-off-by: Pierre Blais <109473352+pierreblais@users.noreply.github.com>
Co-authored-by: Tim Collins <45351296+tico24@users.noreply.github.com>
2024-04-02 14:36:34 +01:00
edmondshtogu
30fd5202b0
feat(argo-cd): enabled server cluster role permissions overriding (#2606) 2024-04-02 07:03:37 +02:00
argoproj-renovate[bot]
7b87ff19e5
chore(deps): update actions/create-github-app-token action to v1.9.2 (#2618) 2024-04-01 19:27:32 +02:00
argoproj-renovate[bot]
d64b7e2d0c
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v37.278.0 (#2617)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-04-01 10:18:04 +09:00
dependabot[bot]
3a56a3e64d
chore(deps): bump actions/setup-python from 5.0.0 to 5.1.0 (#2615) 2024-03-30 12:33:40 -05:00
Ilia Lazebnik
d6063b9595
fix(argo-cd): add missing crd change from 2.10.5 (#2612) 2024-03-29 16:13:26 +00:00
GuillaumeRemyCSI
e9a3381d73
fix(argo-cd): Properly support "application in any namespace" for the argocd-server ClusterRole (#2609)
* Properly support "application in any namespace" for the argocd-server ClusterRole

Signed-off-by: GuillaumeRemyCSI <30650458+GuillaumeRemyCSI@users.noreply.github.com>

* Add changelog

Signed-off-by: GuillaumeRemyCSI <30650458+GuillaumeRemyCSI@users.noreply.github.com>

* notification controller can handle self-managed notification in any namespace

Signed-off-by: GuillaumeRemyCSI <30650458+GuillaumeRemyCSI@users.noreply.github.com>

* Bump argo-cd chart to v6.7.5

Signed-off-by: GuillaumeRemyCSI <30650458+GuillaumeRemyCSI@users.noreply.github.com>

---------

Signed-off-by: GuillaumeRemyCSI <30650458+GuillaumeRemyCSI@users.noreply.github.com>
2024-03-29 17:13:31 +09:00
argoproj-renovate[bot]
6043017f34
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.5 (#2610)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-28 18:29:52 +01:00
argoproj-renovate[bot]
e56bda239d
chore(deps): update renovatebot/github-action action to v40.1.7 (#2608) 2024-03-28 08:44:07 +01:00
Connor Given
38900afada
feat(argo-rollouts): add minimum RBAC for Gateway API (#2599) 2024-03-26 03:35:50 -05:00
argoproj-renovate[bot]
776c19db63
chore(deps): update actions/create-github-app-token action to v1.9.1 (#2604)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-25 21:39:36 +00:00
argoproj-renovate[bot]
3e8653a765
chore(deps): update renovatebot/github-action action to v40.1.6 (#2602)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-25 15:26:28 +09:00
Carlos M
a28780fb19
feat(argo-workflows): check prometheus CRD for ServiceMonitor (#2430)
* chore: Apply changes from code review

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: cmontemuino <1761056+cmontemuino@users.noreply.github.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2024-03-24 21:26:55 +01:00
Matthew Peterson
19b3d72718
feat(argo-rollouts): Added Deployment labels to values.yaml (#2590) 2024-03-23 21:47:03 +01:00
irizzant
237493a4ab
feat(argocd-apps)!: use maps instead of lists (#2538)
* feat(argocd-apps)!: use maps instead of lists

Signed-off-by: irizzant <i.rizzante@gmail.com>

* fix(chart): add artifacthub annotations

Signed-off-by: irizzant <i.rizzante@gmail.com>

* fix: remove not needed lines

Signed-off-by: irizzant <i.rizzante@gmail.com>

* fix: use the right range function

Signed-off-by: irizzant <i.rizzante@gmail.com>

* fix(argocd-apps): fix issues

Signed-off-by: irizzant <i.rizzante@gmail.com>

* fix: fix newline issue in values.yaml

Signed-off-by: irizzant <i.rizzante@gmail.com>

* fix: Use range function properly (revert complex changes on item-templates)

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>

---------

Signed-off-by: irizzant <i.rizzante@gmail.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-03-23 15:38:56 +00:00
Aikawa
393402cb1b
feat(argo-events): Support ability to set .Values.namespaceOverride (#2594)
* feat(argo-events): Support ability to set .Values.namespaceOverride

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-events): update README

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-03-23 12:06:54 +01:00
amcamina
8a4c875295
feat(argo-rollouts): Allow customizing additional RBAC rules for other providers (#2556)
* Allow customizing additional RBAC rules for other providers

Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>

* Changing additionalRules from dict to list

Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>

* Changing additionalRules from dict to list and addressing comment

Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>

* Runing `./scripts/helm-docs.sh` to update the README

Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>

---------

Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>
Co-authored-by: Alvaro.Camina <alvaro.camina@alteryx.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
2024-03-22 11:09:43 -05:00
Abdullah Alaqeel
e248b6b316
fix(argocd-image-updater): Properly quoting the config map values (and other fixes) (#2512)
fix(argocd-image-updater): Properly quoting the config map values
fix(argocd-image-updater): Only adding a data field to argocd-image-updater-ssh-config when there's data to be added
fix(argocd-image-updater): Only include config.argocd if config.applicationsAPIKind is set to 'argocd'
chore(argocd-image-updater): removing unneeded whitespace in Role and RoleBinding

Signed-off-by: Abdullah Alaqeel <a.alaqeel@sary.com>
2024-03-21 08:52:58 +09:00
argoproj-renovate[bot]
85de0a16e7
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.4 (#2588)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-18 09:36:40 +00:00
dependabot[bot]
e7ad44173d
chore(deps): bump docker/login-action from 3.0.0 to 3.1.0 (#2586) 2024-03-16 07:37:38 -05:00
dependabot[bot]
a148991ff8
chore(deps): bump actions/checkout from 4.1.1 to 4.1.2 (#2587) 2024-03-16 07:32:19 -05:00
argoproj-renovate[bot]
718589628b
chore(deps): update renovatebot/github-action action to v40.1.5 (#2584)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-14 13:18:13 +09:00
argoproj-renovate[bot]
b4e645c75f
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.3 (#2583) 2024-03-13 20:45:56 +00:00
argoproj-renovate[bot]
1786f6e544
chore(deps): update actions/checkout action to v4.1.2 (#2582)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-12 07:26:50 -05:00
Göran Pöhner
6a58945969
fix(argo-cd): Fixed default tls hosts for grpc ingress endpoint (#2580)
* Fixed default tls hosts for grpc ingress endpoint

Signed-off-by: Goeran Poehner <goeran.poehner@gmail.com>

* Increased chart version

Signed-off-by: Goeran Poehner <goeran.poehner@gmail.com>

* Added changelog entry

Signed-off-by: Goeran Poehner <goeran.poehner@gmail.com>

* Updated changelog

Signed-off-by: Goeran Poehner <goeran.poehner@gmail.com>

---------

Signed-off-by: Goeran Poehner <goeran.poehner@gmail.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
2024-03-12 00:08:20 +01:00
Ran Rubin
b9615e451c
feat(argo-cd): Support setting ArgoCD Notifications secret (#2577)
* chore(deps): update renovatebot/github-action action to v40.1.3 (#2573)

Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Signed-off-by: ranrubin <ranrubin@gmail.com>

* feat(argo-cd): Support for existing Secret in ArgoCD Notifications, and ability to set its name.

Signed-off-by: ranrubin <ranrubin@gmail.com>

* feat(argo-cd): Pass Secret name to Notification controller

Signed-off-by: ranrubin <ranrubin@gmail.com>

* chore(deps): update renovatebot/github-action action to v40.1.4 (#2579)

Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Signed-off-by: ranrubin <ranrubin@gmail.com>

* feat(argo-cd): Remove redundant useExistingSecret, and assume existence of a secret

Signed-off-by: ranrubin <ranrubin@gmail.com>

---------

Signed-off-by: ranrubin <ranrubin@gmail.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-11 18:26:07 +00:00
argoproj-renovate[bot]
fc620a3d51
chore(deps): update renovatebot/github-action action to v40.1.4 (#2579)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-11 17:26:10 +09:00
argoproj-renovate[bot]
c4d7988581
chore(deps): update renovatebot/github-action action to v40.1.3 (#2573)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-04 23:52:59 +09:00
Aikawa
1af4bf5f48
feat(argo-workflows): Add ability to set .Values.namespaceOverride (#2564) 2024-03-03 13:12:41 -06:00
mugi
de462b7e80
feat(argo-cd): support ApplicationSet in any namespace. (#2402)
* chore(argo-cd): support ApplicationSet in any namespace.

Signed-off-by: mugioka <okamugi0722@gmail.com>

* chore: apply feedback by maintainer.

Signed-off-by: mugioka <okamugi0722@gmail.com>

* fix: docs is not generated.

Signed-off-by: mugioka <okamugi0722@gmail.com>

---------

Signed-off-by: mugioka <okamugi0722@gmail.com>
2024-03-02 11:20:12 +00:00
argoproj-renovate[bot]
f7a6060fce
chore(deps): update actions/create-github-app-token action to v1.9.0 (#2569)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-03-02 09:29:24 +09:00
argoproj-renovate[bot]
baa566bd6b
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.2 (#2570)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-01 22:26:54 +00:00
Marco Maurer (-Kilchhofer)
075a8a634f
chore(github): Update renovate image only monthly (#2568) 2024-03-01 22:48:29 +01:00
argoproj-renovate[bot]
5c256cce18
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v37.222.0 (#2567) 2024-03-01 22:05:37 +01:00
Tim Collins
29e341091c
feat(argo-workflows): Disable leader election on single repl controllers (#2565)
Signed-off-by: Tim Collins <tim@thecollins.team>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-03-01 09:17:04 -08:00
Tim Collins
d0647e4a50
chore(github): Disable some GH actions on forks (#2566)
Signed-off-by: Tim Collins <tim@thecollins.team>
2024-03-01 12:08:44 +01:00
argoproj-renovate[bot]
d0cf368fcd
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v37.221.1 (#2563)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-03-01 09:45:12 +01:00
Braden Wright
fba54d4597
feat(argocd-image-updater): Add ability to set .Values.namespaceOverride (#2562)
Signed-off-by: Braden Wright <braden.wright@waltlabs.io>
2024-03-01 09:41:23 +01:00
argoproj-renovate[bot]
09679ae4d3
chore(deps): update ghcr.io/renovatebot/renovate docker tag to v37.221.0 (#2560)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-03-01 09:11:05 +09:00
argoproj-renovate[bot]
ebd4991407
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.5 (#2561)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-03-01 09:02:40 +09:00
Petr Drastil
74fbd561b7
feat(argo-cd): Add templating of ingress extra paths and rules (#2530)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-02-29 19:45:29 +00:00
argoproj-renovate[bot]
31de7d3594
chore(deps): update actions/create-github-app-token action to v1.8.1 (#2557)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-02-29 20:00:49 +01:00
argoproj-renovate[bot]
d684a9f4e8
chore(deps): update renovatebot/github-action action to v40.1.2 (#2558)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-02-29 19:57:22 +01:00
Marco Maurer (-Kilchhofer)
e0f6a16ce8
chore(github): Migrate to renovate GH action (#2520)
chore: Migrate to renovate GH action

Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
2024-02-29 19:54:21 +01:00
Aikawa
48824664e9
fix(argo-cd): Pass argocd-server's ALB health check (#2553)
* fix(argo-cd): Pass argocd-server's ALB health check

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix: changelog lint

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix: revert unnecessary diffs

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-02-29 12:24:21 +01:00
Florian Boulanger
2f82fb5992
chore(argo-cd): add support for http probe scheme for dex (#2550) 2024-02-28 07:28:35 +01:00
Aikawa
fa85e824f0
feat(argocd-apps): Support Template Patch to ApplicationSet (#2549)
Signed-off-by: yu-croco <yu.croco@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-25 14:11:42 +01:00
Oscar Wieman
7c8fab5a7f
feat(argo-cd): Add support for application controller dynamic cluster distribution. (#2539)
* Add support for application controller dynamic cluster distribution.

Signed-off-by: Oscar Wieman <oscar@oscarr.nl>

* Added env variables to handle the non-standard names generated by the helm chart.
https://argo-cd.readthedocs.io/en/release-2.9/user-guide/environment-variables/
99723143b9/common/common.go (L252)

Signed-off-by: Oscar Wieman <oscar@oscarr.nl>

---------

Signed-off-by: Oscar Wieman <oscar@oscarr.nl>
2024-02-25 12:47:00 +00:00
dependabot[bot]
42b20e0b6b
chore(deps): bump tj-actions/changed-files from 42.0.2 to 42.0.4 (#2548)
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files) from 42.0.2 to 42.0.4.
- [Release notes](https://github.com/tj-actions/changed-files/releases)
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md)
- [Commits](90a06d6ba9...3f54ebb830)

---
updated-dependencies:
- dependency-name: tj-actions/changed-files
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-24 21:31:01 +09:00
Petr Drastil
285ff7a226
fix(argo-cd): Fix dex probes (#2546)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-23 18:05:19 +00:00
Florian Boulanger
30836b841c
feat(argo-cd): Allow modification of path and port for dex liveness and readiness probes (#2542)
feat(argo-cd): allow defining custom dex probes

Signed-off-by: Florian Boulanger <fboulanger51@gmail.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-23 15:17:55 +01:00
Petr Drastil
2f91378422
fix(argo-cd): Allow to use dedicated gRCP ingress with GKE implementation (#2541) 2024-02-23 14:58:13 +01:00
LucasBoisserie
394d6f17c8
feat(argo-cd): Format redis health check confimap mode in decimal (#2535)
feat: format redis health check confimap mode in decimal

Signed-off-by: lucas boisserie <lucas.boisserie@hivebrite.com>
2024-02-23 21:15:47 +09:00
Petr Drastil
43337b5e14
chore(argo-cd): Update Redis image to 7.2.4 (#2533)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-20 21:04:59 +09:00
fulcrum29
f198eecc23
fix(argo-cd): Fix path order in AWS Ingress declaration (#2531)
* fix(ingress-aws): Fix path order in AWS Ingress declaration

Fix path order to evaluate GRPc endpoint first

Signed-off-by: fulcrum29 <35672150+fulcrum29@users.noreply.github.com>

* chore: update Chart version

Signed-off-by: fulcrum29 <35672150+fulcrum29@users.noreply.github.com>

* chore: add aritfacthub description

Signed-off-by: fulcrum29 <35672150+fulcrum29@users.noreply.github.com>

---------

Signed-off-by: fulcrum29 <35672150+fulcrum29@users.noreply.github.com>
2024-02-20 12:38:50 +01:00
Laurent Lavaud
aa69a77691
fix(argo-cd): Add missing global.domain default values (#2525)
Signed-off-by: Laurent Lavaud <llavaud@lvdconsulting.pro>
2024-02-19 08:37:38 +00:00
Ilia Lazebnik
1808903a6b
feat(argo-cd): bump redis chart dep and redis exporter (#2524)
* bump redis deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* bump redis deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* bump redis deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-02-18 23:06:23 +01:00
Etienne
75b48cef3c
feat(argocd-image-updater): allow defining additional labels to service account (#2517) 2024-02-18 19:44:25 +01:00
dependabot[bot]
4f382e5db1
chore(deps): bump helm/kind-action from 1.8.0 to 1.9.0 (#2522)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.8.0 to 1.9.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](dda0770415...99576bfa6d)

---
updated-dependencies:
- dependency-name: helm/kind-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-17 12:00:07 +01:00
Alexis Dondon
0cf32acff2
feat(argo-workflows): add caSecret in s3 configuration (#2519)
* add caSecret

Signed-off-by: Dondon Alexis <Y3GDTU@ad.insee.intra>

* bump chart version

Signed-off-by: Dondon Alexis <Y3GDTU@ad.insee.intra>

* add changelog

Signed-off-by: Dondon Alexis <Y3GDTU@ad.insee.intra>

---------

Signed-off-by: Dondon Alexis <Y3GDTU@ad.insee.intra>
Co-authored-by: Dondon Alexis <Y3GDTU@ad.insee.intra>
Co-authored-by: Vlad Losev <vladlosev@users.noreply.github.com>
2024-02-17 18:14:34 +09:00
Petr Drastil
f8b1fecd81
feat(argo-cd): Add global domain configuration (#2499)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-16 14:44:51 +00:00
renovate[bot]
ba20d95182
chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.1 (#2514)
* chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.1

* Apply automatic changes

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-02-14 22:04:20 +01:00
Petr Drastil
5915340fc7
fix(argo-cd): Fix secret name for applicationset webhook ingress (#2511)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-02-14 19:52:32 +09:00
renovate[bot]
d8c64b80fe
chore(argo-events): Update dependency argoproj/argo-events to v1.9.1 (#2510)
* chore(argo-events): Update dependency argoproj/argo-events to v1.9.1

* Apply automatic changes

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-14 09:52:44 +01:00
renovate[bot]
e351448b05
chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.6.6 (#2508)
* chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.6.6

* Apply automatic changes

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-02-14 09:50:00 +01:00
Petr Drastil
c0b7a7e074
chore(argo-cd): Disable argocd-repo-server cluster role by default (#2498)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-13 16:26:29 +01:00
Florian Blampey
6c47b2a69b
fix(argo-cd): Use with instead of range on reposerver serviceaccount (#2506)
fixes #2505 with instead of range serviceaccount reposerver

Signed-off-by: Florian Blampey <flbla@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-02-13 12:42:29 +01:00
Luke
866ee08bc0
chore(argo-cd): update notifications links to latest documentation (#2503)
Signed-off-by: lukepatrick <lukephilips@gmail.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-13 11:27:08 +00:00
Petr Drastil
79a24410b5
chore(argo-cd): Remove server.config leftovers (#2504) 2024-02-13 12:13:41 +01:00
Petr Drastil
2139f15727
fix(argo-cd): Use correct protocols for Istio service discovery (#2500)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-13 09:23:39 +01:00
nikolay-o
b44f9a0eb5
feat(argo-cd): Add scrapeTimeout property to server and application… (#2489)
feat(argo-cd): Add scrapeTimeout property to server and application, applicationset controllers.

Signed-off-by: Nikolay Osmolovskiy <nikolay.osmolovsky@gmail.com>
Co-authored-by: Nikolay Osmolovskiy <nosmolovskiy@yandex-team.ru>
2024-02-12 18:36:39 +00:00
Petr Drastil
5d20cfa70c
fix(argo-cd): Fix ports and TLS for dedicated gRPC ingress (#2497)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-11 15:52:23 +01:00
dependabot[bot]
c25c83b0db
chore(deps): bump actions/upload-artifact from 4.3.0 to 4.3.1 (#2490)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](26f96dfa69...5d5d22a312)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-10 13:12:28 +01:00
Petr Drastil
d2b9b34c8c
docs(argo-cd): Document various ingress setups (#2486)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-09 12:14:05 +00:00
Sjouke de Vries
3c29c6f543
fix(argo-cd): add hostname of extraHost to tls hosts (#2485)
* fix(argo-cd): add hostname of extraHost to tls hosts

Signed-off-by: Sjouke de Vries <info@sdvservices.nl>

* fix(argo-cd): bump chart to 6.0.4

Signed-off-by: Sjouke de Vries <info@sdvservices.nl>

* chore(argo-cd): update artifacthub.io/changes for 6.0.4

Signed-off-by: Sjouke de Vries <info@sdvservices.nl>

---------

Signed-off-by: Sjouke de Vries <info@sdvservices.nl>
2024-02-09 12:45:54 +01:00
Petr Drastil
b1f9827b17
fix(argo-cd): Fix applicationset network policy when webhook is enabled (#2484)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-08 17:46:47 +00:00
Matthias Baur
5f2f0edad0
fix(argo-cd): Fix ingressGrpc extraTls (#2480)
Signed-off-by: Matthias Baur <m.baur@syseleven.de>
2024-02-08 15:26:21 +01:00
Petr Drastil
e785763b59
fix(argo-cd): Fix ingress extraHosts (#2479)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-08 19:58:53 +09:00
Petr Drastil
b8212e0b30
chore(argo-cd): Remove deprecated features and redesign Ingress (#2407)
* chore(argo-cd): Remove deprecated features

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Remove wildcard catch all ingress rule

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Add ingress extra rules

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Remove unnecessary ingress variables

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Improve documentation

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Replace ingress paths and hosts with single backend service

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Use only port number to support all ingress controllers

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Minor gRPC fixes

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Simplify TLS configuration

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Decouple AWS and GKE ALB from generic ingress

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Remove map nesting for ApplicationSet ingress

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Use example.com domain

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Remove fallback for argocd-cm checksum annotation

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Add revisionHistoryLimit for controller

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Update README

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Update README

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

---------

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-02-07 21:40:05 +00:00
Petr Drastil
0b79f5e5c1
feat(argo-cd): Upgrade Argo CD to 2.10.0 (#2476)
* chore(argo-cd): Update dependency argoproj/argo-cd to v2.10.0

* Apply automatic changes

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Update CRDs to v2.10.0

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Add variables for new features

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

* Fix version in Chart.yaml

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-02-07 08:10:12 +01:00
François Blondel
5da598289d
feat(argo-cd): Add Probes for redis (#2400)
* feat(argo-cd): Add Probes for redis

Signed-off-by: François Blondel <francois.blondel@diva-e.com>

* fix: redis: move probes scripts from tpl file into configmap

Signed-off-by: François Blondel <francois.blondel@diva-e.com>

* Version Bump

Signed-off-by: François Blondel <francois.blondel@diva-e.com>

* feat: set Redis probes optionnal and disabled by default

Signed-off-by: François Blondel <francois.blondel@diva-e.com>

---------

Signed-off-by: François Blondel <francois.blondel@diva-e.com>
Co-authored-by: François Blondel <francois.blondel@diva-e.com>
2024-02-06 22:11:23 +09:00
Ilia Lazebnik
4a50afcc77
chore(argo-cd): refresh from upstream (#2474)
* refresh from upstream

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* refresh from upstream

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
2024-02-05 07:25:42 +01:00
Jason Meridth
186065e31f
docs(argo-workflows): update documentation links to readthedocs (#2472)
argo-workflows docs moved from github pages to readthedocs

Signed-off-by: jmeridth <jmeridth@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-02-03 09:44:56 +09:00
renovate[bot]
865f452119
chore(argo-cd): Update dependency argoproj/argo-cd to v2.9.6 (#2473) 2024-02-02 23:50:17 +01:00
Imran Ismail
dc738a111b
fix(argocd-apps): move ignoreApplicationDifferences block up a level (#2471)
Signed-off-by: imranismail <hey@imranismail.dev>
2024-02-02 09:37:27 +00:00
René Gärtner
8b98cf177a
fix(argo-cd): bump dex image version to fix cves (#2468)
Signed-off-by: René Gärtner <boeller666@gmail.com>
2024-01-31 01:58:02 +09:00
Ilia Lazebnik
1f824314d4
feat(argo-cd): bump redis deps to fix cves (#2466)
* bump redis deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* bump redis deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* bump redis deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

* bump redis deps

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>

---------

Signed-off-by: drfaust92 <ilia.lazebnik@gmail.com>
2024-01-30 10:46:30 +00:00
Imran Ismail
3b7a005ce3
feat(argocd-apps): support ignoreApplicationDifferences for appsets (#2442)
* feat(argocd-apps): support ignoreApplicationDifferences

Signed-off-by: imranismail <hey@imranismail.dev>

* chore: bump version

Signed-off-by: Imran Ismail <hey@imranismail.dev>

---------

Signed-off-by: imranismail <hey@imranismail.dev>
Signed-off-by: Imran Ismail <hey@imranismail.dev>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-01-30 09:34:04 +09:00
Aikawa
47102d9768
fix(argo-cd): Restart argocd-server when argocd-cm CM is updated (#2459) 2024-01-29 07:58:33 -06:00
dependabot[bot]
b40ec32467
chore(deps): bump tj-actions/changed-files from 42.0.0 to 42.0.2 (#2458) 2024-01-27 09:27:37 -06:00
dependabot[bot]
a31b3f02de
chore(deps): bump actions/upload-artifact from 4.2.0 to 4.3.0 (#2457) 2024-01-27 05:55:28 -06:00
Aikawa
a2c964045a
docs(argo-workflows): Add MySQL persistence support explicitly on README (#2448) 2024-01-27 06:02:37 +09:00
Ishan Sharma
1de9659d1c
fix(argo-cd): Fix Repo server serviceaccount label template (#2454)
Signed-off-by: ishuar <ishansharma887@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
2024-01-26 07:35:45 +00:00
renovate[bot]
9bb5330eb8
chore(argo-rollouts): Update dependency argoproj/argo-rollouts to v1.6.5 (#2453) 2024-01-26 00:31:11 -06:00
Aikawa
bc89bb5dd6
docs(argocd-apps): Add deprecated note for Argo CD Extensions (#2449)
* docs(argocd-apps): Add deprecated note for Argo CD Extensions

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argocd-apps): Remove broken CI

Signed-off-by: yu-croco <yu.croco@gmail.com>

* chore(argocd-apps): Bump minor version due to deprecation

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-01-25 08:07:29 +01:00
James Slater
03c26fc21f
fix(argo-workflows): Fix trailing whitespace in controller ConfigMap (#2451)
This commit addresses two places where trailing whitespace may be
generated in the workflow-controller ConfigMap.

When the value `.resourceRateLimit` is not null, a trailing whitespace
is added after "resourceRateLimit:". This commit trims that whitespace.

When the value `.sso.redirectUrl` is left as the default of empty string,
a trailing whitespace is left after "redirectUrl:" as this value is not
quoted. This commit pipes this value through `quote` to ensure this
whitespace is no longer trailing and instead followed by `"` pair.

The main motivation of this commit is to generate a workflow-controller
ConfigMap that is properly pretty-printed, which trailing whitespace
prevents.

Signed-off-by: James Slater <SlaterByte@users.noreply.github.com>
Co-authored-by: James Slater <SlaterByte@users.noreply.github.com>
2024-01-25 08:57:56 +09:00
Matt Dainty
9e70f24c64
docs(argo-cd): Update docs with the correct default for application.instanceLabelKey (#2447)
docs: Update docs with the correct default for application.instanceLabelKey

Signed-off-by: Matt Dainty <matt@bodgit-n-scarper.com>
2024-01-23 10:07:30 +09:00
João Estrela
c734875b81
chore(argo-cd): Change redis repository to public.ecr.aws (#2446)
Signed-off-by: João Estrela <jestrela@barracuda.com>
2024-01-23 08:54:49 +09:00
Aikawa
5ac542fabb
chore(argo-cd): Provide Casbin matcher explicitly (#2445)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-01-22 13:09:08 +00:00
Aikawa
53620e3102
fix(argo-cd): Fix fail to render .Values.configs.secret.azureDevops (#2443)
* fix(argo-cd): Fix fail to render `.Values.configs.secret.azureDevops`

Signed-off-by: yu-croco <yu.croco@gmail.com>

* chore(argo-cd): Remove unnecessary comment

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-cd): base64 username

Signed-off-by: yu-croco <yu.croco@gmail.com>

* fix(argo-cd): correct syntax

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-01-22 10:14:32 +00:00
Aikawa
9e31be4a60
feat(argo-cd): Support Azure DevOps webhook Secret (#2439)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-01-21 13:35:46 +00:00
dependabot[bot]
be7ed3d232
chore(deps): bump tj-actions/changed-files from 41.0.1 to 42.0.0 (#2440) 2024-01-20 06:52:58 -06:00
dependabot[bot]
1b5f787422
chore(deps): bump actions/upload-artifact from 4.1.0 to 4.2.0 (#2441) 2024-01-20 06:49:38 -06:00
Aikawa
cc5b21f9ad
docs(argo-cd): Add reference for Argo CD extensions (#2438)
Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-01-20 13:07:38 +01:00
renovate[bot]
f2fa2ce9cb
chore(argo-cd): Update dependency argoproj/argo-cd to v2.9.5 (#2436) 2024-01-19 20:19:53 +00:00
renovate[bot]
0a851b87ef
chore(argo-cd): Update dependency argoproj/argo-cd to v2.9.4 (#2434) 2024-01-19 06:48:24 +01:00
Michele Sacchetti
508162f1cc
feat(argo-cd): Add optional mapping of argocd-repo-server emptydir to custom volumes (#2410)
* Add optional volumes to replace emptydir

Provide user-driven option to replace emptydir volumes with desired solution

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* existingVolumes default values

provide default values with empy object to ensure default behavior is backward-compatible

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* Update Chart.yaml

bump version

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* Update Chart.yaml

add changelog

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* fix docs

fix docs on new entry

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* fix readme

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* Update README.md.gotmpl

Signoff commit

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* fix readme

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

* fixCamelCase
Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>

---------

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>
2024-01-18 14:56:33 +01:00
Aikawa
e37093f273
feat(argocd-image-updater): Support extra K8s manifests (#2429)
* feat(argocd-image-updater): Support extra K8s manifests

Signed-off-by: yu-croco <yu.croco@gmail.com>

* chore(argocd-image-updater): add CI for extraObjects

Signed-off-by: yu-croco <yu.croco@gmail.com>

---------

Signed-off-by: yu-croco <yu.croco@gmail.com>
2024-01-18 07:21:37 +01:00
Lucas Fernando Cardoso Nunes
d5b942a873
docs(argo-workflows): fix wrong artifactRepository identations on values.yaml (#2426)
* fix: wrong `artifactRepository` identations on values.yaml

on `artifactRepository.gcs`
the following 3 keys were in the same level:
- `.serviceAccountKeySecret`
- `.name`
- `.key`

Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>

* Update Chart.yaml

Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>

---------

Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
2024-01-17 07:56:17 +00:00
Aman Gupta
e6de8c47b9
docs(argo-cd): Fix policy.csv block (#2423)
* Minor Changes to policy.csv block

Added Missing ':'

Signed-off-by: Aman Gupta <aman.iv0012@gmail.com>

* Update Chart.yaml

Signed-off-by: Aman Gupta <aman.iv0012@gmail.com>

* Update Changelog

Signed-off-by: Aman Gupta <aman.iv0012@gmail.com>

---------

Signed-off-by: Aman Gupta <aman.iv0012@gmail.com>
2024-01-15 18:12:39 +09:00
renovate[bot]
524089b9df
chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.4 (#2422)
* chore(argo-workflows): Update dependency argoproj/argo-workflows to v3.5.4

* Apply automatic changes

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-01-14 17:10:59 +09:00
dependabot[bot]
1cc80bfe10
chore(deps): bump actions/upload-artifact from 4.0.0 to 4.1.0 (#2421) 2024-01-13 09:09:25 -06:00
257 changed files with 14980 additions and 2542 deletions

8
.github/configs/renovate-config.js vendored Normal file
View file

@ -0,0 +1,8 @@
module.exports = {
platform: 'github',
// This ensures that the gitAuthor and gitSignOff fields match
gitAuthor: 'argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>',
autodiscover: false,
allowPostUpgradeCommandTemplating: true,
allowedPostUpgradeCommands: [".*"],
};

View file

@ -6,3 +6,11 @@ updates:
schedule: schedule:
interval: weekly interval: weekly
day: "saturday" day: "saturday"
commit-message:
prefix: "chore(deps)"
groups:
dependencies:
applies-to: version-updates
update-types:
- "minor"
- "patch"

View file

@ -1,57 +0,0 @@
## Used on Renovate PRs to bump the chart version and add a changelog entry
## Reference: https://github.com/stefanzweifel/git-auto-commit-action
## Reference: https://github.com/marketplace/actions/changed-files
name: 'Chart Version Bump and Changelog'
on:
pull_request:
types:
- labeled
permissions:
contents: write
jobs:
helm-bumper:
if: ${{ (contains(github.event.pull_request.labels.*.name, 'renovate')) }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: ${{ secrets.PAT }}
fetch-depth: 0
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@716b1e13042866565e00e85fd4ec490e186c4a2f # v41.0.1
with:
files: charts/{argo-workflows,argo-cd,argo-events,argo-rollouts,argocd-image-updater}/Chart.yaml
- name: "Bump Version and Changelog"
run: |
chartName="$(echo \"${{ steps.changed-files.outputs.all_changed_files }}\" | cut -d '/' -f2)"
echo "Changed chart name is: $chartName"
echo "----------------------------------------"
parentDir="charts/${chartName}"
# Bump the chart version by one patch version
version=$(grep '^version:' ${parentDir}/Chart.yaml | awk '{print $2}')
major=$(echo $version | cut -d. -f1)
minor=$(echo $version | cut -d. -f2)
patch=$(echo $version | cut -d. -f3)
patch=$(expr $patch + 1)
sed -i "s/^version:.*/version: ${major}.${minor}.${patch}/g" ${parentDir}/Chart.yaml
# Add a changelog entry
appVersion=$(grep '^appVersion:' ${parentDir}/Chart.yaml | awk '{print $2}')
sed -i -e '/^ artifacthub.io\/changes: |/,$d' ${parentDir}/Chart.yaml
echo " artifacthub.io/changes: |" >> ${parentDir}/Chart.yaml
echo " - kind: changed" >> ${parentDir}/Chart.yaml
echo " description: Bump ${chartName} to ${appVersion}" >> ${parentDir}/Chart.yaml
cat ${parentDir}/Chart.yaml
- name: "Commit and push changes"
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5.0.0
with:
commit_options: '--signoff'

View file

@ -13,7 +13,7 @@ jobs:
options: --user 1001 options: --user 1001
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run ah lint - name: Run ah lint
working-directory: ./charts working-directory: ./charts
run: ah lint run: ah lint
@ -22,26 +22,26 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Set up Helm - name: Set up Helm
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
with: with:
version: v3.10.1 # Also update in publish.yaml version: v3.10.1 # Also update in publish.yaml
- name: Set up python - name: Set up python
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0 uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
with: with:
python-version: 3.9 python-version: 3.9
- name: Setup Chart Linting - name: Setup Chart Linting
id: lint id: lint
uses: helm/chart-testing-action@e6669bcd63d7cb57cb4380c33043eebe5d111992 # v2.6.1 uses: helm/chart-testing-action@0d28d3144d3a25ea2cc349d6e59901c4ff469b3b # v2.7.0
with: with:
# Note: Also update in scripts/lint.sh # Note: Also update in scripts/lint.sh
version: v3.10.0 version: v3.11.0
- name: List changed charts - name: List changed charts
id: list-changed id: list-changed
@ -70,11 +70,10 @@ jobs:
fi fi
- name: Create kind cluster - name: Create kind cluster
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0 uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0
if: steps.list-changed.outputs.changed == 'true' if: steps.list-changed.outputs.changed == 'true'
with: with:
config: .github/configs/kind-config.yaml config: .github/configs/kind-config.yaml
- name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions - name: Deploy latest ArgoCD CRDs when testing ArgoCD extensions
if: | if: |
contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') || contains(steps.list-changed.outputs.changed_charts, 'argocd-image-updater') ||

View file

@ -25,6 +25,6 @@ jobs:
size-label: size-label:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: pascalgn/size-label-action@37a5ad4ae20ea8032abf169d953bcd661fd82cd3 # v0.5.0 - uses: pascalgn/size-label-action@f8edde36b3be04b4f65dcfead05dc8691b374348 # v0.5.5
env: env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"

View file

@ -19,7 +19,7 @@ jobs:
name: Validate PR title name: Validate PR title
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: amannn/action-semantic-pull-request@e9fabac35e210fea40ca5b14c0da95a099eff26f # v5.4.0 - uses: amannn/action-semantic-pull-request@0723387faaf9b38adef4775cd42cfd5155ed6017 # v5.5.3
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with: with:

View file

@ -12,18 +12,19 @@ permissions:
jobs: jobs:
publish: publish:
if: github.repository == 'argoproj/argo-helm'
permissions: permissions:
contents: write # for helm/chart-releaser-action to push chart release and create a release contents: write # for helm/chart-releaser-action to push chart release and create a release
packages: write # to push OCI chart package to GitHub Registry packages: write # to push OCI chart package to GitHub Registry
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
fetch-depth: 0 fetch-depth: 0
- name: Install Helm - name: Install Helm
uses: azure/setup-helm@5119fcb9089d432beecbf79bb2c7915207344b78 # v3.5 uses: azure/setup-helm@fe7b79cd5ee1e45176fcad797de68ecaf3ca4814 # v4.2.0
with: with:
version: v3.10.1 # Also update in lint-and-test.yaml version: v3.10.1 # Also update in lint-and-test.yaml
@ -58,14 +59,14 @@ jobs:
PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}" PGP_PASSPHRASE: "${{ secrets.PGP_PASSPHRASE }}"
- name: Run chart-releaser - name: Run chart-releaser
uses: helm/chart-releaser-action@a917fd15b20e8b64b94d9158ad54cd6345335584 # v1.6.0 uses: helm/chart-releaser-action@cae68fefc6b5f367a0275617c9f83181ba54714f # v1.7.0
with: with:
config: "./.github/configs/cr.yaml" config: "./.github/configs/cr.yaml"
env: env:
CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
- name: Login to GHCR - name: Login to GHCR
uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d # v3.0.0 uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.actor }} username: ${{ github.actor }}

38
.github/workflows/renovate.yaml vendored Normal file
View file

@ -0,0 +1,38 @@
name: Renovate
on:
# The "*" (#42, asterisk) character has special semantics in YAML, so this
# string has to be quoted.
schedule:
- cron: '0 * * * *'
# Manual trigger is also possible
workflow_dispatch: {}
permissions:
contents: read
jobs:
renovate:
if: github.repository == 'argoproj/argo-helm'
runs-on: ubuntu-latest
steps:
- name: Get token
uses: actions/create-github-app-token@0d564482f06ca65fa9e77e2510873638c82206f2 # v1.11.5
id: get_token
with:
app-id: ${{ vars.RENOVATE_APP_ID }}
private-key: ${{ secrets.RENOVATE_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Self-hosted Renovate
uses: renovatebot/github-action@e084b5ac6fd201023db6dd7743aec023babb02c8 # v41.0.13
with:
configurationFile: .github/configs/renovate-config.js
# renovate: datasource=docker depName=ghcr.io/renovatebot/renovate
renovate-version: 39.153.2
token: '${{ steps.get_token.outputs.token }}'
mount-docker-socket: true
env:
LOG_LEVEL: 'debug'
RENOVATE_REPOSITORIES: '${{ github.repository }}'

View file

@ -33,12 +33,12 @@ jobs:
steps: steps:
- name: "Checkout code" - name: "Checkout code"
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with: with:
persist-credentials: false persist-credentials: false
- name: "Run analysis" - name: "Run analysis"
uses: ossf/scorecard-action@0864cf19026789058feabb7e87baa5f140aac736 # v2.3.1 uses: ossf/scorecard-action@62b2cac7ed8198b15735ed49ab1e5cf35480ba46 # v2.4.0
with: with:
results_file: results.sarif results_file: results.sarif
results_format: sarif results_format: sarif
@ -60,7 +60,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab. # format to the repository Actions tab.
- name: "Upload artifact" - name: "Upload artifact"
uses: actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0 uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
with: with:
name: SARIF file name: SARIF file
path: results.sarif path: results.sarif
@ -68,6 +68,6 @@ jobs:
# Upload the results to GitHub's code scanning dashboard. # Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning" - name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4 uses: github/codeql-action/upload-sarif@9e8d0789d4a0fa9ceb6b1738f7e269594bdd67f0 # v3.28.9
with: with:
sarif_file: results.sarif sarif_file: results.sarif

View file

@ -14,7 +14,7 @@ jobs:
pull-requests: write # for actions/stale to close stale PRs pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0 - uses: actions/stale@5bef64f19d7facfb25b37b414482c7164d639639 # v9.1.0
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
# Number of days of inactivity before an issue becomes stale # Number of days of inactivity before an issue becomes stale

View file

@ -124,7 +124,7 @@ helm install charts/argo-workflows -n argo
argo version argo version
``` ```
Follow [these](https://argoproj.github.io/argo-workflows/quick-start/#submitting-an-example-workflow) instructions for running a hello world workflow. Follow [these](https://argo-workflows.readthedocs.io/en/stable/quick-start/#submitting-an-example-workflow) instructions for running a hello world workflow.
### Testing Argo CD Changes ### Testing Argo CD Changes

View file

@ -42,3 +42,63 @@ Please refer to [SECURITY.md](SECURITY.md) for details on how to report security
### Changelog ### Changelog
Releases are managed independently for each helm chart, and changelogs are tracked on each release. Read more about this process [here](https://github.com/argoproj/argo-helm/blob/main/CONTRIBUTING.md#changelog). Releases are managed independently for each helm chart, and changelogs are tracked on each release. Read more about this process [here](https://github.com/argoproj/argo-helm/blob/main/CONTRIBUTING.md#changelog).
## Charts use Helm "Capabilities"
Our charts make use of the Helm built-in object "Capabilities":
> This provides information about what capabilities the Kubernetes cluster supports.
> *Source: https://helm.sh/docs/chart_template_guide/builtin_objects/*
Today we use:
- `.Capabilities.APIVersions.Has` mostly to determine whether the CRDs for ServiceMonitors (from prometheus-operator) exists inside the cluster
- `.Capabilities.KubeVersion.Version` to handle correct apiVersion of a specific resource kind (eg. "policy/v1" vs. "policy/v1beta1")
If you use the charts only to template the manifests, without installing (`helm install ..`), you need to make sure that Helm (or the Helm SDK) receives the available APIs from your Kubernetes cluster.
For this you need to pass the `--api-versions` parameter to the `helm template` command:
```bash
helm template argocd \
oci://ghcr.io/argoproj/argo-helm/argo-cd \
--api-versions monitoring.coreos.com/v1 \
--values my-argocd-values.yaml
```
If you use other tools like [Kustomize](https://kubectl.docs.kubernetes.io/references/kustomize/builtins/) or [helmfile](https://helmfile.readthedocs.io/en/latest/#configuration) to render it, there are equivalent options.
Example with Kustomize:
```yaml
# kustomization.yaml
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
helmCharts:
- name: argo-cd
repo: oci://ghcr.io/argoproj/argo-helm
version: x.y.z
releaseName: argocd
apiVersions:
- monitoring.coreos.com/v1
valuesFile: my-argocd-values.yaml
```
Example with helmfile:
```yaml
# helmfile.yaml
repositories:
- name: argo
url: https://argoproj.github.io/argo-helm
apiVersions:
- monitoring.coreos.com/v1
releases:
- name: argocd
namespace: argocd
chart: argo/argo-cd
values:
- my-argocd-values.yaml
```

View file

@ -6,7 +6,7 @@ Each helm chart currently supports the designated application version in the Cha
* [Security Policy for Argo Workflows](https://github.com/argoproj/argo-workflows/blob/master/SECURITY.md) * [Security Policy for Argo Workflows](https://github.com/argoproj/argo-workflows/blob/master/SECURITY.md)
* [Security Policy for Argo Events](https://github.com/argoproj/argo-events/blob/master/SECURITY.md) * [Security Policy for Argo Events](https://github.com/argoproj/argo-events/blob/master/SECURITY.md)
* [Security Policy for Argo Rollouts](https://github.com/argoproj/argo-rollouts/blob/master/docs/security.md) * [Security Policy for Argo Rollouts](https://github.com/argoproj/argo-rollouts/blob/master/docs/security/security.md)
* [Security Policy for Argo CD](https://github.com/argoproj/argo-cd/blob/master/SECURITY.md) * [Security Policy for Argo CD](https://github.com/argoproj/argo-cd/blob/master/SECURITY.md)
* [Security Policy for Argo CD Image Updater](https://github.com/argoproj-labs/argocd-image-updater/blob/master/SECURITY.md) * [Security Policy for Argo CD Image Updater](https://github.com/argoproj-labs/argocd-image-updater/blob/master/SECURITY.md)

View file

@ -1,6 +1,6 @@
dependencies: dependencies:
- name: redis-ha - name: redis-ha
repository: https://dandydeveloper.github.io/charts/ repository: https://dandydeveloper.github.io/charts/
version: 4.23.0 version: 4.29.4
digest: sha256:589f9972fbdf36194d443c9d3be2a1747f43e03c435fc48004cc0cbe6b3c6e3c digest: sha256:1257baf1c5e0db036af659d44095223e28ac0c9ec1ed8300a02d5def2281c9c7
generated: "2023-05-15T19:25:26.049618+09:00" generated: "2024-11-13T09:07:36.494128+09:00"

View file

@ -1,9 +1,9 @@
apiVersion: v2 apiVersion: v2
appVersion: v2.9.3 appVersion: v2.14.2
kubeVersion: ">=1.23.0-0" kubeVersion: ">=1.25.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes. description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd name: argo-cd
version: 5.52.1 version: 7.8.3
home: https://github.com/argoproj/argo-helm home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources: sources:
@ -18,7 +18,7 @@ maintainers:
url: https://argoproj.github.io/ url: https://argoproj.github.io/
dependencies: dependencies:
- name: redis-ha - name: redis-ha
version: 4.23.0 version: 4.29.4
repository: https://dandydeveloper.github.io/charts/ repository: https://dandydeveloper.github.io/charts/
condition: redis-ha.enabled condition: redis-ha.enabled
annotations: annotations:
@ -27,4 +27,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: | artifacthub.io/changes: |
- kind: changed - kind: changed
description: DRY cleanup of ServiceAccounts description: Bump dex version to v2.42.0

File diff suppressed because it is too large Load diff

View file

@ -63,7 +63,181 @@ applicationSet:
replicas: 2 replicas: 2
``` ```
### Synchronizing Changes from Original Repository ## Ingress configuration
Please refer to the [Operator Manual](https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#ingress-configurationh) for details as the samples
below corespond to their respective sections.
### SSL-Passthrough
The `tls: true` option will expect that the `argocd-server-tls` secret exists as Argo CD server loads TLS certificates from this place.
```yaml
global:
domain: argocd.example.com
certificate:
enabled: true
server:
ingress:
enabled: true
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/ssl-passthrough: "true"
tls: true
```
### SSL Termination at Ingress Controller
```yaml
global:
domain: argocd.example.com
configs:
params:
server.insecure: true
server:
ingress:
enabled: true
ingressClassName: nginx
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
extraTls:
- hosts:
- argocd.example.com
# Based on the ingress controller used secret might be optional
secretName: wildcard-tls
```
> **Note:**
> If you don't plan on using a wildcard certificate it's also possible to use `tls: true` without `extraTls` section.
### Multiple ingress resources for gRPC protocol support
Use `ingressGrpc` section if your ingress controller supports only a single protocol per Ingress resource (i.e.: Contour).
```yaml
global:
domain: argocd.example.com
configs:
params:
server.insecure: true
server:
ingress:
enabled: true
ingressClassName: contour-internal
extraTls:
- hosts:
- argocd.example.com
secretName: wildcard-tls
ingressGrpc:
enabled: true
ingressClassName: contour-internal
extraTls:
- hosts:
- grpc.argocd.example.com
secretName: wildcard-tls
```
### Multiple ingress domains
```yaml
global:
domain: argocd.example.com
server:
ingress:
enabled: true
ingressClassName: nginx
annotations:
cert-manager.io/cluster-issuer: "<my-issuer>"
nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"
tls: true
extraHosts:
- name: argocd-alias.example.com
path: /
```
### AWS Application Load Balancer
Refer to the Operator Manual for [AWS Application Load Balancer mode](https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#aws-application-load-balancers-albs-and-classic-elb-http-mode).
The provided example assumes you are using TLS off-loading via AWS ACM service.
> **Note:**
> Using `controller: aws` creates additional service for gRPC traffic and it's no longer need to use `ingressGrpc` configuration section.
```yaml
global:
domain: argocd.example.com
configs:
params:
server.insecure: true
server:
ingress:
enabled: true
controller: aws
ingressClassName: alb
annotations:
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/target-type: ip
alb.ingress.kubernetes.io/backend-protocol: HTTP
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP":80}, {"HTTPS":443}]'
alb.ingress.kubernetes.io/ssl-redirect: '443'
aws:
serviceType: ClusterIP # <- Used with target-type: ip
backendProtocolVersion: GRPC
```
### GKE Application Load Balancer
The implementation will populate `ingressClassName`, `networking.gke.io/managed-certificates` and `networking.gke.io/v1beta1.FrontendConfig` annotations
automatically if you provide configuration for GKE resources.
```yaml
global:
domain: argocd.example.com
configs:
params:
server.insecure: true
server:
service:
annotations:
cloud.google.com/neg: '{"ingress": true}'
cloud.google.com/backend-config: '{"ports": {"http":"argocd-server"}}'
ingress:
enabled: true
controller: gke
gke:
backendConfig:
healthCheck:
checkIntervalSec: 30
timeoutSec: 5
healthyThreshold: 1
unhealthyThreshold: 2
type: HTTP
requestPath: /healthz
port: 8080
frontendConfig:
redirectToHttps:
enabled: true
managedCertificate:
enabled: true
```
## Synchronizing Changes from Original Repository
In the original [Argo CD repository](https://github.com/argoproj/argo-cd/) an [`manifests/install.yaml`](https://github.com/argoproj/argo-cd/blob/master/manifests/install.yaml) is generated using `kustomize`. It's the basis for the installation as [described in the docs](https://argo-cd.readthedocs.io/en/stable/getting_started/#1-install-argo-cd). In the original [Argo CD repository](https://github.com/argoproj/argo-cd/) an [`manifests/install.yaml`](https://github.com/argoproj/argo-cd/blob/master/manifests/install.yaml) is generated using `kustomize`. It's the basis for the installation as [described in the docs](https://argo-cd.readthedocs.io/en/stable/getting_started/#1-install-argo-cd).
@ -104,11 +278,112 @@ For full list of changes please check ArtifactHub [changelog].
Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version. Highlighted versions provide information about additional steps that should be performed by user when upgrading to newer version.
### 7.0.0
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
If you used the value, please migrate like below.
```yaml
# before
configs:
clusterCredentials:
- mycluster:
server: https://mycluster.example.com
labels: {}
annotations: {}
# ...
# after
configs:
clusterCredentials:
mycluster:
server: https://mycluster.example.com
labels: {}
annotations: {}
# ...
```
### 6.10.0
This version introduces authentication for Redis to mitigate GHSA-9766-5277-j5hr.
#### How to rotate Redis secret?
Upstream steps in the [FAQ] are not enough, since we chose a different approach.
(We use a Kubernetes Job with [Chart Hooks] to create the auth secret `argocd-redis`.)
Steps to rotate the secret when using the helm chart (bold step is additional to upstream):
* Delete `argocd-redis` secret in the namespace where Argo CD is installed.
```bash
kubectl delete secret argocd-redis -n <argocd namespace>
```
* **Perform a helm upgrade**
```bash
helm upgrade argocd argo/argo-cd --reuse-values --wait
```
* If you are running Redis in HA mode, restart Redis in HA.
```bash
kubectl rollout restart deployment argocd-redis-ha-haproxy
kubectl rollout restart statefulset argocd-redis-ha-server
```
* If you are running Redis in non-HA mode, restart Redis.
```bash
kubectl rollout restart deployment argocd-redis
```
* Restart other components.
```bash
kubectl rollout restart deployment argocd-server argocd-repo-server
kubectl rollout restart statefulset argocd-application-controller
```
### 6.9.0
ApplicationSet controller is always created to follow [upstream's manifest](https://github.com/argoproj/argo-cd/blob/v2.11.0/manifests/core-install/kustomization.yaml#L9).
### 6.4.0
Added support for application controller dynamic cluster distribution.
Please refer to [the docs](https://argo-cd.readthedocs.io/en/stable/operator-manual/dynamic-cluster-distribution) for more information.
Added env variables to handle the non-standard names generated by the helm chart.
Here are the [docs](https://argo-cd.readthedocs.io/en/release-2.9/user-guide/environment-variables/)
and [code](https://github.com/argoproj/argo-cd/blob/99723143b96ceec9ef5b0a7feb7b4f4b0dce3497/common/common.go#L252)
### 6.1.0
Added support for global domain used by all components.
### 6.0.0
This version **removes support for**:
* deprecated component options `logLevel` and `logFormat`
* deprecated component arguments `<components>.args.<feature>` that were replaced with `configs.params`
* deprecated configuration `server.config` that was replaced with `configs.cm`
* deprecated configuration `server.rbacConfig` that was replaced with `configs.rbac`
Major version also contains breaking **changes related to Argo CD Ingress** resources that were hard to extend and maintain for various ingress controller implementations.
Please review your setup and adjust to new configuration options:
* catch all rule was removed for security reasons. If you need this please use `server.ingress.extraRules` to provide ingress rule without hostname
* ingress rule for `paths` changed to `path` as there is only single Argo CD backend path
* ingress rule for `hosts` changed to `hostname` as there can be only single SSO redirect for given hostname
* ingress TLS for server uses by default `argocd-server-tls` secret required by Argo CD server, additional ingresses are using `<hostname>-tls` secret when `tls: true`
* additional hostnames and routing can be provided via `extraHosts` configuration section
* additional TLS secrets can be provided via `extraTls` configuration section
Please refer to [ingress configuration](#ingress-configuration) for examples.
### 5.53.0
Argocd-repo-server can now optionally use Persistent Volumes for its mountpoints instead of only emptydir()
### 5.52.0 ### 5.52.0
Because [Argo CD Extensions] is now deprecated and no further changes will be made, we switched to [Argo CD Extension Installer], adding an Argo CD Extension Installer to init-container in the Argo CD API server. Because [Argo CD Extensions] is now deprecated and no further changes will be made, we switched to [Argo CD Extension Installer], adding an Argo CD Extension Installer to init-container in the Argo CD API server.
If you used old mechanism, please move to new mechanism. For more details, please refer `.Values.server.extensions` in values.yaml. If you used old mechanism, please move to new mechanism. For more details, please refer `.Values.server.extensions` in values.yaml.
### 5.35.0 ### 5.35.0
This version supports Kubernetes version `>=1.23.0-0`. The current supported version of Kubernetes is v1.24 or later and we align with the Amazon EKS calendar, because many AWS users follow a conservative approach. This version supports Kubernetes version `>=1.23.0-0`. The current supported version of Kubernetes is v1.24 or later and we align with the Amazon EKS calendar, because many AWS users follow a conservative approach.
Please see more information about EoL: [Amazon EKS EoL][EKS EoL]. Please see more information about EoL: [Amazon EKS EoL][EKS EoL].
@ -397,7 +672,7 @@ NAME: my-release
| Key | Type | Default | Description | | Key | Type | Default | Description |
|-----|------|---------|-------------| |-----|------|---------|-------------|
{{- range .Values }} {{- range .Values }}
{{- 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) ) }} {{- 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) ) }}
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} | | {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }} {{- end }}
{{- end }} {{- end }}
@ -452,28 +727,6 @@ NAME: my-release
{{- end }} {{- end }}
{{- end }} {{- end }}
### Using AWS ALB Ingress Controller With GRPC
If you are using an AWS ALB Ingress controller, you will need to set `server.ingressGrpc.isAWSALB` to `true`. This will create a second service with the annotation `alb.ingress.kubernetes.io/backend-protocol-version: HTTP2` and modify the server ingress to add a condition annotation to route GRPC traffic to the new service.
Example:
```yaml
server:
ingress:
enabled: true
annotations:
alb.ingress.kubernetes.io/backend-protocol: HTTPS
alb.ingress.kubernetes.io/listen-ports: '[{"HTTPS":443}]'
alb.ingress.kubernetes.io/scheme: internal
alb.ingress.kubernetes.io/target-type: ip
ingressGrpc:
enabled: true
isAWSALB: true
awsALB:
serviceType: ClusterIP
```
## Dex ## Dex
| Key | Type | Default | Description | | Key | Type | Default | Description |
@ -527,6 +780,19 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
{{- end }} {{- end }}
{{- end }} {{- end }}
### Redis secret-init
The helm chart deploys a Job to setup a random password which is used to secure the Redis. The Redis password is stored in Kubernetes secret `argocd-redis` with key `auth` in the namespace where Argo CD is installed.
If you use an External Redis (See Option 3 above), this Job is not deployed.
| Key | Type | Default | Description |
|-----|------|---------|-------------|
{{- range .Values }}
{{- if hasPrefix "redisSecretInit" .Key }}
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
{{- end }}
## ApplicationSet ## ApplicationSet
| Key | Type | Default | Description | | Key | Type | Default | Description |
@ -547,28 +813,44 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
{{- end }} {{- end }}
{{- end }} {{- end }}
## Commit server (Manifest Hydrator)
The Argo CD Commit Server provides push access to git repositories for hydrated manifests.
To read more about this component, please read [Argo CD Manifest Hydrator] and [Manifest Hydrator].
| Key | Type | Default | Description |
|-----|------|---------|-------------|
{{- range .Values }}
{{- if hasPrefix "commitServer" .Key }}
| {{ .Key }} | {{ .Type }} | {{ if .Default }}{{ .Default }}{{ else }}{{ .AutoDefault }}{{ end }} | {{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }} |
{{- end }}
{{- end }}
---------------------------------------------- ----------------------------------------------
Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs) Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/helm-docs)
[Argo CD RBAC policy]: https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/ [Argo CD RBAC policy]: https://argo-cd.readthedocs.io/en/stable/operator-manual/rbac/
[affinity]: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/ [affinity]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/
[BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/concepts/backendconfig#backendconfigspec_v1beta1_cloudgooglecom [BackendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#backendconfigspec_v1beta1_cloudgooglecom
[CSS styles]: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/ [CSS styles]: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
[changelog]: https://artifacthub.io/packages/helm/argo/argo-cd?modal=changelog [changelog]: https://artifacthub.io/packages/helm/argo/argo-cd?modal=changelog
[Chart Hooks]: https://helm.sh/docs/topics/charts_hooks/
[DNS configuration]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/ [DNS configuration]: https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/
[external cluster credentials]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters [external cluster credentials]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup/#clusters
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-features#configuring_ingress_features_through_frontendconfig_parameters [FAQ]: https://argo-cd.readthedocs.io/en/stable/faq/
[FrontendConfigSpec]: https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#configuring_ingress_features_through_frontendconfig_parameters
[declarative setup]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup [declarative setup]: https://argo-cd.readthedocs.io/en/stable/operator-manual/declarative-setup
[gRPC-ingress]: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/ [gRPC-ingress]: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/
[GnuPG]: https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/ [GnuPG]: https://argo-cd.readthedocs.io/en/stable/user-guide/gpg-verification/
[HPA]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ [HPA]: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
[MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs [MetricRelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#metric_relabel_configs
[Node selector]: https://kubernetes.io/docs/user-guide/node-selection/ [Node selector]: https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/#nodeselector
[PodDisruptionBudget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets [PodDisruptionBudget]: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
[probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes [probe]: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
[RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config [RelabelConfigs]: https://prometheus.io/docs/prometheus/latest/configuration/configuration/#relabel_config
[Tolerations]: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ [Tolerations]: https://kubernetes.io/docs/concepts/scheduling-eviction/taint-and-toleration/
[TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/ [TopologySpreadConstraints]: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
[values.yaml]: values.yaml [values.yaml]: values.yaml
[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 [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
[tini]: https://github.com/argoproj/argo-cd/pull/12707 [tini]: https://github.com/argoproj/argo-cd/pull/12707
@ -577,3 +859,5 @@ Autogenerated from chart metadata using [helm-docs](https://github.com/norwoodj/
[Applications in any namespace]: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/#applications-in-any-namespace [Applications in any namespace]: https://argo-cd.readthedocs.io/en/stable/operator-manual/app-any-namespace/#applications-in-any-namespace
[Argo CD Extensions]: https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file#deprecation-notice [Argo CD Extensions]: https://github.com/argoproj-labs/argocd-extensions?tab=readme-ov-file#deprecation-notice
[Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer [Argo CD Extension Installer]: https://github.com/argoproj-labs/argocd-extension-installer
[Argo CD Manifest Hydrator]: https://argo-cd.readthedocs.io/en/stable/proposals/manifest-hydrator/
[Manifest Hydrator]: https://github.com/argoproj/argo-cd/blob/master/docs/proposals/manifest-hydrator.md

View file

@ -0,0 +1,6 @@
# Test application controller dynamic cluster distribution
crds:
keep: false
controller:
dynamicClusterDistribution: true

View file

@ -0,0 +1,3 @@
# Test Argo CD with optional component "commit-server"
commitServer:
enabled: true

View file

@ -1,136 +1,6 @@
{{- if .Values.controller.args.statusProcessors }}
DEPRECATED option controller.args.statusProcessors - Use configs.params.controller.status.processors
{{- end }}
{{- if .Values.controller.args.operationProcessors }}
DEPRECATED option controller.args.operationProcessors - Use configs.params.controller.operation.processors
{{- end }}
{{- if .Values.controller.args.appResyncPeriod }}
DEPRECATED option controller.args.appResyncPeriod - Use server.config.timeout.reconciliation
{{- end }}
{{- if .Values.controller.args.appHardResyncPeriod }}
DEPRECATED option controller.args.appHardResyncPeriod - Use server.config.timeout.hard.reconciliation
{{- end }}
{{- if .Values.controller.args.selfHealTimeout }}
DEPRECATED option controller.args.selfHealTimeout - Use configs.params.controller.self.heal.timeout.seconds
{{- end }}
{{- if .Values.controller.args.repoServerTimeoutSeconds }}
DEPRECATED option controller.args.repoServerTimeoutSeconds - Use configs.params.controller.repo.server.timeout.seconds
{{- end }}
{{- if .Values.controller.logFormat }}
DEPRECATED option controller.logFormat - Use configs.params.controller.log.format
{{- end }}
{{- if .Values.controller.logLevel }}
DEPRECATED option controller.logLevel - Use configs.params.controller.log.level
{{- end }}
{{- if .Values.server.logFormat }}
DEPRECATED option server.logFormat - Use configs.params.server.log.format
{{- end }}
{{- if .Values.server.logLevel }}
DEPRECATED option server.logLevel - Use configs.params.server.log.level
{{- end }}
{{- if has "--insecure" .Values.server.extraArgs }}
DEPRECATED option server.extraArgs."--insecure" - Use configs.params.server.insecure
{{- end }}
{{- if .Values.repoServer.logFormat }}
DEPRECATED option repoServer.logFormat - Use configs.params.repoServer.log.format
{{- end }}
{{- if .Values.repoServer.logLevel }}
DEPRECATED option repoServer.logLevel - Use configs.params.repoServer.log.level
{{- end }}
{{- if or .Values.server.config (hasKey .Values.server "configEnabled") .Values.server.configAnnotations }}
DEPRECATED option server.config - Use configs.cm
{{- end }}
{{- if or .Values.server.rbacConfig (hasKey .Values.server "rbacConfigCreate") .Values.server.rbacConfigAnnotations }}
DEPRECATED option server.rbacConfig - Use configs.rbac
{{- end }}
{{- if .Values.configs.secret.argocdServerTlsConfig }}
DEPRECATED option config.secret.argocdServerTlsConfig - Use server.certificate or server.certificateSecret
{{- end }}
{{- if .Values.configs.gpgKeys }}
DEPRECATED option configs.gpgKeys - Use config.gpg.keys
{{- end }}
{{- if .Values.configs.gpgKeysAnnotations }}
DEPRECATED option configs.gpgKeysAnnotations - Use config.gpg.annotations
{{- end }}
{{- if hasKey (.Values.controller.clusterAdminAccess | default dict) "enabled" }}
DEPRECATED option .controller.clusterAdminAccess.enabled - Use createClusterRoles
{{- end }}
{{- if hasKey (.Values.server.clusterAdminAccess | default dict) "enabled" }}
DEPRECATED option .server.clusterAdminAccess.enabled - Use createClusterRoles
{{- end }}
{{- if hasKey (.Values.repoServer.clusterAdminAccess | default dict) "enabled" }}
DEPRECATED option .server.clusterAdminAccess.enabled - Use createClusterRoles
{{- end }}
{{- if .Values.configs.knownHostsAnnotations }}
DEPRECATED option configs.knownHostsAnnotations - Use configs.ssh.annotations
{{- end }}
{{- if hasKey .Values.configs "knownHosts" }}
DEPRECATED option configs.knownHosts.data.ssh_known_hosts - Use configs.ssh.knownHosts
{{- end }}
{{- if .Values.configs.tlsCertsAnnotations }}
DEPRECATED option configs.tlsCertsAnnotations - Use configs.tls.annotations
{{- end }}
{{- if hasKey .Values.configs "tlsCerts" }}
DEPRECATED option configs.tlsCerts.data - Use configs.tls.certificates
{{- end }}
{{- if .Values.applicationSet.replicaCount }}
DEPRECATED option applicationSet.replicaCount - Use applicationSet.replicas
{{- end }}
{{- if .Values.applicationSet.logFormat }}
DEPRECATED option applicationSet.logFormat - Use configs.params.applicationsetcontroller.log.format
{{- end }}
{{- if .Values.applicationSet.logLevel }}
DEPRECATED option applicationSet.logLevel - Use configs.params.applicationsetcontroller.log.level
{{- end }}
{{- if .Values.applicationSet.args.policy }}
DEPRECATED option applicationSet.args.policy - Use configs.params.applicationsetcontroller.policy
{{- end }}
{{- if .Values.applicationSet.args.dryRun }}
DEPRECATED option applicationSet.args.dryRun - Use configs.params.applicationsetcontroller.dryRun
{{- end }}
{{- if .Values.controller.service }}
REMOVED option controller.service - Use controller.metrics
{{- end }}
{{- if .Values.repoServer.copyutil }}
REMOVED option repoSever.copyutil.resources - Use repoServer.resources
{{- end }}
{{- if .Values.applicationSet.args.debug }}
REMOVED option applicationSet.args.debug - Use applicationSet.logLevel: debug
{{- end }}
{{- if .Values.applicationSet.args.enableLeaderElection }}
REMOVED option applicationSet.args.enableLeaderElection - Value determined based on replicas
{{- end }}
{{- if .Values.controller.containerPort }}
REMOVED option controller.containerPort - Use controller.containerPorts
{{- end }}
{{- if .Values.server.containerPort }}
REMOVED option server.containerPort - Use server.containerPorts
{{- end }}
{{- if .Values.repoServer.containerPort }}
REMOVED option repoServer.containerPort - Use repoServer.containerPorts
{{- end }}
{{- if .Values.applicationSet.args.metricsAddr }}
REMOVED option applicationSet.args.metricsAddr - Use applicationSet.containerPorts
{{- end }}
{{- if .Values.applicationSet.args.probeBindAddr }}
REMOVED option applicationSet.args.probeBindAddr - Use applicationSet.containerPorts
{{- end }}
{{- if .Values.redis.containerPort }}
REMOVED option redis.containerPort - Use redis.containerPorts
{{- end }}
{{- if .Values.redis.metrics.containerPort }}
REMOVED option redis.metrics.containerPort - Use redis.containerPorts
{{- end }}
{{- if .Values.apiVersionOverrides.autoscaling }}
REMOVED option apiVersionOverrides.autoscaling - API autoscaling/v2 is GA from 1.23
{{- end }}
{{- if .Values.apiVersionOverrides.certmanager }}
REMOVED option apiVersionOverrides.certmanager - API v1 is only possible option after K8s 1.22
{{- end }}
In order to access the server UI you have the following options: In order to access the server UI you have the following options:
1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ .Release.Namespace }} 8080:443 1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ include "argo-cd.namespace" . }} 8080:443
and then open the browser on http://localhost:8080 and accept the certificate and then open the browser on http://localhost:8080 and accept the certificate
@ -139,10 +9,10 @@ In order to access the server UI you have the following options:
- Set the `configs.params."server.insecure"` in the values file and terminate SSL at your ingress: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#option-2-multiple-ingress-objects-and-hosts - Set the `configs.params."server.insecure"` in the values file and terminate SSL at your ingress: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#option-2-multiple-ingress-objects-and-hosts
{{ if eq (toString (index (coalesce .Values.server.config .Values.configs.cm) "admin.enabled")) "true" -}} {{ if eq (toString (index .Values.configs.cm "admin.enabled")) "true" -}}
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: 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:
kubectl -n {{ .Release.Namespace }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d kubectl -n {{ include "argo-cd.namespace" . }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
(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) (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)
{{ else if or (index .Values.configs.cm "dex.config") (index .Values.configs.cm "oidc.config") -}} {{ else if or (index .Values.configs.cm "dex.config") (index .Values.configs.cm "oidc.config") -}}

View file

@ -86,6 +86,25 @@ Create the name of the redis service account to use
{{- end -}} {{- end -}}
{{- end -}} {{- end -}}
{{/*
Create Redis secret-init name
*/}}
{{- define "argo-cd.redisSecretInit.fullname" -}}
{{- printf "%s-%s" (include "argo-cd.fullname" .) .Values.redisSecretInit.name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create the name of the Redis secret-init service account to use
*/}}
{{- define "argo-cd.redisSecretInit.serviceAccountName" -}}
{{- if .Values.redisSecretInit.serviceAccount.create -}}
{{ default (include "argo-cd.redisSecretInit.fullname" .) .Values.redisSecretInit.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.redisSecretInit.serviceAccount.name }}
{{- end -}}
{{- end -}}
{{/* {{/*
Create argocd server name and version as used by the chart label. Create argocd server name and version as used by the chart label.
*/}} */}}
@ -159,10 +178,32 @@ Create the name of the notifications service account to use
{{- end -}} {{- end -}}
{{/* {{/*
Argo Configuration Preset Values (Incluenced by Values configuration) Create argocd commit-server name and version as used by the chart label.
*/}}
{{- define "argo-cd.commitServer.fullname" -}}
{{- printf "%s-%s" (include "argo-cd.fullname" .) .Values.commitServer.name | trunc 63 | trimSuffix "-" -}}
{{- end -}}
{{/*
Create the name of the commit-server service account to use
*/}}
{{- define "argo-cd.commitServer.serviceAccountName" -}}
{{- if .Values.commitServer.serviceAccount.create -}}
{{ default (include "argo-cd.commitServer.fullname" .) .Values.commitServer.serviceAccount.name }}
{{- else -}}
{{ default "default" .Values.commitServer.serviceAccount.name }}
{{- end -}}
{{- end -}}
{{/*
Argo Configuration Preset Values (Influenced by Values configuration)
*/}} */}}
{{- define "argo-cd.config.cm.presets" -}} {{- define "argo-cd.config.cm.presets" -}}
{{- $presets := dict -}} {{- $presets := dict -}}
{{- $_ := set $presets "url" (printf "https://%s" .Values.global.domain) -}}
{{- if eq (toString (index .Values.configs.cm "statusbadge.enabled")) "true" -}}
{{- $_ := set $presets "statusbadge.url" (printf "https://%s/" .Values.global.domain) -}}
{{- end -}}
{{- if .Values.configs.styles -}} {{- if .Values.configs.styles -}}
{{- $_ := set $presets "ui.cssurl" "./custom/custom.styles.css" -}} {{- $_ := set $presets "ui.cssurl" "./custom/custom.styles.css" -}}
{{- end -}} {{- end -}}
@ -173,7 +214,7 @@ Argo Configuration Preset Values (Incluenced by Values configuration)
Merge Argo Configuration with Preset Configuration Merge Argo Configuration with Preset Configuration
*/}} */}}
{{- define "argo-cd.config.cm" -}} {{- define "argo-cd.config.cm" -}}
{{- $config := (mergeOverwrite (deepCopy (omit .Values.configs.cm "create" "annotations")) (.Values.server.config | default dict)) -}} {{- $config := omit .Values.configs.cm "create" "annotations" -}}
{{- $preset := include "argo-cd.config.cm.presets" . | fromYaml | default dict -}} {{- $preset := include "argo-cd.config.cm.presets" . | fromYaml | default dict -}}
{{- range $key, $value := mergeOverwrite $preset $config }} {{- range $key, $value := mergeOverwrite $preset $config }}
{{- $fmted := $value | toString }} {{- $fmted := $value | toString }}
@ -192,6 +233,7 @@ NOTE: Configuration keys must be stored as dict because YAML treats dot as separ
{{- $_ := set $presets "repo.server" (printf "%s:%s" (include "argo-cd.repoServer.fullname" .) (.Values.repoServer.service.port | toString)) -}} {{- $_ := set $presets "repo.server" (printf "%s:%s" (include "argo-cd.repoServer.fullname" .) (.Values.repoServer.service.port | toString)) -}}
{{- $_ := set $presets "server.repo.server.strict.tls" (.Values.repoServer.certificateSecret.enabled | toString ) -}} {{- $_ := set $presets "server.repo.server.strict.tls" (.Values.repoServer.certificateSecret.enabled | toString ) -}}
{{- $_ := set $presets "redis.server" (include "argo-cd.redis.server" .) -}} {{- $_ := set $presets "redis.server" (include "argo-cd.redis.server" .) -}}
{{- $_ := set $presets "applicationsetcontroller.enable.leader.election" (gt ((.Values.applicationSet.replicas | default .Values.applicationSet.replicaCount) | int64) 1) -}}
{{- if .Values.dex.enabled -}} {{- if .Values.dex.enabled -}}
{{- $_ := set $presets "server.dex.server" (include "argo-cd.dex.server" .) -}} {{- $_ := set $presets "server.dex.server" (include "argo-cd.dex.server" .) -}}
{{- $_ := set $presets "server.dex.server.strict.tls" .Values.dex.certificateSecret.enabled -}} {{- $_ := set $presets "server.dex.server.strict.tls" .Values.dex.certificateSecret.enabled -}}
@ -200,9 +242,6 @@ NOTE: Configuration keys must be stored as dict because YAML treats dot as separ
{{- $_ := set $presets (printf "%s.log.format" $component) $.Values.global.logging.format -}} {{- $_ := set $presets (printf "%s.log.format" $component) $.Values.global.logging.format -}}
{{- $_ := set $presets (printf "%s.log.level" $component) $.Values.global.logging.level -}} {{- $_ := set $presets (printf "%s.log.level" $component) $.Values.global.logging.level -}}
{{- end -}} {{- end -}}
{{- if .Values.applicationSet.enabled -}}
{{- $_ := set $presets "applicationsetcontroller.enable.leader.election" (gt ((.Values.applicationSet.replicas | default .Values.applicationSet.replicaCount) | int64) 1) -}}
{{- end -}}
{{- toYaml $presets }} {{- toYaml $presets }}
{{- end -}} {{- end -}}
@ -216,3 +255,23 @@ Merge Argo Params Configuration with Preset Configuration
{{ $key }}: {{ toString $value | toYaml }} {{ $key }}: {{ toString $value | toYaml }}
{{- end }} {{- end }}
{{- end -}} {{- end -}}
{{/*
Expand the namespace of the release.
Allows overriding it for multi-namespace deployments in combined charts.
*/}}
{{- define "argo-cd.namespace" -}}
{{- default .Release.Namespace .Values.namespaceOverride | trunc 63 | trimSuffix "-" -}}
{{- end }}
{{/*
Dual stack definition
*/}}
{{- define "argo-cd.dualStack" -}}
{{- with .Values.global.dualStack.ipFamilyPolicy }}
ipFamilyPolicy: {{ . }}
{{- end }}
{{- with .Values.global.dualStack.ipFamilies }}
ipFamilies: {{ toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View file

@ -5,16 +5,3 @@ Return the target Kubernetes version
{{- define "argo-cd.kubeVersion" -}} {{- define "argo-cd.kubeVersion" -}}
{{- default .Capabilities.KubeVersion.Version .Values.kubeVersionOverride }} {{- default .Capabilities.KubeVersion.Version .Values.kubeVersionOverride }}
{{- end }} {{- end }}
{{/*
Return the appropriate apiVersion for GKE resources
*/}}
{{- define "argo-cd.apiVersions.cloudgoogle" -}}
{{- if .Values.apiVersionOverrides.cloudgoogle -}}
{{- print .Values.apiVersionOverrides.cloudgoogle -}}
{{- else if .Capabilities.APIVersions.Has "cloud.google.com/v1" -}}
{{- print "cloud.google.com/v1" -}}
{{- else -}}
{{- print "cloud.google.com/v1beta1" -}}
{{- end -}}
{{- end -}}

View file

@ -11,9 +11,7 @@ rules:
- argoproj.io - argoproj.io
resources: resources:
- applications - applications
{{- if .Values.applicationSet.enabled }}
- applicationsets - applicationsets
{{- end }}
- appprojects - appprojects
verbs: verbs:
- get - get
@ -33,9 +31,7 @@ rules:
- argoproj.io - argoproj.io
resources: resources:
- applications - applications
{{- if .Values.applicationSet.enabled }}
- applicationsets - applicationsets
{{- end }}
- appprojects - appprojects
verbs: verbs:
- create - create
@ -60,9 +56,7 @@ rules:
- argoproj.io - argoproj.io
resources: resources:
- applications - applications
{{- if .Values.applicationSet.enabled }}
- applicationsets - applicationsets
{{- end }}
- appprojects - appprojects
verbs: verbs:
- create - create

View file

@ -1,5 +1,4 @@
{{- $config := .Values.controller.clusterAdminAccess | default dict -}} {{- if .Values.createClusterRoles }}
{{- if hasKey $config "enabled" | ternary $config.enabled .Values.createClusterRoles }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:

View file

@ -1,5 +1,4 @@
{{- $config := .Values.controller.clusterAdminAccess | default dict -}} {{- if .Values.createClusterRoles }}
{{- if hasKey $config "enabled" | ternary $config.enabled .Values.createClusterRoles }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
@ -13,5 +12,5 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.controller.serviceAccountName" . }} name: {{ include "argo-cd.controller.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}
{{- end }} {{- end }}

View file

@ -0,0 +1,440 @@
{{- if .Values.controller.dynamicClusterDistribution }}
apiVersion: apps/v1
kind: Deployment
metadata:
{{- with (mergeOverwrite (deepCopy .Values.global.deploymentAnnotations) .Values.controller.deploymentAnnotations) }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ template "argo-cd.controller.fullname" . }}
namespace: {{ include "argo-cd.namespace" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
spec:
replicas: {{ .Values.controller.replicas }}
revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit | default .Values.global.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 6 }}
template:
metadata:
annotations:
checksum/cmd-params: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cmd-params-cm.yaml") . | sha256sum }}
{{- if .Values.configs.cm.create }}
checksum/cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cm.yaml") . | sha256sum }}
{{- end }}
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.controller.podAnnotations) }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 8 }}
{{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.controller.podLabels) }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.controller.runtimeClassName | default .Values.global.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.controller.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.controller.priorityClassName | default .Values.global.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- if .Values.controller.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
{{- end }}
serviceAccountName: {{ include "argo-cd.controller.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.controller.automountServiceAccountToken }}
containers:
- args:
- /usr/local/bin/argocd-application-controller
- --metrics-port={{ .Values.controller.containerPorts.metrics }}
{{- if .Values.controller.metrics.applicationLabels.enabled }}
{{- range .Values.controller.metrics.applicationLabels.labels }}
- --metrics-application-labels
- {{ . }}
{{- end }}
{{- end }}
{{- with .Values.controller.extraArgs }}
{{- toYaml . | nindent 8 }}
{{- end }}
image: {{ default .Values.global.image.repository .Values.controller.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.controller.image.tag }}
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.controller.image.imagePullPolicy }}
name: {{ .Values.controller.name }}
env:
{{- with (concat .Values.global.env .Values.controller.env) }}
{{- toYaml . | nindent 10 }}
{{- end }}
- name: ARGOCD_ENABLE_DYNAMIC_CLUSTER_DISTRIBUTION
value: "true"
- name: ARGOCD_CONTROLLER_HEARTBEAT_TIME
value: {{ .Values.controller.heartbeatTime | quote }}
- name: ARGOCD_APPLICATION_CONTROLLER_NAME
value: {{ template "argo-cd.controller.fullname" . }}
- name: ARGOCD_RECONCILIATION_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cm
key: timeout.reconciliation
optional: true
- name: ARGOCD_HARD_RECONCILIATION_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cm
key: timeout.hard.reconciliation
optional: true
- name: ARGOCD_RECONCILIATION_JITTER
valueFrom:
configMapKeyRef:
key: timeout.reconciliation.jitter
name: argocd-cm
optional: true
- name: ARGOCD_REPO_ERROR_GRACE_PERIOD_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.repo.error.grace.period.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: repo.server
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_TIMEOUT_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.repo.server.timeout.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_STATUS_PROCESSORS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.status.processors
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_OPERATION_PROCESSORS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.operation.processors
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_LOGFORMAT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.log.format
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_LOGLEVEL
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.log.level
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_METRICS_CACHE_EXPIRATION
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.metrics.cache.expiration
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_TIMEOUT_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.self.heal.timeout.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_TIMEOUT_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.self.heal.backoff.timeout.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_FACTOR
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.self.heal.backoff.factor
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_CAP_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.self.heal.backoff.cap.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SYNC_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.sync.timeout.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.repo.server.plaintext
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_STRICT_TLS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.repo.server.strict.tls
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_PERSIST_RESOURCE_HEALTH
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.resource.health.persist
optional: true
- name: ARGOCD_APP_STATE_CACHE_EXPIRATION
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.app.state.cache.expiration
optional: true
- name: REDIS_SERVER
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: redis.server
optional: true
- name: REDIS_COMPRESSION
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: redis.compression
optional: true
- name: REDISDB
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: redis.db
optional: true
- name: REDIS_USERNAME
valueFrom:
secretKeyRef:
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
key: redis-username
optional: true
- name: REDIS_PASSWORD
valueFrom:
secretKeyRef:
name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
{{- if .Values.externalRedis.host }}
key: redis-password
{{- else }}
key: auth
{{- end }}
optional: true
- name: REDIS_SENTINEL_USERNAME
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-username
optional: true
- name: REDIS_SENTINEL_PASSWORD
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-password
optional: true
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.default.cache.expiration
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_OTLP_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.address
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_OTLP_INSECURE
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.insecure
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_OTLP_HEADERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.headers
optional: true
- name: ARGOCD_APPLICATION_NAMESPACES
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: application.namespaces
optional: true
- name: ARGOCD_CONTROLLER_SHARDING_ALGORITHM
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.sharding.algorithm
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_KUBECTL_PARALLELISM_LIMIT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.kubectl.parallelism.limit
optional: true
- name: ARGOCD_K8SCLIENT_RETRY_MAX
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.k8sclient.retry.max
optional: true
- name: ARGOCD_K8SCLIENT_RETRY_BASE_BACKOFF
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.k8sclient.retry.base.backoff
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SERVER_SIDE_DIFF
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.diff.server.side
optional: true
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.ignore.normalizer.jq.timeout
optional: true
- name: ARGOCD_HYDRATOR_ENABLED
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: hydrator.enabled
optional: true
- name: ARGOCD_CLUSTER_CACHE_BATCH_EVENTS_PROCESSING
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.cluster.cache.batch.events.processing
optional: true
- name: ARGOCD_CLUSTER_CACHE_EVENTS_PROCESSING_INTERVAL
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.cluster.cache.events.processing.interval
optional: true
{{- with .Values.controller.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}
{{- end }}
ports:
- name: metrics
containerPort: {{ .Values.controller.containerPorts.metrics }}
protocol: TCP
readinessProbe:
httpGet:
path: /healthz
port: metrics
initialDelaySeconds: {{ .Values.controller.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.controller.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.controller.readinessProbe.timeoutSeconds }}
successThreshold: {{ .Values.controller.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.controller.readinessProbe.failureThreshold }}
resources:
{{- toYaml .Values.controller.resources | nindent 10 }}
{{- with .Values.controller.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
workingDir: /home/argocd
volumeMounts:
{{- with .Values.controller.volumeMounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
- mountPath: /app/config/controller/tls
name: argocd-repo-server-tls
- mountPath: /home/argocd
name: argocd-home
- name: argocd-cmd-params-cm
mountPath: /home/argocd/params
{{- with .Values.controller.extraContainers }}
{{- tpl (toYaml .) $ | nindent 6 }}
{{- end }}
{{- with .Values.controller.initContainers }}
initContainers:
{{- tpl (toYaml .) $ | nindent 6 }}
{{- end }}
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.controller) }}
affinity:
{{- trim . | nindent 8 }}
{{- end }}
{{- with .Values.controller.nodeSelector | default .Values.global.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.controller.tolerations | default .Values.global.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.controller.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
topologySpreadConstraints:
{{- range $constraint := . }}
- {{ toYaml $constraint | nindent 8 | trim }}
{{- if not $constraint.labelSelector }}
labelSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" $ "name" $.Values.controller.name) | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
volumes:
{{- with .Values.controller.volumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
- name: argocd-home
{{- if .Values.controller.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.controller.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {}
{{- end }}
- name: argocd-repo-server-tls
secret:
secretName: argocd-repo-server-tls
optional: true
items:
- key: tls.crt
path: tls.crt
- key: tls.key
path: tls.key
- key: ca.crt
path: ca.crt
- name: argocd-cmd-params-cm
configMap:
optional: true
name: argocd-cmd-params-cm
items:
- key: controller.profile.enabled
path: profiler.enabled
{{- if .Values.controller.hostNetwork }}
hostNetwork: {{ .Values.controller.hostNetwork }}
{{- end }}
{{- with .Values.controller.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
dnsPolicy: {{ .Values.controller.dnsPolicy }}
{{- end }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "argo-cd.controller.fullname" . }}-metrics name: {{ include "argo-cd.controller.fullname" . }}-metrics
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 4 }}
{{- with .Values.controller.metrics.service.labels }} {{- with .Values.controller.metrics.service.labels }}
@ -24,6 +24,7 @@ spec:
{{- if and .Values.controller.metrics.service.clusterIP (eq .Values.controller.metrics.service.type "ClusterIP") }} {{- if and .Values.controller.metrics.service.clusterIP (eq .Values.controller.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.controller.metrics.service.clusterIP }} clusterIP: {{ .Values.controller.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- include "argo-cd.dualStack" . | indent 2 }}
ports: ports:
- name: {{ .Values.controller.metrics.service.portName }} - name: {{ .Values.controller.metrics.service.portName }}
protocol: TCP protocol: TCP

View file

@ -5,7 +5,7 @@ metadata:
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
name: {{ template "argo-cd.controller.fullname" . }} name: {{ template "argo-cd.controller.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
spec: spec:
ingress: ingress:
- from: - from:

View file

@ -3,7 +3,7 @@ apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ include "argo-cd.controller.fullname" . }} name: {{ include "argo-cd.controller.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
{{- with .Values.controller.pdb.labels }} {{- with .Values.controller.pdb.labels }}

View file

@ -1,9 +1,9 @@
{{- if and .Values.controller.metrics.enabled .Values.controller.metrics.rules.enabled }} {{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.controller.metrics.enabled .Values.controller.metrics.rules.enabled }}
apiVersion: monitoring.coreos.com/v1 apiVersion: monitoring.coreos.com/v1
kind: PrometheusRule kind: PrometheusRule
metadata: metadata:
name: {{ template "argo-cd.controller.fullname" . }} name: {{ template "argo-cd.controller.fullname" . }}
namespace: {{ default .Release.Namespace .Values.controller.metrics.rules.namespace | quote }} namespace: {{ default (include "argo-cd.namespace" .) .Values.controller.metrics.rules.namespace | quote }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
{{- if .Values.controller.metrics.rules.selector }} {{- if .Values.controller.metrics.rules.selector }}

View file

@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: {{ template "argo-cd.controller.fullname" . }} name: {{ template "argo-cd.controller.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
rules: rules:
@ -34,4 +34,26 @@ rules:
- events - events
verbs: verbs:
- create - create
- list - list
- apiGroups:
- apps
resources:
- deployments
verbs:
- get
- list
- watch
{{- if and (not .Values.createClusterRoles) .Values.controller.dynamicClusterDistribution }}
- apiGroups:
- ""
resources:
- configmaps
resourceNames:
- argocd-app-controller-shard-cm
verbs:
- get
- list
- watch
- create
- update
{{- end }}

View file

@ -2,7 +2,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: {{ include "argo-cd.controller.fullname" . }} name: {{ include "argo-cd.controller.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
roleRef: roleRef:
@ -10,6 +10,6 @@ roleRef:
kind: Role kind: Role
name: {{ include "argo-cd.controller.fullname" . }} name: {{ include "argo-cd.controller.fullname" . }}
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.controller.serviceAccountName" . }} name: {{ include "argo-cd.controller.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}

View file

@ -4,7 +4,7 @@ kind: ServiceAccount
automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }} automountServiceAccountToken: {{ .Values.controller.serviceAccount.automountServiceAccountToken }}
metadata: metadata:
name: {{ include "argo-cd.controller.serviceAccountName" . }} name: {{ include "argo-cd.controller.serviceAccountName" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
{{- with .Values.controller.serviceAccount.annotations }} {{- with .Values.controller.serviceAccount.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}

View file

@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
name: {{ template "argo-cd.controller.fullname" . }} name: {{ template "argo-cd.controller.fullname" . }}
namespace: {{ default .Release.Namespace .Values.controller.metrics.serviceMonitor.namespace | quote }} namespace: {{ default (include "argo-cd.namespace" .) .Values.controller.metrics.serviceMonitor.namespace | quote }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
{{- with .Values.controller.metrics.serviceMonitor.selector }} {{- with .Values.controller.metrics.serviceMonitor.selector }}
@ -22,6 +22,9 @@ spec:
{{- with .Values.controller.metrics.serviceMonitor.interval }} {{- with .Values.controller.metrics.serviceMonitor.interval }}
interval: {{ . }} interval: {{ . }}
{{- end }} {{- end }}
{{- with .Values.controller.metrics.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ . }}
{{- end }}
path: /metrics path: /metrics
{{- with .Values.controller.metrics.serviceMonitor.relabelings }} {{- with .Values.controller.metrics.serviceMonitor.relabelings }}
relabelings: relabelings:
@ -31,6 +34,7 @@ spec:
metricRelabelings: metricRelabelings:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
honorLabels: {{ .Values.controller.metrics.serviceMonitor.honorLabels }}
{{- with .Values.controller.metrics.serviceMonitor.scheme }} {{- with .Values.controller.metrics.serviceMonitor.scheme }}
scheme: {{ . }} scheme: {{ . }}
{{- end }} {{- end }}
@ -40,7 +44,7 @@ spec:
{{- end }} {{- end }}
namespaceSelector: namespaceSelector:
matchNames: matchNames:
- {{ .Release.Namespace }} - {{ include "argo-cd.namespace" . }}
selector: selector:
matchLabels: matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }} {{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.controller.name "name" "metrics") | nindent 6 }}

View file

@ -1,3 +1,4 @@
{{- if not .Values.controller.dynamicClusterDistribution | default false }}
apiVersion: apps/v1 apiVersion: apps/v1
kind: StatefulSet kind: StatefulSet
metadata: metadata:
@ -8,13 +9,12 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ template "argo-cd.controller.fullname" . }} name: {{ template "argo-cd.controller.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.controller.name "name" .Values.controller.name) | nindent 4 }}
spec: spec:
replicas: {{ .Values.controller.replicas }} replicas: {{ .Values.controller.replicas }}
# TODO: Remove for breaking release as history limit cannot be patched revisionHistoryLimit: {{ .Values.controller.revisionHistoryLimit | default .Values.global.revisionHistoryLimit }}
revisionHistoryLimit: 5
serviceName: {{ include "argo-cd.controller.fullname" . }} serviceName: {{ include "argo-cd.controller.fullname" . }}
selector: selector:
matchLabels: matchLabels:
@ -23,7 +23,7 @@ spec:
metadata: metadata:
annotations: annotations:
checksum/cmd-params: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cmd-params-cm.yaml") . | sha256sum }} checksum/cmd-params: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cmd-params-cm.yaml") . | sha256sum }}
{{- if (hasKey .Values.server "configEnabled") | ternary .Values.server.configEnabled .Values.configs.cm.create }} {{- if .Values.configs.cm.create }}
checksum/cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cm.yaml") . | sha256sum }} checksum/cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cm.yaml") . | sha256sum }}
{{- end }} {{- end }}
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.controller.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.controller.podAnnotations) }}
@ -37,6 +37,9 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
{{- with .Values.controller.runtimeClassName | default .Values.global.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.controller.imagePullSecrets | default .Values.global.imagePullSecrets }} {{- with .Values.controller.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -56,6 +59,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }} terminationGracePeriodSeconds: {{ .Values.controller.terminationGracePeriodSeconds }}
{{- end }} {{- end }}
serviceAccountName: {{ include "argo-cd.controller.serviceAccountName" . }} serviceAccountName: {{ include "argo-cd.controller.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.controller.automountServiceAccountToken }}
containers: containers:
- args: - args:
- /usr/local/bin/argocd-application-controller - /usr/local/bin/argocd-application-controller
@ -66,38 +70,6 @@ spec:
- {{ . }} - {{ . }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- with .Values.controller.args.statusProcessors }}
- --status-processors
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.args.operationProcessors }}
- --operation-processors
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.args.appResyncPeriod }}
- --app-resync
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.args.appHardResyncPeriod }}
- --app-hard-resync
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.args.selfHealTimeout }}
- --self-heal-timeout-seconds
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.args.repoServerTimeoutSeconds }}
- --repo-server-timeout-seconds
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.logFormat }}
- --logformat
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.logLevel }}
- --loglevel
- {{ . | quote }}
{{- end }}
{{- with .Values.controller.extraArgs }} {{- with .Values.controller.extraArgs }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
@ -110,6 +82,8 @@ spec:
{{- end }} {{- end }}
- name: ARGOCD_CONTROLLER_REPLICAS - name: ARGOCD_CONTROLLER_REPLICAS
value: {{ .Values.controller.replicas | quote }} value: {{ .Values.controller.replicas | quote }}
- name: ARGOCD_APPLICATION_CONTROLLER_NAME
value: {{ template "argo-cd.controller.fullname" . }}
- name: ARGOCD_RECONCILIATION_TIMEOUT - name: ARGOCD_RECONCILIATION_TIMEOUT
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -122,6 +96,18 @@ spec:
name: argocd-cm name: argocd-cm
key: timeout.hard.reconciliation key: timeout.hard.reconciliation
optional: true optional: true
- name: ARGOCD_RECONCILIATION_JITTER
valueFrom:
configMapKeyRef:
key: timeout.reconciliation.jitter
name: argocd-cm
optional: true
- name: ARGOCD_REPO_ERROR_GRACE_PERIOD_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.repo.error.grace.period.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER - name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -170,6 +156,30 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: controller.self.heal.timeout.seconds key: controller.self.heal.timeout.seconds
optional: true optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_TIMEOUT_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.self.heal.backoff.timeout.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_FACTOR
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.self.heal.backoff.factor
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SELF_HEAL_BACKOFF_CAP_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.self.heal.backoff.cap.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SYNC_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.sync.timeout.seconds
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT - name: ARGOCD_APPLICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -215,14 +225,30 @@ spec:
- name: REDIS_USERNAME - name: REDIS_USERNAME
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }} name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
key: redis-username key: redis-username
optional: true optional: true
- name: REDIS_PASSWORD - name: REDIS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }} name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
{{- if .Values.externalRedis.host }}
key: redis-password key: redis-password
{{- else }}
key: auth
{{- end }}
optional: true
- name: REDIS_SENTINEL_USERNAME
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-username
optional: true
- name: REDIS_SENTINEL_PASSWORD
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-password
optional: true optional: true
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION - name: ARGOCD_DEFAULT_CACHE_EXPIRATION
valueFrom: valueFrom:
@ -236,6 +262,18 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: otlp.address key: otlp.address
optional: true optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_OTLP_INSECURE
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.insecure
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_OTLP_HEADERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.headers
optional: true
- name: ARGOCD_APPLICATION_NAMESPACES - name: ARGOCD_APPLICATION_NAMESPACES
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -254,6 +292,50 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: controller.kubectl.parallelism.limit key: controller.kubectl.parallelism.limit
optional: true optional: true
- name: ARGOCD_K8SCLIENT_RETRY_MAX
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.k8sclient.retry.max
optional: true
- name: ARGOCD_K8SCLIENT_RETRY_BASE_BACKOFF
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.k8sclient.retry.base.backoff
optional: true
- name: ARGOCD_APPLICATION_CONTROLLER_SERVER_SIDE_DIFF
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.diff.server.side
optional: true
- name: ARGOCD_IGNORE_NORMALIZER_JQ_TIMEOUT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.ignore.normalizer.jq.timeout
optional: true
- name: ARGOCD_HYDRATOR_ENABLED
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: hydrator.enabled
optional: true
- name: ARGOCD_CLUSTER_CACHE_BATCH_EVENTS_PROCESSING
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.cluster.cache.batch.events.processing
optional: true
- name: ARGOCD_CLUSTER_CACHE_EVENTS_PROCESSING_INTERVAL
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: controller.cluster.cache.events.processing.interval
optional: true
- name: KUBECACHEDIR
value: /tmp/kubecache
{{- with .Values.controller.envFrom }} {{- with .Values.controller.envFrom }}
envFrom: envFrom:
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
@ -286,6 +368,10 @@ spec:
name: argocd-repo-server-tls name: argocd-repo-server-tls
- mountPath: /home/argocd - mountPath: /home/argocd
name: argocd-home name: argocd-home
- name: argocd-cmd-params-cm
mountPath: /home/argocd/params
- name: argocd-application-controller-tmp
mountPath: /tmp
{{- with .Values.controller.extraContainers }} {{- with .Values.controller.extraContainers }}
{{- tpl (toYaml .) $ | nindent 6 }} {{- tpl (toYaml .) $ | nindent 6 }}
{{- end }} {{- end }}
@ -321,7 +407,14 @@ spec:
{{- toYaml . | nindent 6 }} {{- toYaml . | nindent 6 }}
{{- end }} {{- end }}
- name: argocd-home - name: argocd-home
{{- if .Values.controller.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.controller.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
- emptyDir: {}
name: argocd-application-controller-tmp
- name: argocd-repo-server-tls - name: argocd-repo-server-tls
secret: secret:
secretName: argocd-repo-server-tls secretName: argocd-repo-server-tls
@ -333,6 +426,13 @@ spec:
path: tls.key path: tls.key
- key: ca.crt - key: ca.crt
path: ca.crt path: ca.crt
- name: argocd-cmd-params-cm
configMap:
optional: true
name: argocd-cmd-params-cm
items:
- key: controller.profile.enabled
path: profiler.enabled
{{- if .Values.controller.hostNetwork }} {{- if .Values.controller.hostNetwork }}
hostNetwork: {{ .Values.controller.hostNetwork }} hostNetwork: {{ .Values.controller.hostNetwork }}
{{- end }} {{- end }}
@ -341,3 +441,4 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
dnsPolicy: {{ .Values.controller.dnsPolicy }} dnsPolicy: {{ .Values.controller.dnsPolicy }}
{{- end }}

View file

@ -9,14 +9,14 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ template "argo-cd.applicationSet.fullname" . }} name: {{ template "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
spec: spec:
secretName: {{ .Values.applicationSet.certificate.secretName }} secretName: argocd-applicationset-controller-tls
commonName: {{ .Values.applicationSet.certificate.domain | quote }} commonName: {{ .Values.applicationSet.certificate.domain | default .Values.global.domain }}
dnsNames: dnsNames:
- {{ .Values.applicationSet.certificate.domain | quote }} - {{ .Values.applicationSet.certificate.domain | default .Values.global.domain }}
{{- range .Values.applicationSet.certificate.additionalHosts }} {{- range .Values.applicationSet.certificate.additionalHosts }}
- {{ . | quote }} - {{ . | quote }}
{{- end }} {{- end }}

View file

@ -0,0 +1,90 @@
{{- if .Values.applicationSet.allowAnyNamespace }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
name: {{ include "argo-cd.applicationSet.fullname" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
rules:
- apiGroups:
- argoproj.io
resources:
- applications
- applicationsets
- applicationsets/finalizers
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
- apiGroups:
- argoproj.io
resources:
- applicationsets/status
verbs:
- get
- patch
- update
- apiGroups:
- argoproj.io
resources:
- appprojects
verbs:
- get
- list
- watch
- apiGroups:
- ""
resources:
- events
verbs:
- create
- get
- list
- patch
- watch
- apiGroups:
- ""
resources:
- configmaps
verbs:
- create
- update
- delete
- get
- list
- patch
- watch
- apiGroups:
- ""
resources:
- secrets
verbs:
- get
- list
- watch
- apiGroups:
- apps
- extensions
resources:
- deployments
verbs:
- get
- list
- watch
- apiGroups:
- coordination.k8s.io
resources:
- leases
verbs:
- create
- delete
- get
- list
- patch
- update
- watch
{{- end }}

View file

@ -0,0 +1,16 @@
{{- if .Values.applicationSet.allowAnyNamespace }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
name: {{ template "argo-cd.applicationSet.fullname" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
roleRef:
apiGroup: rbac.authorization.k8s.io
kind: ClusterRole
name: {{ template "argo-cd.applicationSet.fullname" . }}
subjects:
- kind: ServiceAccount
name: {{ template "argo-cd.applicationSet.serviceAccountName" . }}
namespace: {{ include "argo-cd.namespace" . }}
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.applicationSet.enabled }}
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
@ -9,7 +8,7 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ include "argo-cd.applicationSet.fullname" . }} name: {{ include "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
spec: spec:
@ -17,7 +16,7 @@ spec:
strategy: strategy:
{{- trim . | nindent 4 }} {{- trim . | nindent 4 }}
{{- end }} {{- end }}
replicas: {{ .Values.applicationSet.replicas | default .Values.applicationSet.replicaCount }} replicas: {{ .Values.applicationSet.replicas }}
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }} revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
selector: selector:
matchLabels: matchLabels:
@ -37,6 +36,9 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
{{- with .Values.applicationSet.runtimeClassName | default .Values.global.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.applicationSet.imagePullSecrets | default .Values.global.imagePullSecrets }} {{- with .Values.applicationSet.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -56,6 +58,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.applicationSet.terminationGracePeriodSeconds }} terminationGracePeriodSeconds: {{ .Values.applicationSet.terminationGracePeriodSeconds }}
{{- end }} {{- end }}
serviceAccountName: {{ include "argo-cd.applicationSet.serviceAccountName" . }} serviceAccountName: {{ include "argo-cd.applicationSet.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.applicationSet.automountServiceAccountToken }}
containers: containers:
- name: {{ .Values.applicationSet.name }} - name: {{ .Values.applicationSet.name }}
image: {{ default .Values.global.image.repository .Values.applicationSet.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.applicationSet.image.tag }} image: {{ default .Values.global.image.repository .Values.applicationSet.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.applicationSet.image.tag }}
@ -65,20 +68,6 @@ spec:
- --metrics-addr=:{{ .Values.applicationSet.containerPorts.metrics }} - --metrics-addr=:{{ .Values.applicationSet.containerPorts.metrics }}
- --probe-addr=:{{ .Values.applicationSet.containerPorts.probe }} - --probe-addr=:{{ .Values.applicationSet.containerPorts.probe }}
- --webhook-addr=:{{ .Values.applicationSet.containerPorts.webhook }} - --webhook-addr=:{{ .Values.applicationSet.containerPorts.webhook }}
{{- with .Values.applicationSet.args.policy }}
- --policy={{ . }}
{{- end }}
{{- with .Values.applicationSet.args.dryRun }}
- --dry-run={{ . }}
{{- end }}
{{- with .Values.applicationSet.logFormat }}
- --logformat
- {{ . }}
{{- end }}
{{- with .Values.applicationSet.logLevel }}
- --loglevel
- {{ . }}
{{- end }}
{{- with .Values.applicationSet.extraArgs }} {{- with .Values.applicationSet.extraArgs }}
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
{{- end }} {{- end }}
@ -162,6 +151,12 @@ spec:
key: applicationsetcontroller.enable.progressive.syncs key: applicationsetcontroller.enable.progressive.syncs
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
optional: true optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_TOKENREF_STRICT_MODE
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.enable.tokenref.strict.mode
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING - name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -210,6 +205,24 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: applicationsetcontroller.allowed.scm.providers key: applicationsetcontroller.allowed.scm.providers
optional: true optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_SCM_PROVIDERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.enable.scm.providers
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_WEBHOOK_PARALLELISM_LIMIT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.webhook.parallelism.limit
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REQUEUE_AFTER
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.requeue.after
name: argocd-cmd-params-cm
optional: true
{{- with .Values.applicationSet.extraEnvFrom }} {{- with .Values.applicationSet.extraEnvFrom }}
envFrom: envFrom:
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
@ -310,9 +323,19 @@ spec:
configMap: configMap:
name: argocd-gpg-keys-cm name: argocd-gpg-keys-cm
- name: gpg-keyring - name: gpg-keyring
{{- if .Values.applicationSet.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.applicationSet.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
- name: tmp - name: tmp
{{- if .Values.applicationSet.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.applicationSet.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
- name: argocd-repo-server-tls - name: argocd-repo-server-tls
secret: secret:
secretName: argocd-repo-server-tls secretName: argocd-repo-server-tls
@ -329,4 +352,3 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
dnsPolicy: {{ .Values.applicationSet.dnsPolicy }} dnsPolicy: {{ .Values.applicationSet.dnsPolicy }}
{{- end }}

View file

@ -0,0 +1,62 @@
{{- if .Values.applicationSet.ingress.enabled -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "argo-cd.applicationSet.fullname" . }}
namespace: {{ include "argo-cd.namespace" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
{{- with .Values.applicationSet.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.applicationSet.ingress.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
{{- with .Values.applicationSet.ingress.ingressClassName }}
ingressClassName: {{ . }}
{{- end }}
rules:
- host: {{ .Values.applicationSet.ingress.hostname | default .Values.global.domain }}
http:
paths:
{{- with .Values.applicationSet.ingress.extraPaths }}
{{- tpl (toYaml .) $ | nindent 10 }}
{{- end }}
- path: {{ .Values.applicationSet.ingress.path }}
pathType: {{ .Values.applicationSet.ingress.pathType }}
backend:
service:
name: {{ include "argo-cd.applicationSet.fullname" . }}
port:
number: {{ .Values.applicationSet.service.port }}
{{- range .Values.applicationSet.ingress.extraHosts }}
- host: {{ .name | quote }}
http:
paths:
- path: {{ default $.Values.applicationSet.ingress.path .path }}
pathType: {{ default $.Values.applicationSet.ingress.pathType .pathType }}
backend:
service:
name: {{ include "argo-cd.applicationSet.fullname" $ }}
port:
number: {{ $.Values.applicationSet.service.port }}
{{- end }}
{{- with .Values.applicationSet.ingress.extraRules }}
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- if or .Values.applicationSet.ingress.tls .Values.applicationSet.ingress.extraTls }}
tls:
{{- if .Values.applicationSet.ingress.tls }}
- hosts:
- {{ .Values.applicationSet.ingress.hostname | default .Values.global.domain }}
secretName: argocd-applicationset-controller-tls
{{- end }}
{{- with .Values.applicationSet.ingress.extraTls }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View file

@ -1,9 +1,9 @@
{{- if and .Values.applicationSet.enabled .Values.applicationSet.metrics.enabled }} {{- if .Values.applicationSet.metrics.enabled }}
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "argo-cd.applicationSet.fullname" . }}-metrics name: {{ include "argo-cd.applicationSet.fullname" . }}-metrics
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 4 }}
{{- with .Values.applicationSet.metrics.service.labels }} {{- with .Values.applicationSet.metrics.service.labels }}
@ -24,6 +24,7 @@ spec:
{{- if and .Values.applicationSet.metrics.service.clusterIP (eq .Values.applicationSet.metrics.service.type "ClusterIP") }} {{- if and .Values.applicationSet.metrics.service.clusterIP (eq .Values.applicationSet.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.applicationSet.metrics.service.clusterIP }} clusterIP: {{ .Values.applicationSet.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- include "argo-cd.dualStack" . | indent 2 }}
ports: ports:
- name: {{ .Values.applicationSet.metrics.service.portName }} - name: {{ .Values.applicationSet.metrics.service.portName }}
protocol: TCP protocol: TCP

View file

@ -1,14 +1,14 @@
{{- if and .Values.applicationSet.enabled .Values.global.networkPolicy.create (or .Values.applicationSet.metrics.enabled .Values.applicationSet.webhook.ingress.enabled) }} {{- if and .Values.global.networkPolicy.create (or .Values.applicationSet.metrics.enabled .Values.applicationSet.ingress.enabled) }}
apiVersion: networking.k8s.io/v1 apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: {{ template "argo-cd.applicationSet.fullname" . }} name: {{ template "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
spec: spec:
ingress: ingress:
{{- if .Values.applicationSet.webhook.ingress.enabled }} {{- if .Values.applicationSet.ingress.enabled }}
- ports: - ports:
- port: webhook - port: webhook
{{- end }} {{- end }}

View file

@ -1,9 +1,9 @@
{{- if and .Values.applicationSet.enabled .Values.applicationSet.pdb.enabled }} {{- if .Values.applicationSet.pdb.enabled }}
apiVersion: policy/v1 apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ include "argo-cd.applicationSet.fullname" . }} name: {{ include "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
{{- with .Values.applicationSet.pdb.labels }} {{- with .Values.applicationSet.pdb.labels }}

View file

@ -1,9 +1,8 @@
{{- if .Values.applicationSet.enabled }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: {{ include "argo-cd.applicationSet.fullname" . }} name: {{ include "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
rules: rules:
@ -35,6 +34,8 @@ rules:
- appprojects - appprojects
verbs: verbs:
- get - get
- list
- watch
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -86,4 +87,3 @@ rules:
- patch - patch
- update - update
- watch - watch
{{- end }}

View file

@ -1,9 +1,8 @@
{{- if .Values.applicationSet.enabled }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: {{ include "argo-cd.applicationSet.fullname" . }} name: {{ include "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
roleRef: roleRef:
@ -13,5 +12,4 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.applicationSet.serviceAccountName" . }} name: {{ include "argo-cd.applicationSet.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.applicationSet.enabled }}
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
@ -9,7 +8,7 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ template "argo-cd.applicationSet.fullname" . }} name: {{ template "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
{{- with .Values.applicationSet.service.labels }} {{- with .Values.applicationSet.service.labels }}
@ -17,10 +16,10 @@ metadata:
{{- end }} {{- end }}
spec: spec:
type: {{ .Values.applicationSet.service.type }} type: {{ .Values.applicationSet.service.type }}
{{- include "argo-cd.dualStack" . | indent 2 }}
ports: ports:
- name: {{ .Values.applicationSet.service.portName }} - name: {{ .Values.applicationSet.service.portName }}
port: {{ .Values.applicationSet.service.port }} port: {{ .Values.applicationSet.service.port }}
targetPort: webhook targetPort: webhook
selector: selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 4 }}
{{- end }}

View file

@ -1,10 +1,10 @@
{{- if and .Values.applicationSet.enabled .Values.applicationSet.serviceAccount.create }} {{- if .Values.applicationSet.serviceAccount.create }}
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
automountServiceAccountToken: {{ .Values.applicationSet.serviceAccount.automountServiceAccountToken }} automountServiceAccountToken: {{ .Values.applicationSet.serviceAccount.automountServiceAccountToken }}
metadata: metadata:
name: {{ include "argo-cd.applicationSet.serviceAccountName" . }} name: {{ include "argo-cd.applicationSet.serviceAccountName" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
{{- with .Values.applicationSet.serviceAccount.annotations }} {{- with .Values.applicationSet.serviceAccount.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}

View file

@ -1,10 +1,9 @@
{{- if .Values.applicationSet.enabled }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.applicationSet.metrics.enabled .Values.applicationSet.metrics.serviceMonitor.enabled }} {{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.applicationSet.metrics.enabled .Values.applicationSet.metrics.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1 apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
name: {{ template "argo-cd.applicationSet.fullname" . }} name: {{ template "argo-cd.applicationSet.fullname" . }}
namespace: {{ default .Release.Namespace .Values.applicationSet.metrics.serviceMonitor.namespace | quote }} namespace: {{ default (include "argo-cd.namespace" .) .Values.applicationSet.metrics.serviceMonitor.namespace | quote }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
{{- with .Values.applicationSet.metrics.serviceMonitor.selector }} {{- with .Values.applicationSet.metrics.serviceMonitor.selector }}
@ -23,6 +22,9 @@ spec:
{{- with .Values.applicationSet.metrics.serviceMonitor.interval }} {{- with .Values.applicationSet.metrics.serviceMonitor.interval }}
interval: {{ . }} interval: {{ . }}
{{- end }} {{- end }}
{{- with .Values.applicationSet.metrics.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ . }}
{{- end }}
path: /metrics path: /metrics
{{- with .Values.applicationSet.metrics.serviceMonitor.relabelings }} {{- with .Values.applicationSet.metrics.serviceMonitor.relabelings }}
relabelings: relabelings:
@ -32,6 +34,7 @@ spec:
metricRelabelings: metricRelabelings:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
honorLabels: {{ .Values.applicationSet.metrics.serviceMonitor.honorLabels }}
{{- with .Values.applicationSet.metrics.serviceMonitor.scheme }} {{- with .Values.applicationSet.metrics.serviceMonitor.scheme }}
scheme: {{ . }} scheme: {{ . }}
{{- end }} {{- end }}
@ -41,9 +44,8 @@ spec:
{{- end }} {{- end }}
namespaceSelector: namespaceSelector:
matchNames: matchNames:
- {{ .Release.Namespace }} - {{ include "argo-cd.namespace" . }}
selector: selector:
matchLabels: matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 6 }} {{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.applicationSet.name "name" "metrics") | nindent 6 }}
{{- end }} {{- end }}
{{- end }}

View file

@ -1,73 +0,0 @@
{{- if and .Values.applicationSet.enabled .Values.applicationSet.webhook.ingress.enabled -}}
{{- $servicePort := .Values.applicationSet.service.portName -}}
{{- $paths := .Values.applicationSet.webhook.ingress.paths -}}
{{- $extraPaths := .Values.applicationSet.webhook.ingress.extraPaths -}}
{{- $pathType := .Values.applicationSet.webhook.ingress.pathType -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "argo-cd.applicationSet.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.applicationSet.name "name" .Values.applicationSet.name) | nindent 4 }}
{{- with .Values.applicationSet.webhook.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.applicationSet.webhook.ingress.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
{{- with .Values.applicationSet.webhook.ingress.ingressClassName }}
ingressClassName: {{ . }}
{{- end }}
rules:
{{- if .Values.applicationSet.webhook.ingress.hosts }}
{{- range $host := .Values.applicationSet.webhook.ingress.hosts }}
- host: {{ $host }}
http:
paths:
{{- with $extraPaths }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- range $p := $paths }}
- path: {{ $p }}
pathType: {{ $pathType }}
backend:
service:
name: {{ include "argo-cd.applicationSet.fullname" $ }}
port:
{{- if kindIs "float64" $servicePort }}
number: {{ $servicePort }}
{{- else }}
name: {{ $servicePort }}
{{- end }}
{{- end -}}
{{- end -}}
{{- else }}
- http:
paths:
{{- with $extraPaths }}
{{- toYaml . | nindent 10 }}
{{- end }}
{{- range $p := $paths }}
- path: {{ $p }}
pathType: {{ $pathType }}
backend:
service:
name: {{ include "argo-cd.applicationSet.fullname" $ }}
port:
{{- if kindIs "float64" $servicePort }}
number: {{ $servicePort }}
{{- else }}
name: {{ $servicePort }}
{{- end }}
{{- end -}}
{{- end -}}
{{- with .Values.applicationSet.webhook.ingress.tls }}
tls:
{{- toYaml . | nindent 4 }}
{{- end -}}
{{- end -}}

View file

@ -0,0 +1,238 @@
{{- if .Values.commitServer.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
{{- with (mergeOverwrite (deepCopy .Values.global.deploymentAnnotations) .Values.commitServer.deploymentAnnotations) }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
name: {{ template "argo-cd.commitServer.fullname" . }}
namespace: {{ include "argo-cd.namespace" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 4 }}
spec:
{{- with include "argo-cd.strategy" (mergeOverwrite (deepCopy .Values.global.deploymentStrategy) .Values.commitServer.deploymentStrategy) }}
strategy:
{{- trim . | nindent 4 }}
{{- end }}
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
selector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 6 }}
template:
metadata:
annotations:
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.commitServer.podAnnotations) }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 8 }}
{{- with (mergeOverwrite (deepCopy .Values.global.podLabels) .Values.commitServer.podLabels) }}
{{- toYaml . | nindent 8 }}
{{- end }}
spec:
{{- with .Values.commitServer.runtimeClassName | default .Values.global.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.commitServer.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.hostAliases }}
hostAliases:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.global.securityContext }}
securityContext:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.commitServer.priorityClassName | default .Values.global.priorityClassName }}
priorityClassName: {{ . }}
{{- end }}
{{- with .Values.commitServer.terminationGracePeriodSeconds }}
terminationGracePeriodSeconds: {{ . }}
{{- end }}
serviceAccountName: {{ include "argo-cd.commitServer.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.commitServer.automountServiceAccountToken }}
containers:
- name: {{ .Values.commitServer.name }}
image: {{ default .Values.global.image.repository .Values.commitServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.commitServer.image.tag }}
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.commitServer.image.imagePullPolicy }}
args:
- /usr/local/bin/argocd-commit-server
{{- with .Values.commitServer.extraArgs }}
{{- toYaml . | nindent 8 }}
{{- end }}
env:
{{- with (concat .Values.global.env .Values.commitServer.extraEnv) }}
{{- toYaml . | nindent 10 }}
{{- end }}
- name: ARGOCD_COMMIT_SERVER_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: commitserver.listen.address
optional: true
- name: ARGOCD_COMMIT_SERVER_METRICS_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: commitserver.metrics.listen.address
optional: true
- name: ARGOCD_COMMIT_SERVER_LOGFORMAT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: commitserver.log.format
optional: true
- name: ARGOCD_COMMIT_SERVER_LOGLEVEL
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: commitserver.log.level
optional: true
- name: ARGOCD_LOG_FORMAT_TIMESTAMP
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: log.format.timestamp
optional: true
{{- with .Values.commitServer.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}
{{- end }}
ports:
- containerPort: 8086
name: server
protocol: TCP
- containerPort: 8087
name: metrics
protocol: TCP
{{- if .Values.commitServer.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /healthz?full=true
port: 8087
initialDelaySeconds: {{ .Values.commitServer.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.commitServer.livenessProbe.periodSeconds }}
failureThreshold: {{ .Values.commitServer.livenessProbe.failureThreshold }}
timeoutSeconds: {{ .Values.commitServer.livenessProbe.timeoutSeconds }}
{{- end }}
{{- if .Values.commitServer.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /healthz
port: 8087
initialDelaySeconds: {{ .Values.commitServer.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.commitServer.readinessProbe.periodSeconds }}
failureThreshold: {{ .Values.commitServer.readinessProbe.failureThreshold }}
timeoutSeconds: {{ .Values.commitServer.readinessProbe.timeoutSeconds }}
{{- end }}
resources:
{{- toYaml .Values.commitServer.resources | nindent 10 }}
{{- with .Values.commitServer.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
{{- with .Values.commitServer.lifecycle }}
lifecycle:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
{{- with .Values.commitServer.extraVolumeMounts }}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: ssh-known-hosts
mountPath: /app/config/ssh
- name: tls-certs
mountPath: /app/config/tls
- name: gpg-keys
mountPath: /app/config/gpg/source
- name: gpg-keyring
mountPath: /app/config/gpg/keys
# We need a writeable temp directory for the askpass socket file.
- name: tmp
mountPath: /tmp
initContainers:
- command:
- /bin/cp
- -n
- /usr/local/bin/argocd
- /var/run/argocd/argocd-cmp-server
image: {{ default .Values.global.image.repository .Values.commitServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.commitServer.image.tag }}
name: copyutil
resources:
{{- toYaml .Values.commitServer.resources | nindent 10 }}
{{- with .Values.commitServer.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}
{{- end }}
volumeMounts:
- mountPath: /var/run/argocd
name: var-files
volumes:
{{- with .Values.commitServer.extraVolumes }}
{{- toYaml . | nindent 8 }}
{{- end }}
- name: ssh-known-hosts
configMap:
name: argocd-ssh-known-hosts-cm
- name: tls-certs
configMap:
name: argocd-tls-certs-cm
- name: gpg-keys
configMap:
name: argocd-gpg-keys-cm
- name: gpg-keyring
emptyDir: {}
- name: tmp
emptyDir: {}
- name: argocd-commit-server-tls
secret:
secretName: argocd-commit-server-tls
optional: true
items:
- key: tls.crt
path: tls.crt
- key: tls.key
path: tls.key
- key: ca.crt
path: ca.crt
- emptyDir: {}
name: var-files
{{- with include "argo-cd.affinity" (dict "context" . "component" .Values.commitServer) }}
affinity:
{{- trim . | nindent 8 }}
{{- end }}
{{- with .Values.commitServer.nodeSelector | default .Values.global.nodeSelector }}
nodeSelector:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.commitServer.tolerations | default .Values.global.tolerations }}
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.commitServer.topologySpreadConstraints | default .Values.global.topologySpreadConstraints }}
topologySpreadConstraints:
{{- range $constraint := . }}
- {{ toYaml $constraint | nindent 8 | trim }}
{{- if not $constraint.labelSelector }}
labelSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 12 }}
{{- end }}
{{- end }}
{{- end }}
{{- if .Values.commitServer.hostNetwork }}
hostNetwork: {{ .Values.commitServer.hostNetwork }}
{{- end }}
{{- with .Values.commitServer.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
dnsPolicy: {{ .Values.commitServer.dnsPolicy }}
{{- end }}

View file

@ -0,0 +1,35 @@
{{- if and .Values.commitServer.enabled .Values.commitServer.metrics.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ include "argo-cd.commitServer.fullname" . }}-metrics
namespace: {{ include "argo-cd.namespace" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" "metrics") | nindent 4 }}
{{- with .Values.commitServer.metrics.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- if or .Values.commitServer.metrics.service.annotations .Values.global.addPrometheusAnnotations }}
annotations:
{{- if .Values.global.addPrometheusAnnotations }}
prometheus.io/port: {{ .Values.commitServer.metrics.service.servicePort | quote }}
prometheus.io/scrape: "true"
{{- end }}
{{- range $key, $value := .Values.commitServer.metrics.service.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
type: {{ .Values.commitServer.metrics.service.type }}
{{- if and .Values.commitServer.metrics.service.clusterIP (eq .Values.commitServer.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.commitServer.metrics.service.clusterIP }}
{{- end }}
{{- include "argo-cd.dualStack" . | indent 2 }}
ports:
- name: {{ .Values.commitServer.metrics.service.portName }}
protocol: TCP
port: {{ .Values.commitServer.metrics.service.servicePort }}
targetPort: 8087
selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 4 }}
{{- end }}

View file

@ -0,0 +1,25 @@
{{- if and .Values.commitServer.enabled .Values.global.networkPolicy.create }}
apiVersion: networking.k8s.io/v1
kind: NetworkPolicy
metadata:
name: {{ template "argo-cd.commitServer.fullname" . }}
namespace: {{ include "argo-cd.namespace" . }}
spec:
podSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 6 }}
policyTypes:
- Ingress
ingress:
- from:
- podSelector:
matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.controller.name) | nindent 14 }}
ports:
- protocol: TCP
port: 8086
- from:
- namespaceSelector: { }
ports:
- port: 8087
{{- end }}

View file

@ -0,0 +1,26 @@
{{- if .Values.commitServer.enabled }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "argo-cd.commitServer.fullname" . }}
namespace: {{ include "argo-cd.namespace" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 4 }}
{{- with .Values.commitServer.service.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.commitServer.service.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
spec:
ports:
- name: server
protocol: TCP
port: 8086
targetPort: 8086
selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.commitServer.name) | nindent 4 }}
{{- end }}

View file

@ -0,0 +1,19 @@
{{- if and .Values.commitServer.enabled .Values.commitServer.serviceAccount.create }}
apiVersion: v1
kind: ServiceAccount
automountServiceAccountToken: {{ .Values.commitServer.serviceAccount.automountServiceAccountToken }}
metadata:
name: {{ include "argo-cd.commitServer.serviceAccountName" . }}
namespace: {{ include "argo-cd.namespace" . }}
{{- with .Values.commitServer.serviceAccount.annotations }}
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.commitServer.name "name" .Values.commitServer.name) | nindent 4 }}
{{- with .Values.commitServer.serviceAccount.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}

View file

@ -1,12 +1,12 @@
{{- if (hasKey .Values.server "configEnabled") | ternary .Values.server.configEnabled .Values.configs.cm.create }} {{- if .Values.configs.cm.create }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-cm name: argocd-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cm") | nindent 4 }}
{{- with (mergeOverwrite (deepCopy .Values.configs.cm.annotations) (.Values.server.configAnnotations | default dict)) }} {{- with .Values.configs.cm.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cmd-params-cm") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "cmd-params-cm") | nindent 4 }}
{{- if .Values.configs.params.annotations }} {{- if .Values.configs.params.annotations }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-cmp-cm name: argocd-cmp-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "cmp-cm") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "cmp-cm") | nindent 4 }}
{{- with .Values.configs.cmp.annotations }} {{- with .Values.configs.cmp.annotations }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: argocd-dex-server-tls name: argocd-dex-server-tls
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" "dex-server-tls") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.dex.name "name" "dex-server-tls") | nindent 4 }}
{{- with .Values.dex.certificateSecret.labels }} {{- with .Values.dex.certificateSecret.labels }}

View file

@ -2,16 +2,16 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-gpg-keys-cm name: argocd-gpg-keys-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "name" "gpg-keys-cm") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "name" "gpg-keys-cm") | nindent 4 }}
{{ with (mergeOverwrite (deepCopy .Values.configs.gpg.annotations) (.Values.configs.gpgKeysAnnotations | default dict)) -}} {{- with .Values.configs.gpg.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{ with (mergeOverwrite (deepCopy .Values.configs.gpg.keys) (.Values.configs.gpgKeys | default dict)) -}} {{- with .Values.configs.gpg.keys }}
data: data:
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}

View file

@ -3,12 +3,12 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-notifications-cm name: argocd-notifications-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
data: data:
context: | context: |
argocdUrl: {{ .Values.notifications.argocdUrl | quote }} argocdUrl: {{ .Values.notifications.argocdUrl | default (printf "https://%s" .Values.global.domain) }}
{{- with .Values.notifications.context }} {{- with .Values.notifications.context }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}

View file

@ -2,8 +2,8 @@
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: argocd-notifications-secret name: {{ .Values.notifications.secret.name }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
{{- with .Values.notifications.secret.labels }} {{- with .Values.notifications.secret.labels }}

View file

@ -1,18 +1,18 @@
{{- if (hasKey .Values.server "rbacConfigCreate") | ternary .Values.server.rbacConfigCreate .Values.configs.rbac.create }} {{- if .Values.configs.rbac.create }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-rbac-cm name: argocd-rbac-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "rbac-cm") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "rbac-cm") | nindent 4 }}
{{- with (mergeOverwrite (deepCopy .Values.configs.rbac.annotations) (.Values.server.rbacConfigAnnotations | default dict)) }} {{- with .Values.configs.rbac.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- with (mergeOverwrite (deepCopy (omit .Values.configs.rbac "create" "annotations")) (.Values.server.rbacConfig | default dict)) }} {{- with (omit .Values.configs.rbac "create" "annotations") }}
data: data:
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: argocd-repo-server-tls name: argocd-repo-server-tls
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "repo-server-tls") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" "repo-server-tls") | nindent 4 }}
{{- with .Values.repoServer.certificateSecret.labels }} {{- with .Values.repoServer.certificateSecret.labels }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: argocd-secret name: argocd-secret
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "secret") | nindent 4 }}
{{- with .Values.configs.secret.labels }} {{- with .Values.configs.secret.labels }}
@ -16,7 +16,7 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
type: Opaque type: Opaque
{{- if or .Values.configs.secret.githubSecret (or .Values.configs.secret.gitlabSecret .Values.configs.secret.bitbucketUUID .Values.configs.secret.bitbucketServerSecret .Values.configs.secret.gogsSecret .Values.configs.secret.argocdServerAdminPassword .Values.configs.secret.argocdServerTlsConfig .Values.configs.secret.extra) }} {{- if or .Values.configs.secret.githubSecret (or .Values.configs.secret.gitlabSecret .Values.configs.secret.bitbucketUUID .Values.configs.secret.bitbucketServerSecret .Values.configs.secret.gogsSecret (and .Values.configs.secret.azureDevops.username .Values.configs.secret.azureDevops.password) .Values.configs.secret.argocdServerAdminPassword .Values.configs.secret.extra) }}
# Setting a blank data again will wipe admin password/key/cert # Setting a blank data again will wipe admin password/key/cert
data: data:
{{- with .Values.configs.secret.githubSecret }} {{- with .Values.configs.secret.githubSecret }}
@ -34,9 +34,9 @@ data:
{{- with .Values.configs.secret.gogsSecret }} {{- with .Values.configs.secret.gogsSecret }}
webhook.gogs.secret: {{ . | b64enc }} webhook.gogs.secret: {{ . | b64enc }}
{{- end }} {{- end }}
{{- with .Values.configs.secret.argocdServerTlsConfig }} {{- if and .Values.configs.secret.azureDevops.username .Values.configs.secret.azureDevops.password }}
tls.key: {{ .key | b64enc }} webhook.azuredevops.username: {{ .Values.configs.secret.azureDevops.username | b64enc }}
tls.crt: {{ .crt | b64enc }} webhook.azuredevops.password: {{ .Values.configs.secret.azureDevops.password | b64enc }}
{{- end }} {{- end }}
{{- if .Values.configs.secret.argocdServerAdminPassword }} {{- if .Values.configs.secret.argocdServerAdminPassword }}
admin.password: {{ .Values.configs.secret.argocdServerAdminPassword | b64enc }} admin.password: {{ .Values.configs.secret.argocdServerAdminPassword | b64enc }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: argocd-server-tls name: argocd-server-tls
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "server-tls") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" "server-tls") | nindent 4 }}
{{- with .Values.server.certificateSecret.labels }} {{- with .Values.server.certificateSecret.labels }}

View file

@ -1,11 +1,12 @@
{{- if .Values.configs.ssh.create }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-ssh-known-hosts-cm name: argocd-ssh-known-hosts-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "name" "ssh-known-hosts-cm") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "name" "ssh-known-hosts-cm") | nindent 4 }}
{{- with (mergeOverwrite (deepCopy .Values.configs.ssh.annotations) (.Values.configs.knownHostsAnnotations | default dict)) }} {{- with .Values.configs.ssh.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
@ -13,11 +14,8 @@ metadata:
{{- end }} {{- end }}
data: data:
ssh_known_hosts: | ssh_known_hosts: |
{{- if hasKey .Values.configs "knownHosts" }} {{- .Values.configs.ssh.knownHosts | nindent 4 }}
{{- .Values.configs.knownHosts.data.ssh_known_hosts | nindent 4 }}
{{- else }}
{{- .Values.configs.ssh.knownHosts | nindent 4 }}
{{- end }}
{{- with .Values.configs.ssh.extraHosts }} {{- with .Values.configs.ssh.extraHosts }}
{{- . | nindent 4 }} {{- . | nindent 4 }}
{{- end }} {{- end }}
{{- end }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-styles-cm name: argocd-styles-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
data: data:

View file

@ -1,21 +1,17 @@
{{- if .Values.configs.tls.create }}
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
name: argocd-tls-certs-cm name: argocd-tls-certs-cm
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "name" "tls-certs-cm") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "name" "tls-certs-cm") | nindent 4 }}
{{- with (mergeOverwrite (deepCopy .Values.configs.tls.annotations) (.Values.configs.tlsCertsAnnotations | default dict)) }} {{- with .Values.configs.tls.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if hasKey .Values.configs "tlsCerts" }}
{{- with .Values.configs.tlsCerts }}
{{- toYaml . | nindent 0 }}
{{- end }}
{{- else }}
{{- with .Values.configs.tls.certificates }} {{- with .Values.configs.tls.certificates }}
data: data:
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}

View file

@ -1,17 +1,17 @@
{{- range .Values.configs.clusterCredentials }} {{- range $cluster_key, $cluster_value := .Values.configs.clusterCredentials }}
--- ---
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "argo-cd.name" $ }}-cluster-{{ .name }} name: {{ include "argo-cd.name" $ }}-cluster-{{ $cluster_key }}
namespace: {{ $.Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" $ | quote }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
{{- with .labels }} {{- with $cluster_value.labels }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
argocd.argoproj.io/secret-type: cluster argocd.argoproj.io/secret-type: cluster
{{- with .annotations }} {{- with $cluster_value.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
@ -19,17 +19,20 @@ metadata:
{{- end }} {{- end }}
type: Opaque type: Opaque
stringData: stringData:
name: {{ required "A valid .Values.configs.clusterCredentials[].name entry is required!" .name }} {{- if $cluster_value.shard }}
server: {{ required "A valid .Values.configs.clusterCredentials[].server entry is required!" .server }} shard: {{ $cluster_value.shard | quote }}
{{- if .namespaces }} {{- end }}
namespaces: {{ .namespaces }} name: {{ $cluster_key }}
{{- if .clusterResources }} server: {{ required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.server entry is required!" $cluster_value.server }}
clusterResources: {{ .clusterResources | quote }} {{- if $cluster_value.namespaces }}
namespaces: {{ $cluster_value.namespaces }}
{{- if $cluster_value.clusterResources }}
clusterResources: {{ $cluster_value.clusterResources | quote }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .project }} {{- if $cluster_value.project }}
project: {{ .project | quote }} project: {{ $cluster_value.project | quote }}
{{- end }} {{- end }}
config: | config: |
{{- required "A valid .Values.configs.clusterCredentials[].config entry is required!" .config | toRawJson | nindent 4 }} {{- required "A valid .Values.configs.clusterCredentials.CLUSTERNAME.config entry is required!" $cluster_value.config | toRawJson | nindent 4 }}
{{- end }} {{- end }}

View file

@ -2,8 +2,8 @@
apiVersion: v1 apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: {{ include "argo-cd.redis.fullname" . }} name: argocd-redis
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}
{{- with .Values.externalRedis.secretAnnotations }} {{- with .Values.externalRedis.secretAnnotations }}

View file

@ -4,7 +4,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: argocd-repo-creds-{{ $repo_cred_key }} name: argocd-repo-creds-{{ $repo_cred_key }}
namespace: {{ $.Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" $ | quote }}
labels: labels:
argocd.argoproj.io/secret-type: repo-creds argocd.argoproj.io/secret-type: repo-creds
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}

View file

@ -4,7 +4,7 @@ apiVersion: v1
kind: Secret kind: Secret
metadata: metadata:
name: argocd-repo-{{ $repo_key }} name: argocd-repo-{{ $repo_key }}
namespace: {{ $.Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" $ | quote }}
labels: labels:
argocd.argoproj.io/secret-type: repository argocd.argoproj.io/secret-type: repository
{{- include "argo-cd.labels" (dict "context" $) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" $) | nindent 4 }}

View file

@ -10,13 +10,43 @@ rules:
{{- toYaml . | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- end }} {{- end }}
- apiGroups: - apiGroups:
- "argoproj.io" - argoproj.io
resources: resources:
- "applications" - applications
- appprojects
verbs: verbs:
- get - get
- list - list
- watch - watch
- update - update
- patch - patch
- apiGroups:
- ""
resources:
- configmaps
- secrets
verbs:
- list
- watch
{{- if (index .Values.configs.params "application.namespaces") }}
- create
{{- end }}
{{- if .Values.notifications.cm.create }}
- apiGroups:
- ""
resourceNames:
- argocd-notifications-cm
resources:
- configmaps
verbs:
- get
{{- end }}
- apiGroups:
- ""
resourceNames:
- {{ .Values.notifications.secret.name }}
resources:
- secrets
verbs:
- get
{{- end }} {{- end }}

View file

@ -12,5 +12,5 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.notifications.serviceAccountName" . }} name: {{ include "argo-cd.notifications.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}
{{- end }} {{- end }}

View file

@ -9,7 +9,7 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ include "argo-cd.notifications.fullname" . }} name: {{ include "argo-cd.notifications.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
spec: spec:
@ -36,6 +36,9 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
{{- with .Values.notifications.runtimeClassName | default .Values.global.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.notifications.imagePullSecrets | default .Values.global.imagePullSecrets }} {{- with .Values.notifications.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -55,6 +58,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.notifications.terminationGracePeriodSeconds }} terminationGracePeriodSeconds: {{ .Values.notifications.terminationGracePeriodSeconds }}
{{- end }} {{- end }}
serviceAccountName: {{ include "argo-cd.notifications.serviceAccountName" . }} serviceAccountName: {{ include "argo-cd.notifications.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.notifications.automountServiceAccountToken }}
containers: containers:
- name: {{ .Values.notifications.name }} - name: {{ .Values.notifications.name }}
image: {{ default .Values.global.image.repository .Values.notifications.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.notifications.image.tag }} image: {{ default .Values.global.image.repository .Values.notifications.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.notifications.image.tag }}
@ -64,8 +68,9 @@ spec:
- --metrics-port={{ .Values.notifications.containerPorts.metrics }} - --metrics-port={{ .Values.notifications.containerPorts.metrics }}
- --loglevel={{ default .Values.global.logging.level .Values.notifications.logLevel }} - --loglevel={{ default .Values.global.logging.level .Values.notifications.logLevel }}
- --logformat={{ default .Values.global.logging.format .Values.notifications.logFormat }} - --logformat={{ default .Values.global.logging.format .Values.notifications.logFormat }}
- --namespace={{ .Release.Namespace }} - --namespace={{ include "argo-cd.namespace" . }}
- --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }} - --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
- --secret-name={{ .Values.notifications.secret.name }}
{{- range .Values.notifications.extraArgs }} {{- range .Values.notifications.extraArgs }}
- {{ . | squote }} - {{ . | squote }}
{{- end }} {{- end }}
@ -91,6 +96,18 @@ spec:
key: application.namespaces key: application.namespaces
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
optional: true optional: true
- name: ARGOCD_NOTIFICATION_CONTROLLER_SELF_SERVICE_NOTIFICATION_ENABLED
valueFrom:
configMapKeyRef:
key: notificationscontroller.selfservice.enabled
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_NOTIFICATION_CONTROLLER_REPO_SERVER_PLAINTEXT
valueFrom:
configMapKeyRef:
key: notificationscontroller.repo.server.plaintext
name: argocd-cmd-params-cm
optional: true
{{- with .Values.notifications.extraEnvFrom }} {{- with .Values.notifications.extraEnvFrom }}
envFrom: envFrom:
{{- toYaml . | nindent 12 }} {{- toYaml . | nindent 12 }}
@ -99,6 +116,26 @@ spec:
- name: metrics - name: metrics
containerPort: {{ .Values.notifications.containerPorts.metrics }} containerPort: {{ .Values.notifications.containerPorts.metrics }}
protocol: TCP protocol: TCP
{{- if .Values.notifications.livenessProbe.enabled }}
livenessProbe:
tcpSocket:
port: metrics
initialDelaySeconds: {{ .Values.notifications.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.notifications.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.notifications.livenessProbe.timeoutSeconds }}
successThreshold: {{ .Values.notifications.livenessProbe.successThreshold }}
failureThreshold: {{ .Values.notifications.livenessProbe.failureThreshold }}
{{- end }}
{{- if .Values.notifications.readinessProbe.enabled }}
readinessProbe:
tcpSocket:
port: metrics
initialDelaySeconds: {{ .Values.notifications.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.notifications.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.notifications.readinessProbe.timeoutSeconds }}
successThreshold: {{ .Values.notifications.readinessProbe.successThreshold }}
failureThreshold: {{ .Values.notifications.readinessProbe.failureThreshold }}
{{- end }}
resources: resources:
{{- toYaml .Values.notifications.resources | nindent 12 }} {{- toYaml .Values.notifications.resources | nindent 12 }}
{{- with .Values.notifications.containerSecurityContext }} {{- with .Values.notifications.containerSecurityContext }}

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "argo-cd.notifications.fullname" . }}-metrics name: {{ include "argo-cd.notifications.fullname" . }}-metrics
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 4 }}
{{- with .Values.notifications.metrics.service.labels }} {{- with .Values.notifications.metrics.service.labels }}
@ -24,6 +24,7 @@ spec:
{{- if and .Values.notifications.metrics.service.clusterIP (eq .Values.notifications.metrics.service.type "ClusterIP") }} {{- if and .Values.notifications.metrics.service.clusterIP (eq .Values.notifications.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.notifications.metrics.service.clusterIP }} clusterIP: {{ .Values.notifications.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- include "argo-cd.dualStack" . | indent 2 }}
selector: selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 6 }}
ports: ports:

View file

@ -3,7 +3,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: {{ template "argo-cd.notifications.fullname" . }} name: {{ template "argo-cd.notifications.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
spec: spec:

View file

@ -3,7 +3,7 @@ apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ include "argo-cd.notifications.fullname" . }} name: {{ include "argo-cd.notifications.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
{{- with .Values.notifications.pdb.labels }} {{- with .Values.notifications.pdb.labels }}

View file

@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: {{ template "argo-cd.notifications.fullname" . }} name: {{ template "argo-cd.notifications.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
rules: rules:
@ -37,7 +37,7 @@ rules:
- apiGroups: - apiGroups:
- "" - ""
resourceNames: resourceNames:
- argocd-notifications-secret - {{ .Values.notifications.secret.name }}
resources: resources:
- secrets - secrets
verbs: verbs:

View file

@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: {{ include "argo-cd.notifications.fullname" . }} name: {{ include "argo-cd.notifications.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
roleRef: roleRef:
@ -13,5 +13,5 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.notifications.serviceAccountName" . }} name: {{ include "argo-cd.notifications.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}
{{- end }} {{- end }}

View file

@ -4,7 +4,7 @@ kind: ServiceAccount
automountServiceAccountToken: {{ .Values.notifications.serviceAccount.automountServiceAccountToken }} automountServiceAccountToken: {{ .Values.notifications.serviceAccount.automountServiceAccountToken }}
metadata: metadata:
name: {{ include "argo-cd.notifications.serviceAccountName" . }} name: {{ include "argo-cd.notifications.serviceAccountName" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
{{- with .Values.notifications.serviceAccount.annotations }} {{- with .Values.notifications.serviceAccount.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}

View file

@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
name: {{ template "argo-cd.notifications.fullname" . }} name: {{ template "argo-cd.notifications.fullname" . }}
namespace: {{ default .Release.Namespace .Values.notifications.metrics.serviceMonitor.namespace | quote }} namespace: {{ default (include "argo-cd.namespace" .) .Values.notifications.metrics.serviceMonitor.namespace | quote }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
{{- with .Values.notifications.metrics.serviceMonitor.selector }} {{- with .Values.notifications.metrics.serviceMonitor.selector }}
@ -41,9 +41,10 @@ spec:
metricRelabelings: metricRelabelings:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
honorLabels: {{ .Values.notifications.metrics.serviceMonitor.honorLabels }}
namespaceSelector: namespaceSelector:
matchNames: matchNames:
- {{ .Release.Namespace }} - {{ include "argo-cd.namespace" . }}
selector: selector:
matchLabels: matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 6 }} {{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.notifications.name "name" "metrics") | nindent 6 }}

View file

@ -1,5 +1,4 @@
{{- $config := .Values.repoServer.clusterAdminAccess | default dict -}} {{- if and .Values.createClusterRoles .Values.repoServer.clusterRoleRules.enabled }}
{{- if hasKey $config "enabled" | ternary $config.enabled .Values.createClusterRoles }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
@ -7,8 +6,8 @@ metadata:
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
rules: rules:
{{- if .Values.repoServer.clusterRoleRules.enabled }} {{- with .Values.repoServer.clusterRoleRules.rules }}
{{- toYaml .Values.repoServer.clusterRoleRules.rules | nindent 2 }} {{- toYaml . | nindent 2 }}
{{- else }} {{- else }}
- apiGroups: - apiGroups:
- '*' - '*'

View file

@ -1,5 +1,4 @@
{{- $config := .Values.repoServer.clusterAdminAccess | default dict -}} {{- if and .Values.createClusterRoles .Values.repoServer.clusterRoleRules.enabled }}
{{- if hasKey $config "enabled" | ternary $config.enabled .Values.createClusterRoles }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
@ -13,5 +12,5 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.repoServer.serviceAccountName" . }} name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}
{{- end }} {{- end }}

View file

@ -8,7 +8,7 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ template "argo-cd.repoServer.fullname" . }} name: {{ template "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
spec: spec:
@ -30,7 +30,7 @@ spec:
{{- if .Values.repoServer.certificateSecret.enabled }} {{- if .Values.repoServer.certificateSecret.enabled }}
checksum/repo-server-tls: {{ include (print $.Template.BasePath "/argocd-configs/argocd-repo-server-tls-secret.yaml") . | sha256sum }} checksum/repo-server-tls: {{ include (print $.Template.BasePath "/argocd-configs/argocd-repo-server-tls-secret.yaml") . | sha256sum }}
{{- end }} {{- end }}
{{- if (hasKey .Values.server "configEnabled") | ternary .Values.server.configEnabled .Values.configs.cm.create }} {{- if .Values.configs.cm.create }}
checksum/cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cm.yaml") . | sha256sum }} checksum/cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cm.yaml") . | sha256sum }}
{{- end }} {{- end }}
{{- if .Values.configs.cmp.create }} {{- if .Values.configs.cmp.create }}
@ -47,6 +47,9 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
{{- with .Values.repoServer.runtimeClassName | default .Values.global.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.repoServer.imagePullSecrets | default .Values.global.imagePullSecrets }} {{- with .Values.repoServer.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -66,6 +69,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.repoServer.terminationGracePeriodSeconds }} terminationGracePeriodSeconds: {{ .Values.repoServer.terminationGracePeriodSeconds }}
{{- end }} {{- end }}
serviceAccountName: {{ include "argo-cd.repoServer.serviceAccountName" . }} serviceAccountName: {{ include "argo-cd.repoServer.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.repoServer.automountServiceAccountToken }}
containers: containers:
- name: {{ .Values.repoServer.name }} - name: {{ .Values.repoServer.name }}
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }} image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
@ -74,14 +78,6 @@ spec:
- /usr/local/bin/argocd-repo-server - /usr/local/bin/argocd-repo-server
- --port={{ .Values.repoServer.containerPorts.server }} - --port={{ .Values.repoServer.containerPorts.server }}
- --metrics-port={{ .Values.repoServer.containerPorts.metrics }} - --metrics-port={{ .Values.repoServer.containerPorts.metrics }}
{{- with .Values.repoServer.logFormat }}
- --logformat
- {{ . | quote }}
{{- end }}
{{- with .Values.repoServer.logLevel }}
- --loglevel
- {{ . | quote }}
{{- end }}
{{- with .Values.repoServer.extraArgs }} {{- with .Values.repoServer.extraArgs }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
@ -93,6 +89,8 @@ spec:
- name: USER_NAME - name: USER_NAME
value: argocd value: argocd
{{- end }} {{- end }}
- name: ARGOCD_REPO_SERVER_NAME
value: {{ template "argo-cd.repoServer.fullname" . }}
- name: ARGOCD_RECONCILIATION_TIMEOUT - name: ARGOCD_RECONCILIATION_TIMEOUT
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -180,14 +178,30 @@ spec:
- name: REDIS_USERNAME - name: REDIS_USERNAME
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }} name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
key: redis-username key: redis-username
optional: true optional: true
- name: REDIS_PASSWORD - name: REDIS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }} name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
{{- if .Values.externalRedis.host }}
key: redis-password key: redis-password
{{- else }}
key: auth
{{- end }}
optional: true
- name: REDIS_SENTINEL_USERNAME
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-username
optional: true
- name: REDIS_SENTINEL_PASSWORD
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-password
optional: true optional: true
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION - name: ARGOCD_DEFAULT_CACHE_EXPIRATION
valueFrom: valueFrom:
@ -201,6 +215,18 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: otlp.address key: otlp.address
optional: true optional: true
- name: ARGOCD_REPO_SERVER_OTLP_INSECURE
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.insecure
optional: true
- name: ARGOCD_REPO_SERVER_OTLP_HEADERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.headers
optional: true
- name: ARGOCD_REPO_SERVER_MAX_COMBINED_DIRECTORY_MANIFESTS_SIZE - name: ARGOCD_REPO_SERVER_MAX_COMBINED_DIRECTORY_MANIFESTS_SIZE
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -213,6 +239,12 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: reposerver.plugin.tar.exclusions key: reposerver.plugin.tar.exclusions
optional: true optional: true
- name: ARGOCD_REPO_SERVER_PLUGIN_USE_MANIFEST_GENERATE_PATHS
valueFrom:
configMapKeyRef:
key: reposerver.plugin.use.manifest.generate.paths
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_REPO_SERVER_ALLOW_OUT_OF_BOUNDS_SYMLINKS - name: ARGOCD_REPO_SERVER_ALLOW_OUT_OF_BOUNDS_SYMLINKS
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -249,6 +281,30 @@ spec:
key: reposerver.enable.git.submodule key: reposerver.enable.git.submodule
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
optional: true optional: true
- name: ARGOCD_GIT_LS_REMOTE_PARALLELISM_LIMIT
valueFrom:
configMapKeyRef:
key: reposerver.git.lsremote.parallelism.limit
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_GIT_REQUEST_TIMEOUT
valueFrom:
configMapKeyRef:
key: reposerver.git.request.timeout
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_REVISION_CACHE_LOCK_TIMEOUT
valueFrom:
configMapKeyRef:
key: reposerver.revision.cache.lock.timeout
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_REPO_SERVER_INCLUDE_HIDDEN_DIRECTORIES
valueFrom:
configMapKeyRef:
key: reposerver.include.hidden.directories
name: argocd-cmd-params-cm
optional: true
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }} {{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
- name: HELM_CACHE_HOME - name: HELM_CACHE_HOME
value: /helm-working-dir value: /helm-working-dir
@ -330,10 +386,8 @@ spec:
image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }} image: {{ default .Values.global.image.repository .Values.repoServer.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.repoServer.image.tag }}
imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }} imagePullPolicy: {{ default .Values.global.image.imagePullPolicy .Values.repoServer.image.imagePullPolicy }}
name: copyutil name: copyutil
{{- with .Values.repoServer.resources }}
resources: resources:
{{- toYaml . | nindent 10 }} {{- toYaml .Values.repoServer.resources | nindent 10 }}
{{- end }}
{{- with .Values.repoServer.containerSecurityContext }} {{- with .Values.repoServer.containerSecurityContext }}
securityContext: securityContext:
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
@ -373,14 +427,50 @@ spec:
{{- end }} {{- end }}
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }} {{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
- name: helm-working-dir - name: helm-working-dir
{{- if .Values.repoServer.existingVolumes.helmWorkingDir -}}
{{ toYaml .Values.repoServer.existingVolumes.helmWorkingDir | nindent 8 }}
{{- else }}
{{- if .Values.repoServer.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.repoServer.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
{{- end }}
{{- end }} {{- end }}
- name: plugins - name: plugins
{{- if .Values.repoServer.existingVolumes.plugins -}}
{{ toYaml .Values.repoServer.existingVolumes.plugins | nindent 8 }}
{{- else }}
{{- if .Values.repoServer.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.repoServer.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
{{- end }}
- name: var-files - name: var-files
{{- if .Values.repoServer.existingVolumes.varFiles -}}
{{ toYaml .Values.repoServer.existingVolumes.varFiles | nindent 8 }}
{{- else }}
{{- if .Values.repoServer.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.repoServer.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
{{- end }}
- name: tmp - name: tmp
{{- if .Values.repoServer.existingVolumes.tmp -}}
{{ toYaml .Values.repoServer.existingVolumes.tmp | nindent 8 }}
{{- else }}
{{- if .Values.repoServer.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.repoServer.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
{{- end }}
- name: ssh-known-hosts - name: ssh-known-hosts
configMap: configMap:
name: argocd-ssh-known-hosts-cm name: argocd-ssh-known-hosts-cm
@ -391,7 +481,16 @@ spec:
configMap: configMap:
name: argocd-gpg-keys-cm name: argocd-gpg-keys-cm
- name: gpg-keyring - name: gpg-keyring
{{- if .Values.repoServer.existingVolumes.gpgKeyring -}}
{{ toYaml .Values.repoServer.existingVolumes.gpgKeyring | nindent 8 }}
{{- else }}
{{- if .Values.repoServer.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.repoServer.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
{{- end }}
- name: argocd-repo-server-tls - name: argocd-repo-server-tls
secret: secret:
secretName: argocd-repo-server-tls secretName: argocd-repo-server-tls

View file

@ -3,7 +3,7 @@ apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler kind: HorizontalPodAutoscaler
metadata: metadata:
name: {{ include "argo-cd.repoServer.fullname" . }} name: {{ include "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
spec: spec:

View file

@ -3,7 +3,7 @@ apiVersion: v1
kind: Service kind: Service
metadata: metadata:
name: {{ include "argo-cd.repoServer.fullname" . }}-metrics name: {{ include "argo-cd.repoServer.fullname" . }}-metrics
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 4 }}
{{- with .Values.repoServer.metrics.service.labels }} {{- with .Values.repoServer.metrics.service.labels }}
@ -24,6 +24,7 @@ spec:
{{- if and .Values.repoServer.metrics.service.clusterIP (eq .Values.repoServer.metrics.service.type "ClusterIP") }} {{- if and .Values.repoServer.metrics.service.clusterIP (eq .Values.repoServer.metrics.service.type "ClusterIP") }}
clusterIP: {{ .Values.repoServer.metrics.service.clusterIP }} clusterIP: {{ .Values.repoServer.metrics.service.clusterIP }}
{{- end }} {{- end }}
{{- include "argo-cd.dualStack" . | indent 2 }}
ports: ports:
- name: {{ .Values.repoServer.metrics.service.portName }} - name: {{ .Values.repoServer.metrics.service.portName }}
protocol: TCP protocol: TCP

View file

@ -5,7 +5,7 @@ metadata:
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
name: {{ template "argo-cd.repoServer.fullname" . }} name: {{ template "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
spec: spec:
ingress: ingress:
- from: - from:
@ -20,11 +20,9 @@ spec:
matchLabels: matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 10 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.notifications.name) | nindent 10 }}
{{- end }} {{- end }}
{{- if .Values.applicationSet.enabled }}
- podSelector: - podSelector:
matchLabels: matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 10 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.applicationSet.name) | nindent 10 }}
{{- end }}
ports: ports:
- port: repo-server - port: repo-server
protocol: TCP protocol: TCP

View file

@ -3,7 +3,7 @@ apiVersion: policy/v1
kind: PodDisruptionBudget kind: PodDisruptionBudget
metadata: metadata:
name: {{ include "argo-cd.repoServer.fullname" . }} name: {{ include "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
{{- with .Values.repoServer.pdb.labels }} {{- with .Values.repoServer.pdb.labels }}

View file

@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: metadata:
name: {{ template "argo-cd.repoServer.fullname" . }} name: {{ template "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
rules: rules:

View file

@ -3,7 +3,7 @@ apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: metadata:
name: {{ include "argo-cd.repoServer.fullname" . }} name: {{ include "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
roleRef: roleRef:
@ -13,5 +13,5 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.repoServer.serviceAccountName" . }} name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}
{{- end }} {{- end }}

View file

@ -13,12 +13,13 @@ metadata:
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
name: {{ template "argo-cd.repoServer.fullname" . }} name: {{ template "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
spec: spec:
{{- include "argo-cd.dualStack" . | indent 2 }}
ports: ports:
- name: {{ .Values.repoServer.service.portName }} - name: {{ .Values.repoServer.service.portName }}
protocol: TCP protocol: TCP
port: {{ .Values.repoServer.service.port }} port: {{ .Values.repoServer.service.port }}
targetPort: repo-server targetPort: repo-server
selector: selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.repoServer.name) | nindent 4 }}

View file

@ -4,7 +4,7 @@ kind: ServiceAccount
automountServiceAccountToken: {{ .Values.repoServer.serviceAccount.automountServiceAccountToken }} automountServiceAccountToken: {{ .Values.repoServer.serviceAccount.automountServiceAccountToken }}
metadata: metadata:
name: {{ include "argo-cd.repoServer.serviceAccountName" . }} name: {{ include "argo-cd.repoServer.serviceAccountName" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
{{- with .Values.repoServer.serviceAccount.annotations }} {{- with .Values.repoServer.serviceAccount.annotations }}
annotations: annotations:
{{- range $key, $value := . }} {{- range $key, $value := . }}
@ -13,7 +13,7 @@ metadata:
{{- end }} {{- end }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
{{- range $key, $value := .Values.repoServer.serviceAccount.labels }} {{- with .Values.repoServer.serviceAccount.labels }}
{{- toYaml . | nindent 4 }} {{- toYaml . | nindent 4 }}
{{- end }} {{- end }}
{{- end }} {{- end }}

View file

@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor kind: ServiceMonitor
metadata: metadata:
name: {{ template "argo-cd.repoServer.fullname" . }} name: {{ template "argo-cd.repoServer.fullname" . }}
namespace: {{ default .Release.Namespace .Values.repoServer.metrics.serviceMonitor.namespace | default }} namespace: {{ default (include "argo-cd.namespace" .) .Values.repoServer.metrics.serviceMonitor.namespace | quote }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
{{- with .Values.repoServer.metrics.serviceMonitor.selector }} {{- with .Values.repoServer.metrics.serviceMonitor.selector }}
@ -22,6 +22,9 @@ spec:
{{- with .Values.repoServer.metrics.serviceMonitor.interval }} {{- with .Values.repoServer.metrics.serviceMonitor.interval }}
interval: {{ . }} interval: {{ . }}
{{- end }} {{- end }}
{{- with .Values.repoServer.metrics.serviceMonitor.scrapeTimeout }}
scrapeTimeout: {{ . }}
{{- end }}
path: /metrics path: /metrics
{{- with .Values.repoServer.metrics.serviceMonitor.relabelings }} {{- with .Values.repoServer.metrics.serviceMonitor.relabelings }}
relabelings: relabelings:
@ -31,6 +34,7 @@ spec:
metricRelabelings: metricRelabelings:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
honorLabels: {{ .Values.repoServer.metrics.serviceMonitor.honorLabels }}
{{- with .Values.repoServer.metrics.serviceMonitor.scheme }} {{- with .Values.repoServer.metrics.serviceMonitor.scheme }}
scheme: {{ . }} scheme: {{ . }}
{{- end }} {{- end }}
@ -40,7 +44,7 @@ spec:
{{- end }} {{- end }}
namespaceSelector: namespaceSelector:
matchNames: matchNames:
- {{ .Release.Namespace }} - {{ include "argo-cd.namespace" . }}
selector: selector:
matchLabels: matchLabels:
{{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 6 }} {{- include "argo-cd.selectorLabels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-metrics" .Values.repoServer.name)) | nindent 6 }}

View file

@ -0,0 +1,71 @@
{{- if and .Values.server.ingress.enabled (eq .Values.server.ingress.controller "aws") }}
{{- $insecure := index .Values.configs.params "server.insecure" | toString -}}
{{- $servicePort := eq $insecure "true" | ternary .Values.server.service.servicePortHttp .Values.server.service.servicePortHttps -}}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: {{ include "argo-cd.server.fullname" . }}
namespace: {{ include "argo-cd.namespace" . }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
{{- with .Values.server.ingress.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
annotations:
alb.ingress.kubernetes.io/conditions.{{ include "argo-cd.server.fullname" . }}-grpc: |
[{"field":"http-header","httpHeaderConfig":{"httpHeaderName": "Content-Type", "values":["application/grpc"]}}]
{{- range $key, $value := .Values.server.ingress.annotations }}
{{ $key }}: {{ $value | quote }}
{{- end }}
spec:
{{- with .Values.server.ingress.ingressClassName }}
ingressClassName: {{ . }}
{{- end }}
rules:
- host: {{ .Values.server.ingress.hostname | default .Values.global.domain }}
http:
paths:
{{- with .Values.server.ingress.extraPaths }}
{{- tpl (toYaml .) $ | nindent 10 }}
{{- end }}
- path: {{ .Values.server.ingress.path }}
pathType: {{ $.Values.server.ingressGrpc.pathType }}
backend:
service:
name: {{ include "argo-cd.server.fullname" $ }}-grpc
port:
number: {{ $servicePort }}
- path: {{ .Values.server.ingress.path }}
pathType: {{ $.Values.server.ingress.pathType }}
backend:
service:
name: {{ include "argo-cd.server.fullname" . }}
port:
number: {{ $servicePort }}
{{- range .Values.server.ingress.extraHosts }}
- host: {{ .name | quote }}
http:
paths:
- path: {{ default $.Values.server.ingress.path .path }}
pathType: {{ default $.Values.server.ingress.pathType .pathType }}
backend:
service:
name: {{ include "argo-cd.server.fullname" $ }}
port:
number: {{ $servicePort }}
{{- end }}
{{- with .Values.server.ingress.extraRules }}
{{- tpl (toYaml .) $ | nindent 4 }}
{{- end }}
{{- if or .Values.server.ingress.tls .Values.server.ingress.extraTls }}
tls:
{{- if .Values.server.ingress.tls }}
- hosts:
- {{ .Values.server.ingress.hostname | default .Values.global.domain }}
secretName: argocd-server-tls
{{- end }}
{{- with .Values.server.ingress.extraTls }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- end }}
{{- end }}

View file

@ -1,14 +1,15 @@
{{- if and .Values.server.ingressGrpc.enabled .Values.server.ingressGrpc.isAWSALB -}} {{- if and .Values.server.ingress.enabled (eq .Values.server.ingress.controller "aws") }}
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: metadata:
annotations: annotations:
alb.ingress.kubernetes.io/backend-protocol-version: {{ .Values.server.ingressGrpc.awsALB.backendProtocolVersion }} alb.ingress.kubernetes.io/backend-protocol-version: {{ .Values.server.ingress.aws.backendProtocolVersion }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" (print .Values.server.name "-gprc") "name" (print .Values.server.name "-grpc")) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" (print .Values.server.name "-gprc") "name" (print .Values.server.name "-grpc")) | nindent 4 }}
name: {{ template "argo-cd.server.fullname" . }}-grpc name: {{ template "argo-cd.server.fullname" . }}-grpc
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
spec: spec:
{{- include "argo-cd.dualStack" . | indent 2 }}
ports: ports:
- name: {{ .Values.server.service.servicePortHttpName }} - name: {{ .Values.server.service.servicePortHttpName }}
protocol: TCP protocol: TCP
@ -21,5 +22,5 @@ spec:
selector: selector:
{{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }} {{- include "argo-cd.selectorLabels" (dict "context" . "name" .Values.server.name) | nindent 4 }}
sessionAffinity: None sessionAffinity: None
type: {{ .Values.server.ingressGrpc.awsALB.serviceType }} type: {{ .Values.server.ingress.aws.serviceType }}
{{- end -}} {{- end -}}

View file

@ -9,14 +9,21 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ include "argo-cd.server.fullname" . }} name: {{ include "argo-cd.server.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
spec: spec:
secretName: {{ .Values.server.certificate.secretName }} {{- with .Values.server.certificate.secretTemplateAnnotations }}
commonName: {{ .Values.server.certificate.domain | quote }} secretTemplate:
annotations:
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
{{- end }}
{{- end }}
secretName: argocd-server-tls
commonName: {{ .Values.server.certificate.domain | default .Values.global.domain }}
dnsNames: dnsNames:
- {{ .Values.server.certificate.domain | quote }} - {{ .Values.server.certificate.domain | default .Values.global.domain }}
{{- range .Values.server.certificate.additionalHosts }} {{- range .Values.server.certificate.additionalHosts }}
- {{ . | quote }} - {{ . | quote }}
{{- end }} {{- end }}

View file

@ -1,5 +1,4 @@
{{- $config := .Values.server.clusterAdminAccess | default dict -}} {{- if .Values.createClusterRoles }}
{{- if hasKey $config "enabled" | ternary $config.enabled .Values.createClusterRoles }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole kind: ClusterRole
metadata: metadata:
@ -7,31 +6,32 @@ metadata:
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
rules: rules:
{{- if .Values.server.clusterRoleRules.enabled }}
{{- toYaml .Values.server.clusterRoleRules.rules | nindent 2 }}
{{- else }}
- apiGroups: - apiGroups:
- '*' - '*'
resources: resources:
- '*' - '*'
verbs: verbs:
- delete - delete # supports deletion a live object in UI
- get - get # supports viewing live object manifest in UI
- patch - patch # supports `argocd app patch`
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- events - events
verbs: verbs:
- list - list # supports listing events in UI
{{- if (index .Values.configs.params "application.namespaces") }}
- create - create
{{- end }}
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
- pods - pods
- pods/log - pods/log
verbs: verbs:
- get - get # supports viewing pod logs from UI
{{- if eq (toString (index (coalesce .Values.server.config .Values.configs.cm) "exec.enabled")) "true" }} {{- if eq (toString (index .Values.configs.cm "exec.enabled")) "true" }}
- apiGroups: - apiGroups:
- "" - ""
resources: resources:
@ -49,6 +49,17 @@ rules:
- list - list
- update - update
- watch - watch
{{- if (index .Values.configs.params "application.namespaces") }}
- apiGroups:
- "argoproj.io"
resources:
- "applications"
verbs:
- create
- delete
- update
- patch
{{- end }}
- apiGroups: - apiGroups:
- batch - batch
resources: resources:
@ -63,4 +74,5 @@ rules:
verbs: verbs:
{{/* supports triggering workflows from UI */}} {{/* supports triggering workflows from UI */}}
- create - create
{{- end }}
{{- end }} {{- end }}

View file

@ -1,5 +1,4 @@
{{- $config := .Values.server.clusterAdminAccess | default dict -}} {{- if .Values.createClusterRoles }}
{{- if hasKey $config "enabled" | ternary $config.enabled .Values.createClusterRoles }}
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding kind: ClusterRoleBinding
metadata: metadata:
@ -13,5 +12,5 @@ roleRef:
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: {{ include "argo-cd.server.serviceAccountName" . }} name: {{ include "argo-cd.server.serviceAccountName" . }}
namespace: {{ .Release.Namespace }} namespace: {{ include "argo-cd.namespace" . }}
{{- end }} {{- end }}

View file

@ -8,7 +8,7 @@ metadata:
{{- end }} {{- end }}
{{- end }} {{- end }}
name: {{ template "argo-cd.server.fullname" . }} name: {{ template "argo-cd.server.fullname" . }}
namespace: {{ .Release.Namespace | quote }} namespace: {{ include "argo-cd.namespace" . }}
labels: labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }} {{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
spec: spec:
@ -27,6 +27,9 @@ spec:
metadata: metadata:
annotations: annotations:
checksum/cmd-params: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cmd-params-cm.yaml") . | sha256sum }} checksum/cmd-params: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cmd-params-cm.yaml") . | sha256sum }}
{{- if .Values.configs.cm.create }}
checksum/cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cm.yaml") . | sha256sum }}
{{- end }}
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.server.podAnnotations) }} {{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.server.podAnnotations) }}
{{- range $key, $value := . }} {{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }} {{ $key }}: {{ $value | quote }}
@ -38,6 +41,9 @@ spec:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
spec: spec:
{{- with .Values.server.runtimeClassName | default .Values.global.runtimeClassName }}
runtimeClassName: {{ . }}
{{- end }}
{{- with .Values.server.imagePullSecrets | default .Values.global.imagePullSecrets }} {{- with .Values.server.imagePullSecrets | default .Values.global.imagePullSecrets }}
imagePullSecrets: imagePullSecrets:
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
@ -57,6 +63,7 @@ spec:
terminationGracePeriodSeconds: {{ .Values.server.terminationGracePeriodSeconds }} terminationGracePeriodSeconds: {{ .Values.server.terminationGracePeriodSeconds }}
{{- end }} {{- end }}
serviceAccountName: {{ include "argo-cd.server.serviceAccountName" . }} serviceAccountName: {{ include "argo-cd.server.serviceAccountName" . }}
automountServiceAccountToken: {{ .Values.server.automountServiceAccountToken }}
containers: containers:
- name: {{ .Values.server.name }} - name: {{ .Values.server.name }}
image: {{ default .Values.global.image.repository .Values.server.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.server.image.tag }} image: {{ default .Values.global.image.repository .Values.server.image.repository }}:{{ default (include "argo-cd.defaultTag" .) .Values.server.image.tag }}
@ -65,14 +72,6 @@ spec:
- /usr/local/bin/argocd-server - /usr/local/bin/argocd-server
- --port={{ .Values.server.containerPorts.server }} - --port={{ .Values.server.containerPorts.server }}
- --metrics-port={{ .Values.server.containerPorts.metrics }} - --metrics-port={{ .Values.server.containerPorts.metrics }}
{{- with .Values.server.logFormat }}
- --logformat
- {{ . | quote }}
{{- end }}
{{- with .Values.server.logLevel }}
- --loglevel
- {{ . | quote }}
{{- end }}
{{- with .Values.server.extraArgs }} {{- with .Values.server.extraArgs }}
{{- toYaml . | nindent 8 }} {{- toYaml . | nindent 8 }}
{{- end }} {{- end }}
@ -80,6 +79,8 @@ spec:
{{- with (concat .Values.global.env .Values.server.env) }} {{- with (concat .Values.global.env .Values.server.env) }}
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
{{- end }} {{- end }}
- name: ARGOCD_SERVER_NAME
value: {{ template "argo-cd.server.fullname" . }}
- name: ARGOCD_SERVER_INSECURE - name: ARGOCD_SERVER_INSECURE
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -245,14 +246,30 @@ spec:
- name: REDIS_USERNAME - name: REDIS_USERNAME
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }} name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
key: redis-username key: redis-username
optional: true optional: true
- name: REDIS_PASSWORD - name: REDIS_PASSWORD
valueFrom: valueFrom:
secretKeyRef: secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }} name: {{ default "argocd-redis" .Values.externalRedis.existingSecret }}
{{- if .Values.externalRedis.host }}
key: redis-password key: redis-password
{{- else }}
key: auth
{{- end }}
optional: true
- name: REDIS_SENTINEL_USERNAME
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-username
optional: true
- name: REDIS_SENTINEL_PASSWORD
valueFrom:
secretKeyRef:
name: {{ default (include "argo-cd.redis.fullname" .) .Values.externalRedis.existingSecret }}
key: redis-sentinel-password
optional: true optional: true
- name: ARGOCD_DEFAULT_CACHE_EXPIRATION - name: ARGOCD_DEFAULT_CACHE_EXPIRATION
valueFrom: valueFrom:
@ -284,6 +301,18 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: otlp.address key: otlp.address
optional: true optional: true
- name: ARGOCD_SERVER_OTLP_INSECURE
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.insecure
optional: true
- name: ARGOCD_SERVER_OTLP_HEADERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: otlp.headers
optional: true
- name: ARGOCD_APPLICATION_NAMESPACES - name: ARGOCD_APPLICATION_NAMESPACES
valueFrom: valueFrom:
configMapKeyRef: configMapKeyRef:
@ -296,6 +325,60 @@ spec:
name: argocd-cmd-params-cm name: argocd-cmd-params-cm
key: server.enable.proxy.extension key: server.enable.proxy.extension
optional: true optional: true
- name: ARGOCD_K8SCLIENT_RETRY_MAX
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.k8sclient.retry.max
optional: true
- name: ARGOCD_K8SCLIENT_RETRY_BASE_BACKOFF
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.k8sclient.retry.base.backoff
optional: true
- name: ARGOCD_API_CONTENT_TYPES
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.api.content.types
optional: true
- name: ARGOCD_SERVER_WEBHOOK_PARALLELISM_LIMIT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.webhook.parallelism.limit
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_NEW_GIT_FILE_GLOBBING
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.enable.new.git.file.globbing
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_SCM_ROOT_CA_PATH
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.scm.root.ca.path
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ALLOWED_SCM_PROVIDERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.allowed.scm.providers
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_SCM_PROVIDERS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.enable.scm.providers
optional: true
- name: ARGOCD_HYDRATOR_ENABLED
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: hydrator.enabled
optional: true
{{- with .Values.server.envFrom }} {{- with .Values.server.envFrom }}
envFrom: envFrom:
{{- toYaml . | nindent 10 }} {{- toYaml . | nindent 10 }}
@ -318,6 +401,8 @@ spec:
name: styles name: styles
- mountPath: /tmp - mountPath: /tmp
name: tmp name: tmp
- name: argocd-cmd-params-cm
mountPath: /home/argocd/params
{{- if .Values.server.extensions.enabled }} {{- if .Values.server.extensions.enabled }}
- mountPath: /tmp/extensions - mountPath: /tmp/extensions
name: extensions name: extensions
@ -415,12 +500,27 @@ spec:
{{- end }} {{- end }}
{{- if .Values.server.extensions.enabled }} {{- if .Values.server.extensions.enabled }}
- name: extensions - name: extensions
{{- if .Values.server.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.server.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
{{- end }} {{- end }}
- name: plugins-home - name: plugins-home
{{- if .Values.server.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.server.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
- name: tmp - name: tmp
{{- if .Values.server.emptyDir.sizeLimit }}
emptyDir:
sizeLimit: {{ .Values.server.emptyDir.sizeLimit }}
{{- else }}
emptyDir: {} emptyDir: {}
{{- end }}
- name: ssh-known-hosts - name: ssh-known-hosts
configMap: configMap:
name: argocd-ssh-known-hosts-cm name: argocd-ssh-known-hosts-cm
@ -451,6 +551,13 @@ spec:
path: tls.crt path: tls.crt
- key: ca.crt - key: ca.crt
path: ca.crt path: ca.crt
- name: argocd-cmd-params-cm
configMap:
optional: true
name: argocd-cmd-params-cm
items:
- key: server.profile.enabled
path: profiler.enabled
{{- if .Values.server.hostNetwork }} {{- if .Values.server.hostNetwork }}
hostNetwork: {{ .Values.server.hostNetwork }} hostNetwork: {{ .Values.server.hostNetwork }}
{{- end }} {{- end }}

Some files were not shown because too many files have changed in this diff Show more