Argo-cd 2.8 + merge upstream 5.46.2 (#21)

* feat(argocd-apps): add permitOnlyProjectScopedClusters flag (#2149)

Signed-off-by: Fabián Sellés Rosa <1088313+Fsero@users.noreply.github.com>

* feat(argo-cd): Allow configuring Dex's init image resources separately (#2161)

Allow configuring Dex's init image resources separately

Signed-off-by: Angelo Ross <angelo.ross@objective.com.br>

* chore(deps): bump helm/kind-action from 1.7.0 to 1.8.0 (#2163)

Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.7.0 to 1.8.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](fa81e57adf...dda0770415)

---
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>

* chore(deps): bump actions/labeler from 4.2.0 to 4.3.0 (#2164)

Bumps [actions/labeler](https://github.com/actions/labeler) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](0967ca812e...ac9175f8a1)

---
updated-dependencies:
- dependency-name: actions/labeler
  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>

* chore(deps): bump actions/setup-python from 4.6.1 to 4.7.0 (#2165)

Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.6.1 to 4.7.0.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](bd6b4b6205...61a6322f88)

---
updated-dependencies:
- dependency-name: actions/setup-python
  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>

* fix(argo-cd): Ensure `app.kubernetes.io/version` label is valid (#2148)

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>

* feat(argo-cd): allow configurable hpa metrics (#2166)

* allow configurable HPA metrics

Signed-off-by: Zach Swanson <zswanson@wayfair.com>

* update docs

Signed-off-by: Zach Swanson <zswanson@wayfair.com>

* Update chart version and changelog

Signed-off-by: Zach Swanson <zach.swanson@gmail.com>
Signed-off-by: Zach Swanson <zswanson@wayfair.com>

* Fix values/readme reference to repo server

Signed-off-by: Zach Swanson <zswanson@wayfair.com>

---------

Signed-off-by: Zach Swanson <zswanson@wayfair.com>
Signed-off-by: Zach Swanson <zach.swanson@gmail.com>
Signed-off-by: Zach Swanson <1272954+zswanson@users.noreply.github.com>

* feat(argo-cd): make ServiceMonitor deployment conditional on CRD existence (#2154)

* made ServiceMonitor deployment conditional on CRD existence

Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>

* remove non ArgoCD changes

Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>

* add newline

Signed-off-by: Alex Souslik <alex.s@hiredscore.com>

* Change chage description

Signed-off-by: Alex Souslik <alex.s@hiredscore.com>

* Update charts/argo-cd/Chart.yaml

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>

---------

Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

* feat(argo-cd): Upgrade argocd to v2.7.8 (#2173)

Signed-off-by: smcavallo <smcavallo@hotmail.com>

* feat(argo-rollouts): Upgrade Argo Rollouts to v1.5.1 (#2174)

* chore(argo-workflows): Upgrade to 3.4.9 (#2175)

chore(argo-workflow): Upgrade to 3.4.9

- [ ] update CRD changes

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

* feat(argocd-apps): syncOptions for applications (#2176)

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argocd-apps): fix indent of syncOptions (#2181)

* chore(github): use table for Emeritus (#2182)

- to matches how `argoproj` lists Alumni (6011d3e173/MAINTAINERS.md (L11))
  - though it has more details including role and affiliation. could do that here too, but I don't know what all those are, so left those columns out
    - fortunately everyone's name was listed on their profile, so just copy+paste those!

- confirmed that all links work

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

* fix(argo-rollouts): Use annotation cont metrics (#2184)

* fix(argo-rollouts): Use annotation cont metrics

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>

* fix(argo-rollouts): add changes and bump version

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>

* fix chart.yaml

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>

---------

Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>
Co-authored-by: Artur Mudrykh <a.mudrykh@uzum.com>

* chore(argo-cd): Upgrade Argo CD to v2.7.9 (#2186)

feat(argo-cd): Upgrade argocd to v2.7.9

Signed-off-by: Venkata Mutyala <venkata@venkatamutyala.com>

* feat(argo-workflows): allow setting executor args (#2177)

* feat(argo-cd): add labels to notifications secret (#2191) (#2192)

Signed-off-by: carlos gonzález <cgrs@users.noreply.github.com>

* chore(argo-cd): Upgrade Argo CD to v2.7.10 (#2197)

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

* fix(argo-rollouts): fix helm lint error when extraObjects is defined (#2196)

fix(extra-manifests): fix helm lint error when extraObjecrts is defined

Signed-off-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>

* fix(argo-cd): Template configuration keys as a string instead of map (#2205)

* fix(argo-rollouts): Add required ingress permission (#2207)

* chore(argo-cd): Upgrade Argo CD to v2.7.11 (#2210)

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

* feat(github): add Helm OCI support (#2209)

Signed-off-by: Engin Diri <engin.diri@ediri.de>

* feat(argo-cd): Upgrade Argo CD to 2.8.0 (#2170)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argo-rollouts): add CI for enabling extra objects for argo-rollouts (#2198)

* fix(argo-rollouts): add CI for enabling extra objects for argo-rollouts

Add CI for extra objects

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

* fix: rename extra objects ci file to have -values suffix

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

---------

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

* fix(argo-cd): Fix global log level configuration (#2213)

fix(argo-cd) - Fix global log level configuration

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

* chore(argo-cd): Change applicationSet replicaCount to replicas (#2214)

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

* fix(argo-cd): add missing permissions to run actions (#2212)

Signed-off-by: Mickaël Canévet <mickael.canevet@gmail.com>

* fix(argo-workflows): Server only needs `get` Secrets (#2211)

- as of aa366db345, the Server no longer needs `list` or `watch` and only uses `get`
  - this was released as part of [v3.4.0](https://github.com/argoproj/argo-workflows/blob/master/CHANGELOG.md#v340-rc1-2022-08-09), and the current version of the chart uses v3.4.9 (per `Chart.yaml#appVersion`)

- `update` is not needed either for SSO secret
  - manifests RBAC: a68ea0feab/manifests/cluster-install/argo-server-rbac/argo-server-clusterole.yaml (L18)
  - SSO source code only uses [`create`](20d0923611/server/auth/sso/sso.go (L140)) and [`get`](20d0923611/server/auth/sso/sso.go (L151))
    - (also some `get`s above that for [`clientID`](20d0923611/server/auth/sso/sso.go (L127)) and [`clientSecret`](20d0923611/server/auth/sso/sso.go (L106)) as well)

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>

* docs(argo-cd): Rename comment of repositoryCredentials to credentialTemplates (#2219)

Rename comment of repositoryCredentials to credentialTemplates

Signed-off-by: Ali Reza <alirezayahya@gmail.com>

* feat(argo-rollouts): update servicemonitor.yaml to allow for namespace to be set (#2222)

* Update servicemonitor.yaml to allow for namespace to be set

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update README.md

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update values.yaml

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Update Chart.yaml

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* Alphabetized namespace addition in README

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

---------

Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>

* chore(argo-workflows): Upgrade to Argo Workflows v3.4.10 (#2220)

* feat(argo-workflows): add imagePullSecret for workflow sa (#2226)

Signed-off-by: Fuochi <ffuochi@hotmail.com>

* chore(argo-workflows): update comment for azure artifact repository blobNameFormat (#2229)

* chore(argo-cd): Upgrade Argo CD to v2.8.1 (#2230)

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

* chore(argo-cd): Upgrade Argo CD to v2.8.2 (#2231)

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

* fix(argo-cd): Fix applicationSet HA examples in README.md (#2232)

Signed-off-by: Joonas Venäläinen <joonas.venalainen@anders.com>

* chore(deps): bump actions/checkout from 3.5.3 to 3.6.0 (#2234)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](c85c95e3d7...f43a0e5ff2)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>

* chore(argo-cd): Upgrade redis-exporter to 1.53.0 (#2236)

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* chore(argo-cd): Remove support for legacy cert-manager APIs (#2238)

* chore(argo-cd): Remove support for legacy cert-manager APIs

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

* Bump minor version

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

---------

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

* chore(argo-cd): Remove support for autoscaling/v1 (#2237)

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

* chore(argo-events): Upgrade argo-events to 1.8.1 (#2247)

https://github.com/argoproj/argo-events/releases/tag/v1.8.1

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

* fix(argo-cd): Update values.yaml - update custom css styles side bar example (#2245)

* Update values.yaml - update custom css styles side barexample

.nav-bar is no longer the css class name

Signed-off-by: JesseBot <jessebot@linux.com>

* Update Chart.yaml - update patch version for values.yaml comment update

Signed-off-by: JesseBot <jessebot@linux.com>

* Update Chart.yaml - update change log

Signed-off-by: JesseBot <jessebot@linux.com>

---------

Signed-off-by: JesseBot <jessebot@linux.com>

* chore(argo-rollouts): Upgrade Argo Rollouts to v1.6.0 (#2252)

* chore(argo-rollouts): Upgrade Argo Rollouts to v1.6.0

Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>

* chore(argo-rollouts): Update CRDs to matching version

Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>

---------

Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>
Co-authored-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>

* fix(argo-cd): Make the PathType configurable when using single ingress resource in AWS (#2251)

* Make the PathType configurable when using single ingress resource in AWS

Signed-off-by: Tamas <tamas@ujet.cx>

* update chart version and doc

Signed-off-by: Tamas <tamas@ujet.cx>

* Fix reference to value in range

Signed-off-by: Tamas <tamas@ujet.cx>

---------

Signed-off-by: Tamas <tamas@ujet.cx>
Co-authored-by: Tamas <tamas@ujet.cx>

* chore(argo-cd): Upgrade Argo CD to v2.8.3 (#2254)

Signed-off-by: Alexej Disterhoft <alexej@disterhoft.de>

* chore(argo-workflows): Upgrade Argo Workflows to v3.4.11 (#2255)

* fix(argo-cd): Restart Repo Server and Application Controller as following the change of Argo CD CM (#2235)

* fix(argo-cd): Restart Repo Server and Application Controller as following the change of Argo CD CM

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

* fix(argo-cd): Aligne condition to argocd-cm

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

---------

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

* docs(argo-cd): Document scheduling parameters for redis-ha (#2253)

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

* feat(argo-cd): adds toggle for helm-working-dir (#2249)

- Adds a toggle to be able to turn off the helm-working-dir for the
  repo server deployment. Using a shared helm repo storage directory can
  cause issues when multiple helm commands are being run in parallel.
  The repo server also has the ability to rebuild the repos and do
  updates in the normal flow for checking the status of an application
  so it won't cause issues if it's disabled.

Signed-off-by: Andrew Hamilton <ahamilton55@gmail.com>

* chore(deps): bump actions/checkout from 3.6.0 to 4.0.0 (#2258)

Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](f43a0e5ff2...3df4ab11eb)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>

* chore(deps): bump actions/upload-artifact from 3.1.2 to 3.1.3 (#2259)

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](0b7f8abb15...a8a3f3ad30)

---
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>

* docs(argo-workflows): add an HA section (#2183)

* feat(argo-workflows): add a sample HA config

- a `values-ha.yaml` as an example for how one would set-up HA according to the Argo Workflows docs

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

* docs(argo-workflows): add an HA section

- plus add a test for HA, which the docs link to as an example
- link back to [upstream docs](https://argoproj.github.io/argo-workflows/high-availability/) as well

- follow the same basic structure as the [Argo CD chart for HA](3e35b0c7f7/charts/argo-cd/README.md (L17))
  - as asked in review

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

---------

Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>

* fix(argo-cd): Migrate leftover of applicationSet.replicaCount to applicationSet.replicas (#2261)

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

* docs(argo-cd): improve changelog (#2262)

* clarify 5.19.0 changes
* revise wording

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>

---------

Signed-off-by: Fabián Sellés Rosa <1088313+Fsero@users.noreply.github.com>
Signed-off-by: Angelo Ross <angelo.ross@objective.com.br>
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
Signed-off-by: Zach Swanson <zswanson@wayfair.com>
Signed-off-by: Zach Swanson <zach.swanson@gmail.com>
Signed-off-by: Zach Swanson <1272954+zswanson@users.noreply.github.com>
Signed-off-by: alex-souslik-hs <alex.s@hiredscore.com>
Signed-off-by: Alex Souslik <alex.s@hiredscore.com>
Signed-off-by: smcavallo <smcavallo@hotmail.com>
Signed-off-by: jmeridth <jmeridth@gmail.com>
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Signed-off-by: Artur Mudrykh <a.mudrykh@uzum.com>
Signed-off-by: Venkata Mutyala <venkata@venkatamutyala.com>
Signed-off-by: carlos gonzález <cgrs@users.noreply.github.com>
Signed-off-by: yu-croco <yu.croco@gmail.com>
Signed-off-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
Signed-off-by: Engin Diri <engin.diri@ediri.de>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Signed-off-by: Mickaël Canévet <mickael.canevet@gmail.com>
Signed-off-by: Ali Reza <alirezayahya@gmail.com>
Signed-off-by: Nick Kampe <Kampe@users.noreply.github.com>
Signed-off-by: Fuochi <ffuochi@hotmail.com>
Signed-off-by: Joonas Venäläinen <joonas.venalainen@anders.com>
Signed-off-by: JesseBot <jessebot@linux.com>
Signed-off-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>
Signed-off-by: Tamas <tamas@ujet.cx>
Signed-off-by: Alexej Disterhoft <alexej@disterhoft.de>
Signed-off-by: Andrew Hamilton <ahamilton55@gmail.com>
Signed-off-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Co-authored-by: Fabián Sellés Rosa <1088313+Fsero@users.noreply.github.com>
Co-authored-by: Angelo Ross <angeloborsoiross@hotmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Mathieu Parent <mathieu.parent@insee.fr>
Co-authored-by: Zach Swanson <1272954+zswanson@users.noreply.github.com>
Co-authored-by: Alex Souslik <alex.s@hiredscore.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: smcavallo <smcavallo@users.noreply.github.com>
Co-authored-by: Takuma Kume <takuma.kume@gmail.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
Co-authored-by: Anton Gilgur <4970083+agilgur5@users.noreply.github.com>
Co-authored-by: Artur <arturmon82@gmail.com>
Co-authored-by: Artur Mudrykh <a.mudrykh@uzum.com>
Co-authored-by: Venkata Mutyala <venkata@venkatamutyala.com>
Co-authored-by: Andy Cobaugh <andrew.cobaugh@gmail.com>
Co-authored-by: carlos gonzález <cgrs@users.noreply.github.com>
Co-authored-by: Grégory SANCHEZ <gregory.sanchez@icloud.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Engin Diri <engin.diri@ediri.de>
Co-authored-by: Mickaël Canévet <mickael.canevet@gmail.com>
Co-authored-by: Ali Reza <alirezayahya@gmail.com>
Co-authored-by: Nick Kampe <Kampe@users.noreply.github.com>
Co-authored-by: Fuochi <ffuochi@hotmail.com>
Co-authored-by: Jeongwon Song <46633758+jsong336@users.noreply.github.com>
Co-authored-by: Joonas Venäläinen <38143731+joonvena@users.noreply.github.com>
Co-authored-by: JesseBot <jessebot@linux.com>
Co-authored-by: Gustav Kofoed Clausen <gustav@gustavclausen.com>
Co-authored-by: Gustav Kofoed Clausen <gustavclausen@users.noreply.github.com>
Co-authored-by: Tamas Szasz <szasz.tamas@gmail.com>
Co-authored-by: Tamas <tamas@ujet.cx>
Co-authored-by: Alexej Disterhoft <github@disterhoft.de>
Co-authored-by: Andrew Hamilton <ahamilton55@gmail.com>
Co-authored-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
Yaroslav Drachenko 2023-09-12 17:37:00 +03:00 committed by GitHub
parent 69064e2730
commit c7e05467a4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
61 changed files with 2875 additions and 209 deletions

View file

@ -13,7 +13,7 @@ jobs:
options: --user 1001
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
- name: Run ah lint
working-directory: ./charts
run: ah lint
@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 0
@ -32,7 +32,7 @@ jobs:
version: v3.10.1 # Also update in publish.yaml
- name: Set up python
uses: actions/setup-python@bd6b4b6205c4dbad673328db7b31b7fab9e241c0 # v4.6.1
uses: actions/setup-python@61a6322f88396a6271a6ee3565807d608ecaddd1 # v4.7.0
with:
python-version: 3.9
@ -70,7 +70,7 @@ jobs:
fi
- name: Create kind cluster
uses: helm/kind-action@fa81e57adff234b2908110485695db0f181f3c67 # v1.7.0
uses: helm/kind-action@dda0770415bac9fc20092cacbc54aa298604d140 # v1.8.0
if: steps.list-changed.outputs.changed == 'true'
with:
config: .github/configs/kind-config.yaml

View file

@ -16,7 +16,7 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- uses: actions/labeler@0967ca812e7fdc8f5f71402a1b486d5bd061fe20 # v4.2.0
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0
with:
configuration-path: ".github/configs/labeler.yaml"
repo-token: "${{ secrets.GITHUB_TOKEN }}"

View file

@ -4,6 +4,8 @@ on:
push:
branches:
- argo-cd
paths:
- "charts/**"
permissions:
contents: read
@ -12,10 +14,11 @@ jobs:
publish:
permissions:
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
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
fetch-depth: 0

View file

@ -33,7 +33,7 @@ jobs:
steps:
- name: "Checkout code"
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4.0.0
with:
persist-credentials: false
@ -60,7 +60,7 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
with:
name: SARIF file
path: results.sarif

View file

@ -4,9 +4,11 @@ These are the people who have been approvers in the past, and have since retired
We thank them for their service to the project.
* @oliverbaehler
* @stefansedich
* @paguos
* @yann-soubeyrand
* @davidkarlsen
* @jbehling
| Emeritus | GitHub ID |
| -------- | --------- |
| Oliver Bähler | [oliverbaehler](https://github.com/oliverbaehler) |
| Stefan Sedich | [stefansedich](https://github.com/stefansedich) |
| Pablo Osinaga | [paguos](https://github.com/paguos) |
| Yann Soubeyrand | [yann-soubeyrand](https://github.com/yann-soubeyrand) |
| David J. M. Karlsen | [davidkarlsen](https://github.com/davidkarlsen) |
| John Behling | [jbehling](https://github.com/jbehling) |

View file

@ -1,9 +1,9 @@
apiVersion: v2
appVersion: v2.7.0-cap-CR-19754-deletion-fix
appVersion: v2.8.1-cap-CR-20116-rollout-sync-sha
kubeVersion: ">=1.23.0-0"
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
name: argo-cd
version: 5.38.1-2-cap-CR-19754
version: 5.46.2-1-cap-CR-20116
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
sources:
@ -27,4 +27,6 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Update ArgoCD version to v2.7.0-cap-CR-19754-deletion-fix
description: Update to upstream 5.46.2
- kind: changed
description: Update ArgoCD version to v2.8.1-cap-CR-20116-rollout-sync-sha

View file

@ -42,7 +42,7 @@ repoServer:
minReplicas: 2
applicationSet:
replicaCount: 2
replicas: 2
```
### HA mode without autoscaling
@ -61,7 +61,7 @@ repoServer:
replicas: 2
applicationSet:
replicaCount: 2
replicas: 2
```
### Synchronizing Changes from Original Repository
@ -106,7 +106,7 @@ 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.
### 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 Amazon EKS calendar, because many of AWS users and 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].
@ -126,7 +126,7 @@ This versions adds `global.affinity` options that are used as a presets. Overrid
### 5.19.0
This version consolidates config for custom repository TLS certificates and SSH known hosts. If you provide this values please move them into new `configs.ssh` and `configs.tls` sections.
This version consolidates config for custom repository TLS certificates and SSH known hosts. If you provided these values (`configs.knownHosts.*`, `configs.knownHostsAnnotations`, `configs.tlsCerts`, `configs.tlsCertsAnnotations`) please move them into new `configs.ssh` and `configs.tls` sections.
You can also use new option `configs.ssh.extraHosts` to configure your SSH keys without maintaing / overwritting keys for public Git repositories.
### 5.13.0
@ -383,8 +383,6 @@ NAME: my-release
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| apiVersionOverrides.autoscaling | string | `""` | String to override apiVersion of autoscaling rendered by this helm chart |
| apiVersionOverrides.certmanager | string | `""` | String to override apiVersion of cert-manager resources rendered by this helm chart |
| apiVersionOverrides.cloudgoogle | string | `""` | String to override apiVersion of GKE resources rendered by this helm chart |
| crds.additionalLabels | object | `{}` | Addtional labels to be added to all CRDs |
| crds.annotations | object | `{}` | Annotations to be added to all CRDs |
@ -461,7 +459,7 @@ NAME: my-release
| configs.params."reposerver.parallelism.limit" | int | `0` | Limit on number of concurrent manifests generate requests. Any value less the 1 means no limit. |
| configs.params."server.basehref" | string | `"/"` | Value for base href in index.html. Used if Argo CD is running behind reverse proxy under subpath different from / |
| configs.params."server.disable.auth" | bool | `false` | Disable Argo CD RBAC for user authentication |
| configs.params."server.enable.gzip" | bool | `false` | Enable GZIP compression |
| configs.params."server.enable.gzip" | bool | `true` | Enable GZIP compression |
| configs.params."server.insecure" | bool | `false` | Run server without TLS |
| configs.params."server.rootpath" | string | `""` | Used if Argo CD is running behind reverse proxy under subpath different from / |
| configs.params."server.staticassets" | string | `"/shared/app"` | Directory path that contains additional static assets |
@ -573,9 +571,10 @@ NAME: my-release
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| repoServer.affinity | object | `{}` (defaults to global.affinity preset) | Assign custom [affinity] rules to the deployment |
| repoServer.autoscaling.behavior | object | `{}` | Configures the scaling behavior of the target in both Up and Down directions. This is only available on HPA apiVersion `autoscaling/v2beta2` and newer |
| repoServer.autoscaling.behavior | object | `{}` | Configures the scaling behavior of the target in both Up and Down directions. |
| repoServer.autoscaling.enabled | bool | `false` | Enable Horizontal Pod Autoscaler ([HPA]) for the repo server |
| repoServer.autoscaling.maxReplicas | int | `5` | Maximum number of replicas for the repo server [HPA] |
| repoServer.autoscaling.metrics | list | `[]` | Configures custom HPA metrics for the Argo CD repo server Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ |
| repoServer.autoscaling.minReplicas | int | `1` | Minimum number of replicas for the repo server [HPA] |
| repoServer.autoscaling.targetCPUUtilizationPercentage | int | `50` | Average CPU utilization percentage for the repo server [HPA] |
| repoServer.autoscaling.targetMemoryUtilizationPercentage | int | `50` | Average memory utilization percentage for the repo server [HPA] |
@ -656,6 +655,7 @@ NAME: my-release
| repoServer.serviceAccount.name | string | `""` | Repo server service account name |
| repoServer.tolerations | list | `[]` (defaults to global.tolerations) | [Tolerations] for use with node taints |
| repoServer.topologySpreadConstraints | list | `[]` (defaults to global.topologySpreadConstraints) | Assign custom [TopologySpreadConstraints] rules to the repo server |
| repoServer.useEphemeralHelmWorkingDir | bool | `true` | Toggle the usage of a ephemeral Helm working directory |
| repoServer.volumeMounts | list | `[]` | Additional volumeMounts to the repo server main container |
| repoServer.volumes | list | `[]` | Additional volumes to the repo server pod |
@ -670,9 +670,10 @@ NAME: my-release
| server.GKEmanagedCertificate.domains | list | `["argocd.example.com"]` | Domains for the Google Managed Certificate |
| server.GKEmanagedCertificate.enabled | bool | `false` | Enable ManagedCertificate custom resource for Google Kubernetes Engine. |
| server.affinity | object | `{}` (defaults to global.affinity preset) | Assign custom [affinity] rules to the deployment |
| server.autoscaling.behavior | object | `{}` | Configures the scaling behavior of the target in both Up and Down directions. This is only available on HPA apiVersion `autoscaling/v2beta2` and newer |
| server.autoscaling.behavior | object | `{}` | Configures the scaling behavior of the target in both Up and Down directions. |
| server.autoscaling.enabled | bool | `false` | Enable Horizontal Pod Autoscaler ([HPA]) for the Argo CD server |
| server.autoscaling.maxReplicas | int | `5` | Maximum number of replicas for the Argo CD server [HPA] |
| server.autoscaling.metrics | list | `[]` | Configures custom HPA metrics for the Argo CD server Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/ |
| server.autoscaling.minReplicas | int | `1` | Minimum number of replicas for the Argo CD server [HPA] |
| server.autoscaling.targetCPUUtilizationPercentage | int | `50` | Average CPU utilization percentage for the Argo CD server [HPA] |
| server.autoscaling.targetMemoryUtilizationPercentage | int | `50` | Average memory utilization percentage for the Argo CD server [HPA] |
@ -864,6 +865,7 @@ server:
| dex.initContainers | list | `[]` | Init containers to add to the dex pod |
| dex.initImage.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Argo CD init image imagePullPolicy |
| dex.initImage.repository | string | `""` (defaults to global.image.repository) | Argo CD init image repository |
| dex.initImage.resources | object | `{}` (defaults to dex.resources) | Argo CD init image resources |
| dex.initImage.tag | string | `""` (defaults to global.image.tag) | Argo CD init image tag |
| dex.livenessProbe.enabled | bool | `false` | Enable Kubernetes liveness probe for Dex >= 2.28.0 |
| dex.livenessProbe.failureThreshold | int | `3` | Minimum consecutive failures for the [probe] to be considered failed after having succeeded |
@ -939,7 +941,7 @@ server:
| redis.exporter.env | list | `[]` | Environment variables to pass to the Redis exporter |
| redis.exporter.image.imagePullPolicy | string | `""` (defaults to global.image.imagePullPolicy) | Image pull policy for the redis-exporter |
| redis.exporter.image.repository | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
| redis.exporter.image.tag | string | `"1.45.0"` | Tag to use for the redis-exporter |
| redis.exporter.image.tag | string | `"1.53.0"` | Tag to use for the redis-exporter |
| redis.exporter.resources | object | `{}` | Resource limits and requests for redis-exporter sidecar |
| redis.extraArgs | list | `[]` | Additional command line arguments to pass to redis-server |
| redis.extraContainers | list | `[]` | Additional containers to be added to the redis pod |
@ -997,17 +999,27 @@ The main options are listed here:
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| redis-ha.additionalAffinities | object | `{}` | Additional affinities to add to the Redis server pods. |
| redis-ha.affinity | object | `{}` | Assign custom [affinity] rules to the Redis pods. |
| redis-ha.enabled | bool | `false` | Enables the Redis HA subchart and disables the custom Redis single node deployment |
| redis-ha.exporter.enabled | bool | `false` | Enable Prometheus redis-exporter sidecar |
| redis-ha.exporter.image | string | `"public.ecr.aws/bitnami/redis-exporter"` | Repository to use for the redis-exporter |
| redis-ha.exporter.tag | string | `"1.45.0"` | Tag to use for the redis-exporter |
| redis-ha.exporter.tag | string | `"1.53.0"` | Tag to use for the redis-exporter |
| redis-ha.haproxy.additionalAffinities | object | `{}` | Additional affinities to add to the haproxy pods. |
| redis-ha.haproxy.affinity | object | `{}` | Assign custom [affinity] rules to the haproxy pods. |
| redis-ha.haproxy.enabled | bool | `true` | Enabled HAProxy LoadBalancing/Proxy |
| redis-ha.haproxy.hardAntiAffinity | bool | `true` | Whether the haproxy pods should be forced to run on separate nodes. |
| redis-ha.haproxy.metrics.enabled | bool | `true` | HAProxy enable prometheus metric scraping |
| redis-ha.haproxy.tolerations | list | `[]` | [Tolerations] for use with node taints for haproxy pods. |
| redis-ha.hardAntiAffinity | bool | `true` | Whether the Redis server pods should be forced to run on separate nodes. |
| redis-ha.image.repository | string | `"redis"` | Redis repository |
| redis-ha.image.tag | string | `"7.0.11-alpine"` | Redis tag |
| redis-ha.persistentVolume.enabled | bool | `false` | Configures persistence on Redis nodes |
| redis-ha.redis.config | object | See [values.yaml] | Any valid redis config options in this section will be applied to each server (see `redis-ha` chart) |
| redis-ha.redis.config.save | string | `'""'` | Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. `""` is disabled |
| redis-ha.redis.masterGroupName | string | `"argocd"` | Redis convention for naming the cluster group: must match `^[\\w-\\.]+$` and can be templated |
| redis-ha.tolerations | list | `[]` | [Tolerations] for use with node taints for Redis pods. |
| redis-ha.topologySpreadConstraints | object | `{"enabled":false,"maxSkew":"","topologyKey":"","whenUnsatisfiable":""}` | Assign custom [TopologySpreadConstraints] rules to the Redis pods. |
| redis-ha.topologySpreadConstraints.enabled | bool | `false` | Enable Redis HA topology spread constraints |
| redis-ha.topologySpreadConstraints.maxSkew | string | `""` (defaults to `1`) | Max skew of pods tolerated |
| redis-ha.topologySpreadConstraints.topologyKey | string | `""` (defaults to `topology.kubernetes.io/zone`) | Topology key for spread |
@ -1110,7 +1122,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
| applicationSet.readinessProbe.periodSeconds | int | `10` | How often (in seconds) to perform the [probe] |
| applicationSet.readinessProbe.successThreshold | int | `1` | Minimum consecutive successes for the [probe] to be considered successful after having failed |
| applicationSet.readinessProbe.timeoutSeconds | int | `1` | Number of seconds after which the [probe] times out |
| applicationSet.replicaCount | int | `1` | The number of ApplicationSet controller pods to run |
| applicationSet.replicas | int | `1` | The number of ApplicationSet controller pods to run |
| applicationSet.resources | object | `{}` | Resource limits and requests for the ApplicationSet controller pods. |
| applicationSet.service.annotations | object | `{}` | ApplicationSet service annotations |
| applicationSet.service.labels | object | `{}` | ApplicationSet service labels |
@ -1192,6 +1204,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
| notifications.secret.annotations | object | `{}` | key:value pairs of annotations to be added to the secret |
| notifications.secret.create | bool | `true` | Whether helm chart creates notifications controller secret |
| notifications.secret.items | object | `{}` | Generic key:value pairs to be inserted into the secret |
| notifications.secret.labels | object | `{}` | key:value pairs of labels to be added to the secret |
| notifications.serviceAccount.annotations | object | `{}` | Annotations applied to created service account |
| notifications.serviceAccount.automountServiceAccountToken | bool | `true` | Automount API credentials for the Service Account |
| notifications.serviceAccount.create | bool | `true` | Create notifications controller service account |

View file

@ -41,7 +41,7 @@ repoServer:
minReplicas: 2
applicationSet:
replicaCount: 2
replicas: 2
```
### HA mode without autoscaling
@ -60,7 +60,7 @@ repoServer:
replicas: 2
applicationSet:
replicaCount: 2
replicas: 2
```
### Synchronizing Changes from Original Repository
@ -105,7 +105,7 @@ 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.
### 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 Amazon EKS calendar, because many of AWS users and 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].
@ -126,7 +126,7 @@ This versions adds `global.affinity` options that are used as a presets. Overrid
### 5.19.0
This version consolidates config for custom repository TLS certificates and SSH known hosts. If you provide this values please move them into new `configs.ssh` and `configs.tls` sections.
This version consolidates config for custom repository TLS certificates and SSH known hosts. If you provided these values (`configs.knownHosts.*`, `configs.knownHostsAnnotations`, `configs.tlsCerts`, `configs.tlsCertsAnnotations`) please move them into new `configs.ssh` and `configs.tls` sections.
You can also use new option `configs.ssh.extraHosts` to configure your SSH keys without maintaing / overwritting keys for public Git repositories.
### 5.13.0

View file

@ -52,8 +52,6 @@ DEPRECATED option configs.gpgKeys - Use config.gpg.keys
{{- if .Values.configs.gpgKeysAnnotations }}
DEPRECATED option configs.gpgKeysAnnotations - Use config.gpg.annotations
{{- end }}
<<<<<<< HEAD
=======
{{- if hasKey (.Values.controller.clusterAdminAccess | default dict) "enabled" }}
DEPRECATED option .controller.clusterAdminAccess.enabled - Use createClusterRoles
{{- end }}
@ -75,6 +73,9 @@ DEPRECATED option configs.tlsCertsAnnotations - Use configs.tls.annotations
{{- 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 }}
@ -87,7 +88,6 @@ DEPRECATED option applicationSet.args.policy - Use configs.params.applicationset
{{- if .Values.applicationSet.args.dryRun }}
DEPRECATED option applicationSet.args.dryRun - Use configs.params.applicationsetcontroller.dryRun
{{- end }}
>>>>>>> argo-cd-5.27.1
{{- if .Values.controller.service }}
REMOVED option controller.service - Use controller.metrics
{{- end }}
@ -100,8 +100,6 @@ REMOVED option applicationSet.args.debug - Use applicationSet.logLevel: debug
{{- if .Values.applicationSet.args.enableLeaderElection }}
REMOVED option applicationSet.args.enableLeaderElection - Value determined based on replicas
{{- end }}
<<<<<<< HEAD
=======
{{- if .Values.controller.containerPort }}
REMOVED option controller.containerPort - Use controller.containerPorts
{{- end }}
@ -123,7 +121,12 @@ REMOVED option redis.containerPort - Use redis.containerPorts
{{- if .Values.redis.metrics.containerPort }}
REMOVED option redis.metrics.containerPort - Use redis.containerPorts
{{- end }}
>>>>>>> argo-cd-5.27.1
{{- 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:

View file

@ -38,6 +38,13 @@ Create Argo CD app version
{{- default .Chart.AppVersion .Values.global.image.tag }}
{{- end -}}
{{/*
Return valid version label
*/}}
{{- define "argo-cd.versionLabelValue" -}}
{{ regexReplaceAll "[^-A-Za-z0-9_.]" (include "argo-cd.defaultTag" .) "-" | trunc 63 | trimAll "-" | trimAll "_" | trimAll "." | quote }}
{{- end -}}
{{/*
Common labels
*/}}
@ -46,7 +53,7 @@ helm.sh/chart: {{ include "argo-cd.chart" .context }}
{{ include "argo-cd.selectorLabels" (dict "context" .context "component" .component "name" .name) }}
app.kubernetes.io/managed-by: {{ .context.Release.Service }}
app.kubernetes.io/part-of: argocd
app.kubernetes.io/version: {{ include "argo-cd.defaultTag" .context }}
app.kubernetes.io/version: {{ include "argo-cd.versionLabelValue" .context }}
{{- with .context.Values.global.additionalLabels }}
{{ toYaml . }}
{{- end }}

View file

@ -162,9 +162,11 @@ Create the name of the notifications service account to use
Argo Configuration Preset Values (Incluenced by Values configuration)
*/}}
{{- define "argo-cd.config.cm.presets" -}}
{{- $presets := dict -}}
{{- if .Values.configs.styles -}}
ui.cssurl: "./custom/custom.styles.css"
{{- $_ := set $presets "ui.cssurl" "./custom/custom.styles.css" -}}
{{- end -}}
{{- toYaml $presets }}
{{- end -}}
{{/*
@ -183,24 +185,25 @@ Merge Argo Configuration with Preset Configuration
{{/*
Argo Params Default Configuration Presets
NOTE: Configuration keys must be stored as dict because YAML treats dot as separator
*/}}
{{- define "argo-cd.config.params.presets" -}}
repo.server: "{{ include "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}"
server.repo.server.strict.tls: {{ .Values.repoServer.certificateSecret.enabled | toString }}
{{- with include "argo-cd.redis.server" . }}
redis.server: {{ . | quote }}
{{- end }}
{{- if .Values.dex.enabled }}
server.dex.server: {{ include "argo-cd.dex.server" . | quote }}
server.dex.server.strict.tls: {{ .Values.dex.certificateSecret.enabled | toString }}
{{- end }}
{{- range $component := tuple "applicationsetcontroller" "controller" "server" "reposerver" }}
{{ $component }}.log.format: {{ $.Values.global.logging.format | quote }}
{{ $component }}.log.level: {{ $.Values.global.logging.level | quote }}
{{- end }}
{{- if .Values.applicationSet.enabled }}
applicationsetcontroller.enable.leader.election: {{ gt (.Values.applicationSet.replicaCount | int64) 1 }}
{{- end }}
{{- $presets := dict -}}
{{- $_ := 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 "redis.server" (include "argo-cd.redis.server" .) -}}
{{- if .Values.dex.enabled -}}
{{- $_ := set $presets "server.dex.server" (include "argo-cd.dex.server" .) -}}
{{- $_ := set $presets "server.dex.server.strict.tls" .Values.dex.certificateSecret.enabled -}}
{{- end -}}
{{- range $component := tuple "applicationsetcontroller" "controller" "server" "reposerver" -}}
{{- $_ := set $presets (printf "%s.log.format" $component) $.Values.global.logging.format -}}
{{- $_ := set $presets (printf "%s.log.level" $component) $.Values.global.logging.level -}}
{{- end -}}
{{- if .Values.applicationSet.enabled -}}
{{- $_ := set $presets "applicationsetcontroller.enable.leader.election" (gt ((.Values.applicationSet.replicas | default .Values.applicationSet.replicaCount) | int64) 1) -}}
{{- end -}}
{{- toYaml $presets }}
{{- end -}}
{{/*

View file

@ -6,38 +6,6 @@ Return the target Kubernetes version
{{- default .Capabilities.KubeVersion.Version .Values.kubeVersionOverride }}
{{- end }}
{{/*
Return the appropriate apiVersion for autoscaling
*/}}
{{- define "argo-cd.apiVersion.autoscaling" -}}
{{- if .Values.apiVersionOverrides.autoscaling -}}
{{- print .Values.apiVersionOverrides.autoscaling -}}
{{- else if semverCompare "<1.23-0" (include "argo-cd.kubeVersion" .) -}}
{{- print "autoscaling/v2beta1" -}}
{{- else -}}
{{- print "autoscaling/v2" -}}
{{- end -}}
{{- end -}}
{{/*
Return the appropriate apiVersion for cert-manager
*/}}
{{- define "argo-cd.apiVersion.cert-manager" -}}
{{- if .Values.apiVersionOverrides.certmanager -}}
{{- print .Values.apiVersionOverrides.certmanager -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1" -}}
{{- print "cert-manager.io/v1" -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1beta1" -}}
{{- print "cert-manager.io/v1beta1" -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha3" -}}
{{- print "cert-manager.io/v1alpha3" -}}
{{- else if .Capabilities.APIVersions.Has "cert-manager.io/v1alpha2" -}}
{{- print "cert-manager.io/v1alpha2" -}}
{{- else -}}
{{- print "certmanager.k8s.io/v1alpha1" -}}
{{- end -}}
{{- end -}}
{{/*
Return the appropriate apiVersion for GKE resources
*/}}

View file

@ -1,4 +1,4 @@
{{- if and .Values.controller.metrics.enabled .Values.controller.metrics.serviceMonitor.enabled }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.controller.metrics.enabled .Values.controller.metrics.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View file

@ -23,6 +23,9 @@ spec:
metadata:
annotations:
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 }}
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 }}
@ -236,6 +239,18 @@ spec:
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
{{- with .Values.controller.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}

View file

@ -1,5 +1,5 @@
{{- if .Values.applicationSet.certificate.enabled -}}
apiVersion: {{ include "argo-cd.apiVersion.cert-manager" . }}
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
{{- with (mergeOverwrite (deepCopy .Values.global.certificateAnnotations) .Values.applicationSet.certificate.annotations) }}

View file

@ -17,7 +17,7 @@ spec:
strategy:
{{- trim . | nindent 4 }}
{{- end }}
replicas: {{ .Values.applicationSet.replicaCount }}
replicas: {{ .Values.applicationSet.replicas | default .Values.applicationSet.replicaCount }}
revisionHistoryLimit: {{ .Values.global.revisionHistoryLimit }}
selector:
matchLabels:
@ -93,12 +93,6 @@ spec:
key: applicationsetcontroller.enable.leader.election
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_NAMESPACE
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.namespace
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER
valueFrom:
configMapKeyRef:
@ -111,6 +105,12 @@ spec:
key: applicationsetcontroller.policy
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_ENABLE_POLICY_OVERRIDE
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.enable.policy.override
name: argocd-cmd-params-cm
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_DEBUG
valueFrom:
configMapKeyRef:
@ -147,6 +147,54 @@ spec:
key: applicationsetcontroller.enable.progressive.syncs
name: argocd-cmd-params-cm
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_REPO_SERVER_PLAINTEXT
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.repo.server.plaintext
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_STRICT_TLS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.repo.server.strict.tls
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_REPO_SERVER_TIMEOUT_SECONDS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.repo.server.timeout.seconds
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_CONCURRENT_RECONCILIATIONS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: applicationsetcontroller.concurrent.reconciliations.max
optional: true
- name: ARGOCD_APPLICATIONSET_CONTROLLER_NAMESPACES
valueFrom:
configMapKeyRef:
key: applicationsetcontroller.namespaces
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
{{- with .Values.applicationSet.extraEnvFrom }}
envFrom:
{{- toYaml . | nindent 12 }}
@ -199,6 +247,8 @@ spec:
name: gpg-keys
- mountPath: /app/config/gpg/keys
name: gpg-keyring
- mountPath: /app/config/reposerver/tls
name: argocd-repo-server-tls
- mountPath: /tmp
name: tmp
{{- with .Values.applicationSet.extraContainers }}
@ -248,6 +298,17 @@ spec:
emptyDir: {}
- name: tmp
emptyDir: {}
- 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
{{- with .Values.applicationSet.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}

View file

@ -1,5 +1,5 @@
{{- if .Values.applicationSet.enabled }}
{{- if and .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
kind: ServiceMonitor
metadata:

View file

@ -6,6 +6,9 @@ metadata:
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.notifications.name "name" .Values.notifications.name) | nindent 4 }}
{{- with .Values.notifications.secret.labels }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.notifications.secret.annotations }}
annotations:
{{- range $key, $value := . }}

View file

@ -1,4 +1,4 @@
{{- if and .Values.notifications.enabled .Values.notifications.metrics.enabled .Values.notifications.metrics.serviceMonitor.enabled }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.notifications.enabled .Values.notifications.metrics.enabled .Values.notifications.metrics.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View file

@ -30,6 +30,9 @@ spec:
{{- if .Values.repoServer.certificateSecret.enabled }}
checksum/repo-server-tls: {{ include (print $.Template.BasePath "/argocd-configs/argocd-repo-server-tls-secret.yaml") . | sha256sum }}
{{- end }}
{{- if (hasKey .Values.server "configEnabled") | ternary .Values.server.configEnabled .Values.configs.cm.create }}
checksum/cm: {{ include (print $.Template.BasePath "/argocd-configs/argocd-cm.yaml") . | sha256sum }}
{{- end }}
{{- with (mergeOverwrite (deepCopy .Values.global.podAnnotations) .Values.repoServer.podAnnotations) }}
{{- range $key, $value := . }}
{{ $key }}: {{ $value | quote }}
@ -108,6 +111,18 @@ spec:
name: argocd-cmd-params-cm
key: reposerver.parallelism.limit
optional: true
- name: ARGOCD_REPO_SERVER_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: reposerver.listen.address
optional: true
- name: ARGOCD_REPO_SERVER_LISTEN_METRICS_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: reposerver.metrics.listen.address
optional: true
- name: ARGOCD_REPO_SERVER_DISABLE_TLS
valueFrom:
configMapKeyRef:
@ -216,12 +231,14 @@ spec:
key: reposerver.enable.git.submodule
name: argocd-cmd-params-cm
optional: true
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
- name: HELM_CACHE_HOME
value: /helm-working-dir
- name: HELM_CONFIG_HOME
value: /helm-working-dir
- name: HELM_DATA_HOME
value: /helm-working-dir
{{- end }}
{{- with .Values.repoServer.envFrom }}
envFrom:
{{- toYaml . | nindent 10 }}
@ -240,8 +257,10 @@ spec:
name: gpg-keyring
- mountPath: /app/config/reposerver/tls
name: argocd-repo-server-tls
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
- mountPath: /helm-working-dir
name: helm-working-dir
{{- end }}
- mountPath: /home/argocd/cmp-server/plugins
name: plugins
- mountPath: /tmp
@ -334,8 +353,10 @@ spec:
{{- with .Values.repoServer.volumes }}
{{- toYaml . | nindent 6 }}
{{- end }}
{{- if .Values.repoServer.useEphemeralHelmWorkingDir }}
- name: helm-working-dir
emptyDir: {}
{{- end }}
- name: plugins
emptyDir: {}
- name: var-files

View file

@ -1,42 +1,38 @@
{{- if .Values.repoServer.autoscaling.enabled }}
apiVersion: {{ include "argo-cd.apiVersion.autoscaling" . }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" (printf "%s-hpa" .Values.repoServer.name)) | nindent 4 }}
name: {{ template "argo-cd.repoServer.fullname" . }}-hpa
name: {{ include "argo-cd.repoServer.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.repoServer.name "name" .Values.repoServer.name) | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ template "argo-cd.repoServer.fullname" . }}
name: {{ include "argo-cd.repoServer.fullname" . }}
minReplicas: {{ .Values.repoServer.autoscaling.minReplicas }}
maxReplicas: {{ .Values.repoServer.autoscaling.maxReplicas }}
metrics:
{{- with .Values.repoServer.autoscaling.targetMemoryUtilizationPercentage }}
{{- with .Values.repoServer.autoscaling.metrics }}
{{- toYaml . | nindent 4 }}
{{- else }}
{{- with .Values.repoServer.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
{{- if eq (include "argo-cd.apiVersion.autoscaling" $) "autoscaling/v2beta1" }}
targetAverageUtilization: {{ . }}
{{- else }}
target:
averageUtilization: {{ . }}
type: Utilization
{{- end }}
{{- end }}
{{- with .Values.repoServer.autoscaling.targetCPUUtilizationPercentage }}
averageUtilization: {{ . }}
{{- end }}
{{- with .Values.repoServer.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
{{- if eq (include "argo-cd.apiVersion.autoscaling" $) "autoscaling/v2beta1" }}
targetAverageUtilization: {{ . }}
{{- else }}
target:
averageUtilization: {{ . }}
type: Utilization
{{- end }}
averageUtilization: {{ . }}
{{- end }}
{{- end }}
{{- with .Values.repoServer.autoscaling.behavior }}
behavior:

View file

@ -1,4 +1,4 @@
{{- if and .Values.repoServer.metrics.enabled .Values.repoServer.metrics.serviceMonitor.enabled }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.repoServer.metrics.enabled .Values.repoServer.metrics.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View file

@ -1,5 +1,5 @@
{{- if .Values.server.certificate.enabled -}}
apiVersion: {{ include "argo-cd.apiVersion.cert-manager" . }}
apiVersion: cert-manager.io/v1
kind: Certificate
metadata:
{{- with (mergeOverwrite (deepCopy .Values.global.certificateAnnotations) .Values.server.certificate.annotations) }}

View file

@ -45,4 +45,16 @@ rules:
- list
- update
- watch
- apiGroups:
- batch
resources:
- jobs
verbs:
- create
- apiGroups:
- argoproj.io
resources:
- workflows
verbs:
- create
{{- end }}

View file

@ -263,6 +263,18 @@ spec:
name: argocd-cmd-params-cm
key: server.http.cookie.maxnumber
optional: true
- name: ARGOCD_SERVER_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.listen.address
optional: true
- name: ARGOCD_SERVER_METRICS_LISTEN_ADDRESS
valueFrom:
configMapKeyRef:
name: argocd-cmd-params-cm
key: server.metrics.listen.address
optional: true
- name: ARGOCD_SERVER_OTLP_ADDRESS
valueFrom:
configMapKeyRef:

View file

@ -1,42 +1,38 @@
{{- if .Values.server.autoscaling.enabled }}
apiVersion: {{ include "argo-cd.apiVersion.autoscaling" . }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" (printf "%s-hpa" .Values.server.name)) | nindent 4 }}
name: {{ template "argo-cd.server.fullname" . }}-hpa
name: {{ include "argo-cd.server.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
labels:
{{- include "argo-cd.labels" (dict "context" . "component" .Values.server.name "name" .Values.server.name) | nindent 4 }}
spec:
scaleTargetRef:
apiVersion: apps/v1
kind: Deployment
name: {{ template "argo-cd.server.fullname" . }}
name: {{ include "argo-cd.server.fullname" . }}
minReplicas: {{ .Values.server.autoscaling.minReplicas }}
maxReplicas: {{ .Values.server.autoscaling.maxReplicas }}
metrics:
{{- with .Values.server.autoscaling.targetMemoryUtilizationPercentage }}
{{- with .Values.server.autoscaling.metrics }}
{{- toYaml . | nindent 4 }}
{{- else }}
{{- with .Values.server.autoscaling.targetMemoryUtilizationPercentage }}
- type: Resource
resource:
name: memory
{{- if eq (include "argo-cd.apiVersion.autoscaling" $) "autoscaling/v2beta1" }}
targetAverageUtilization: {{ . }}
{{- else }}
target:
averageUtilization: {{ . }}
type: Utilization
{{- end }}
{{- end }}
{{- with .Values.server.autoscaling.targetCPUUtilizationPercentage }}
averageUtilization: {{ . }}
{{- end }}
{{- with .Values.server.autoscaling.targetCPUUtilizationPercentage }}
- type: Resource
resource:
name: cpu
{{- if eq (include "argo-cd.apiVersion.autoscaling" $) "autoscaling/v2beta1" }}
targetAverageUtilization: {{ . }}
{{- else }}
target:
averageUtilization: {{ . }}
type: Utilization
{{- end }}
averageUtilization: {{ . }}
{{- end }}
{{- end }}
{{- with .Values.server.autoscaling.behavior }}
behavior:

View file

@ -39,7 +39,7 @@ spec:
{{- range $p := $paths }}
{{- if and $.Values.server.ingressGrpc.isAWSALB $.Values.server.ingressGrpc.enabled }}
- path: {{ $p }}
pathType: Prefix
pathType: {{ $.Values.server.ingressGrpc.pathType }}
backend:
service:
name: {{ template "argo-cd.server.fullname" $ }}-grpc

View file

@ -1,4 +1,4 @@
{{- if and .Values.server.metrics.enabled .Values.server.metrics.serviceMonitor.enabled }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.server.metrics.enabled .Values.server.metrics.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View file

@ -297,8 +297,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be
passed to helm template, defined as a map. This takes
precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for templating
("3")
@ -586,8 +593,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be
passed to helm template, defined as a map. This takes
precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -992,8 +1006,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed to
helm template, typically defined as a block
helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be passed
to helm template, defined as a map. This takes precedence
over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for templating
("3")
@ -1272,8 +1293,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed to
helm template, typically defined as a block
helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be passed
to helm template, defined as a map. This takes precedence
over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for templating
("3")
@ -1438,7 +1466,7 @@ spec:
as part of automated sync (default: false)'
type: boolean
selfHeal:
description: 'SelfHeal specifes whether to revert resources
description: 'SelfHeal specifies whether to revert resources
back to their desired state upon modification in the cluster
(default: false)'
type: boolean
@ -1502,7 +1530,7 @@ spec:
conditions
items:
description: ApplicationCondition contains details about an application
condition, which is usally an error or warning
condition, which is usually an error or warning
properties:
lastTransitionTime:
description: LastTransitionTime is the time the condition was
@ -1521,6 +1549,10 @@ spec:
- type
type: object
type: array
controllerNamespace:
description: ControllerNamespace indicates the namespace in which
the application controller is located
type: string
health:
description: Health contains information about the application's current
health status
@ -1700,8 +1732,15 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block. ValuesObject
takes precedence over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to be
passed to helm template, defined as a map. This takes
precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -1993,8 +2032,16 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block.
ValuesObject takes precedence over Values, so use
one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to
be passed to helm template, defined as a map. This
takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -2431,8 +2478,15 @@ spec:
values:
description: Values specifies Helm values to be
passed to helm template, typically defined as
a block
a block. ValuesObject takes precedence over
Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as a
map. This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use
for templating ("3")
@ -2740,8 +2794,15 @@ spec:
values:
description: Values specifies Helm values to
be passed to helm template, typically defined
as a block
as a block. ValuesObject takes precedence
over Values, so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as
a map. This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to
use for templating ("3")
@ -2951,6 +3012,19 @@ spec:
syncResult:
description: SyncResult is the result of a Sync operation
properties:
managedNamespaceMetadata:
description: ManagedNamespaceMetadata contains the current
sync state of managed namespace metadata
properties:
annotations:
additionalProperties:
type: string
type: object
labels:
additionalProperties:
type: string
type: object
type: object
resources:
description: Resources contains a list of sync result items
for each individual resource in a sync operation
@ -3153,8 +3227,16 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block.
ValuesObject takes precedence over Values, so use
one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to
be passed to helm template, defined as a map. This
takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -3457,8 +3539,15 @@ spec:
values:
description: Values specifies Helm values to be
passed to helm template, typically defined as
a block
a block. ValuesObject takes precedence over Values,
so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as a map.
This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use
for templating ("3")
@ -3728,6 +3817,42 @@ spec:
and must be set to the Kubernetes control plane API
type: string
type: object
ignoreDifferences:
description: IgnoreDifferences is a reference to the application's
ignored differences used for comparison
items:
description: ResourceIgnoreDifferences contains resource
filter and list of json paths which should be ignored
during comparison with live state.
properties:
group:
type: string
jqPathExpressions:
items:
type: string
type: array
jsonPointers:
items:
type: string
type: array
kind:
type: string
managedFieldsManagers:
description: ManagedFieldsManagers is a list of trusted
managers. Fields mutated by those managers will take
precedence over the desired state defined in the SCM
and won't be displayed in diffs
items:
type: string
type: array
name:
type: string
namespace:
type: string
required:
- kind
type: object
type: array
source:
description: Source is a reference to the application's source
used for comparison
@ -3866,8 +3991,16 @@ spec:
type: array
values:
description: Values specifies Helm values to be passed
to helm template, typically defined as a block
to helm template, typically defined as a block.
ValuesObject takes precedence over Values, so use
one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values to
be passed to helm template, defined as a map. This
takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use for
templating ("3")
@ -4170,8 +4303,15 @@ spec:
values:
description: Values specifies Helm values to be
passed to helm template, typically defined as
a block
a block. ValuesObject takes precedence over Values,
so use one or the other.
type: string
valuesObject:
description: ValuesObject specifies Helm values
to be passed to helm template, defined as a map.
This takes precedence over Values.
type: object
x-kubernetes-preserve-unknown-fields: true
version:
description: Version is the Helm version to use
for templating ("3")

File diff suppressed because it is too large Load diff

View file

@ -149,7 +149,7 @@ spec:
- mountPath: /tmp
name: dexconfig
resources:
{{- toYaml .Values.dex.resources | nindent 10 }}
{{- toYaml (default .Values.dex.resources .Values.dex.initImage.resources) | nindent 10 }}
{{- with .Values.dex.containerSecurityContext }}
securityContext:
{{- toYaml . | nindent 10 }}

View file

@ -1,4 +1,4 @@
{{- if and .Values.dex.metrics.enabled .Values.dex.metrics.serviceMonitor.enabled }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.dex.metrics.enabled .Values.dex.metrics.serviceMonitor.enabled }}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View file

@ -1,5 +1,5 @@
{{- $redisHa := (index .Values "redis-ha") -}}
{{- if and .Values.redis.enabled (not $redisHa.enabled) .Values.redis.metrics.enabled .Values.redis.metrics.serviceMonitor.enabled -}}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.redis.enabled (not $redisHa.enabled) .Values.redis.metrics.enabled .Values.redis.metrics.serviceMonitor.enabled -}}
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:

View file

@ -12,12 +12,8 @@ kubeVersionOverride: ""
# If you want to template helm charts but cannot access k8s API server
# you can set api versions here
apiVersionOverrides:
# -- String to override apiVersion of cert-manager resources rendered by this helm chart
certmanager: "" # cert-manager.io/v1
# -- String to override apiVersion of GKE resources rendered by this helm chart
cloudgoogle: "" # cloud.google.com/v1
# -- String to override apiVersion of autoscaling rendered by this helm chart
autoscaling: "" # autoscaling/v2
# -- Create aggregated roles that extend existing cluster roles to interact with argo-cd resources
## Ref: https://kubernetes.io/docs/reference/access-authn-authz/rbac/#aggregated-clusterroles
@ -253,7 +249,7 @@ configs:
# -- Disable Argo CD RBAC for user authentication
server.disable.auth: false
# -- Enable GZIP compression
server.enable.gzip: false
server.enable.gzip: true
# -- Set X-Frame-Options header in HTTP responses to value. To disable, set to "".
server.x.frame.options: sameorigin
@ -476,7 +472,7 @@ configs:
# -- Repositories list to be used by applications
## Creates a secret for each key/value specified below to create repositories
## Note: the last example in the list would use a repository credential template, configured under "configs.repositoryCredentials".
## Note: the last example in the list would use a repository credential template, configured under "configs.credentialTemplates".
repositories: {}
# istio-helm-repo:
# url: https://storage.googleapis.com/istio-prerelease/daily-build/master-latest-daily/charts
@ -543,7 +539,7 @@ configs:
## Ref: https://argo-cd.readthedocs.io/en/stable/operator-manual/custom-styles/
styles: ""
# styles: |
# .nav-bar {
# .sidebar {
# background: linear-gradient(to bottom, #999, #777, #333, #222, #111);
# }
@ -951,6 +947,15 @@ dex:
# -- Argo CD init image imagePullPolicy
# @default -- `""` (defaults to global.image.imagePullPolicy)
imagePullPolicy: ""
# -- Argo CD init image resources
# @default -- `{}` (defaults to dex.resources)
resources: {}
# requests:
# cpu: 5m
# memory: 96Mi
# limits:
# cpu: 10m
# memory: 144Mi
# -- Environment variables to pass to the Dex server
env: []
@ -1173,7 +1178,7 @@ redis:
# -- Repository to use for the redis-exporter
repository: public.ecr.aws/bitnami/redis-exporter
# -- Tag to use for the redis-exporter
tag: 1.45.0
tag: 1.53.0
# -- Image pull policy for the redis-exporter
# @default -- `""` (defaults to global.image.imagePullPolicy)
imagePullPolicy: ""
@ -1366,12 +1371,17 @@ redis:
# -- Prometheus ServiceMonitor annotations
annotations: {}
# This key configures Redis-HA subchart and when enabled (redis-ha.enabled=true)
# the custom redis deployment is omitted
# Check the redis-ha chart for more properties
## Redis-HA subchart replaces custom redis deployment when `redis-ha.enabled=true`
# Ref: https://github.com/DandyDeveloper/charts/blob/master/charts/redis-ha/values.yaml
redis-ha:
# -- Enables the Redis HA subchart and disables the custom Redis single node deployment
enabled: false
## Redis image
image:
# -- Redis repository
repository: redis
# -- Redis tag
tag: 7.0.11-alpine
## Prometheus redis-exporter sidecar
exporter:
# -- Enable Prometheus redis-exporter sidecar
@ -1379,10 +1389,11 @@ redis-ha:
# -- Repository to use for the redis-exporter
image: public.ecr.aws/bitnami/redis-exporter
# -- Tag to use for the redis-exporter
tag: 1.45.0
tag: 1.53.0
persistentVolume:
# -- Configures persistence on Redis nodes
enabled: false
## Redis specific configuration options
redis:
# -- Redis convention for naming the cluster group: must match `^[\\w-\\.]+$` and can be templated
masterGroupName: argocd
@ -1392,16 +1403,35 @@ redis-ha:
# -- Will save the DB if both the given number of seconds and the given number of write operations against the DB occurred. `""` is disabled
# @default -- `'""'`
save: '""'
## Enables a HA Proxy for better LoadBalancing / Sentinel Master support. Automatically proxies to Redis master.
haproxy:
# -- Enabled HAProxy LoadBalancing/Proxy
enabled: true
metrics:
# -- HAProxy enable prometheus metric scraping
enabled: true
image:
# -- Redis tag
tag: 7.0.11-alpine
# -- Whether the haproxy pods should be forced to run on separate nodes.
hardAntiAffinity: true
# -- Additional affinities to add to the haproxy pods.
additionalAffinities: {}
# -- Assign custom [affinity] rules to the haproxy pods.
affinity: {}
# -- [Tolerations] for use with node taints for haproxy pods.
tolerations: []
# -- Whether the Redis server pods should be forced to run on separate nodes.
hardAntiAffinity: true
# -- Additional affinities to add to the Redis server pods.
additionalAffinities: {}
# -- Assign custom [affinity] rules to the Redis pods.
affinity: {}
# -- [Tolerations] for use with node taints for Redis pods.
tolerations: []
# -- Assign custom [TopologySpreadConstraints] rules to the Redis pods.
## https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/
topologySpreadConstraints:
# -- Enable Redis HA topology spread constraints
@ -1453,7 +1483,6 @@ server:
# -- Average memory utilization percentage for the Argo CD server [HPA]
targetMemoryUtilizationPercentage: 50
# -- Configures the scaling behavior of the target in both Up and Down directions.
# This is only available on HPA apiVersion `autoscaling/v2beta2` and newer
behavior: {}
# scaleDown:
# stabilizationWindowSeconds: 300
@ -1467,6 +1496,9 @@ server:
# - type: Pods
# value: 2
# periodSeconds: 60
# -- Configures custom HPA metrics for the Argo CD server
# Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
metrics: []
## Argo CD server Pod Disruption Budget
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
@ -2020,7 +2052,6 @@ repoServer:
# -- Average memory utilization percentage for the repo server [HPA]
targetMemoryUtilizationPercentage: 50
# -- Configures the scaling behavior of the target in both Up and Down directions.
# This is only available on HPA apiVersion `autoscaling/v2beta2` and newer
behavior: {}
# scaleDown:
# stabilizationWindowSeconds: 300
@ -2034,6 +2065,9 @@ repoServer:
# - type: Pods
# value: 2
# periodSeconds: 60
# -- Configures custom HPA metrics for the Argo CD repo server
# Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/
metrics: []
## Repo server Pod Disruption Budget
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
@ -2143,6 +2177,9 @@ repoServer:
# - name: cmp-tmp
# emptyDir: {}
# -- Toggle the usage of a ephemeral Helm working directory
useEphemeralHelmWorkingDir: true
# -- Annotations to be added to repo server Deployment
deploymentAnnotations: {}
@ -2358,7 +2395,7 @@ applicationSet:
name: applicationset-controller
# -- The number of ApplicationSet controller pods to run
replicaCount: 1
replicas: 1
## ApplicationSet controller Pod Disruption Budget
## Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/
@ -2780,6 +2817,9 @@ notifications:
# -- key:value pairs of annotations to be added to the secret
annotations: {}
# -- key:value pairs of labels to be added to the secret
labels: {}
# -- Generic key:value pairs to be inserted into the secret
## Can be used for templates, notification services etc. Some examples given below.
## For more information: https://argocd-notifications.readthedocs.io/en/stable/services/overview/

View file

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v1.8.0
appVersion: v1.8.1
description: A Helm chart for Argo Events, the event-driven workflow automation framework
name: argo-events
version: 2.4.0
version: 2.4.1
home: https://github.com/argoproj/argo-helm
icon: https://avatars.githubusercontent.com/u/30269780?s=200&v=4
keywords:
@ -19,6 +19,4 @@ annotations:
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: changed
description: Upgrade Argo Events to v1.8.0
- kind: added
description: Add managed namespace configuration
description: Upgrade Argo Events to v1.8.1

View file

@ -1,8 +1,8 @@
apiVersion: v2
appVersion: v1.5.0
appVersion: v1.6.0
description: A Helm chart for Argo Rollouts
name: argo-rollouts
version: 2.31.0
version: 2.32.0
home: https://github.com/argoproj/argo-helm
icon: https://argoproj.github.io/argo-rollouts/assets/logo.png
keywords:
@ -18,5 +18,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: Support Traffic Router Plugins
- kind: changed
description: Upgrade Argo Rollouts to v1.6.0

View file

@ -91,12 +91,14 @@ For full list of changes please check ArtifactHub [changelog].
| controller.livenessProbe | object | See [values.yaml] | Configure liveness [probe] for the controller |
| controller.metricProviderPlugins | object | `{}` | Configures 3rd party metric providers for controller |
| controller.metrics.enabled | bool | `false` | Deploy metrics service |
| controller.metrics.service.annotations | object | `{}` | Service annotations |
| controller.metrics.service.port | int | `8090` | Metrics service port |
| controller.metrics.service.portName | string | `"metrics"` | Metrics service port name |
| controller.metrics.serviceMonitor.additionalAnnotations | object | `{}` | Annotations to be added to the ServiceMonitor |
| controller.metrics.serviceMonitor.additionalLabels | object | `{}` | Labels to be added to the ServiceMonitor |
| controller.metrics.serviceMonitor.enabled | bool | `false` | Enable a prometheus ServiceMonitor |
| controller.metrics.serviceMonitor.metricRelabelings | list | `[]` | MetricRelabelConfigs to apply to samples before ingestion |
| controller.metrics.serviceMonitor.namespace | string | `""` | Namespace to be used for the ServiceMonitor |
| controller.metrics.serviceMonitor.relabelings | list | `[]` | RelabelConfigs to apply to samples before scraping |
| controller.nodeSelector | object | `{}` | [Node selector] |
| controller.pdb.annotations | object | `{}` | Annotations to be added to controller [Pod Disruption Budget] |

View file

@ -0,0 +1,14 @@
# Test with extraObjects enabled
# Do not deploy the CRDs as they are already present from the previous test
installCRDs: false
extraObjects:
- apiVersion: v1
kind: Secret
metadata:
name: datadog
type: Opaque
data:
address: aHR0cHM6Ly9hcGkuZGF0YWRvZ2hxLmNvbQo= # https://api.datadoghq.com
api-key: dGVzdC1hcGkta2V5Cg== # test-api-key
app-key: dGVzdC1hcHAta2V5Cg== # test-app-key

View file

@ -135,6 +135,7 @@ rules:
- get
- list
- watch
- update
- patch
# job access needed for analysis template job metrics
- apiGroups:

View file

@ -7,8 +7,11 @@ metadata:
labels:
app.kubernetes.io/component: {{ .Values.controller.component }}
{{- include "argo-rollouts.labels" . | nindent 4 }}
{{- with .Values.serviceAnnotations }}
annotations:
{{- with .Values.serviceAnnotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with .Values.controller.metrics.service.annotations }}
{{- toYaml . | nindent 4 }}
{{- end }}
spec:

View file

@ -136,6 +136,7 @@ rules:
- get
- list
- watch
- update
- patch
# job access needed for analysis template job metrics
- apiGroups:

View file

@ -3,7 +3,7 @@ apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: {{ include "argo-rollouts.fullname" . }}
namespace: {{ .Release.Namespace | quote }}
namespace: {{ default .Release.Namespace .Values.controller.metrics.serviceMonitor.namespace | quote }}
labels:
app.kubernetes.io/component: {{ .Values.controller.component }}
{{- include "argo-rollouts.labels" . | nindent 4 }}

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.12.1
{{- if .Values.keepCRDs }}
"helm.sh/resource-policy": keep
{{- end }}
@ -310,6 +310,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
suspend:
type: boolean
template:
@ -372,6 +373,7 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
weight:
format: int32
type: integer
@ -418,10 +420,12 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
type: array
required:
- nodeSelectorTerms
type: object
x-kubernetes-map-type: atomic
type: object
podAffinity:
properties:
@ -453,6 +457,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -476,6 +481,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -519,6 +525,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -542,6 +549,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -583,6 +591,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -606,6 +615,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -649,6 +659,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -672,6 +683,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -717,6 +729,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -726,6 +739,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -741,6 +755,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -752,6 +767,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -767,6 +783,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -776,6 +793,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1316,6 +1334,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1325,6 +1344,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1340,6 +1360,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1351,6 +1372,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1366,6 +1388,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1375,6 +1398,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1889,6 +1913,7 @@ spec:
name:
type: string
type: object
x-kubernetes-map-type: atomic
type: array
initContainers:
items:
@ -1921,6 +1946,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1930,6 +1956,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1945,6 +1972,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1956,6 +1984,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1971,6 +2000,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1980,6 +2010,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -2628,6 +2659,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
matchLabelKeys:
items:
type: string
@ -2775,8 +2807,37 @@ spec:
properties:
address:
type: string
authentication:
properties:
sigv4:
properties:
profile:
type: string
region:
type: string
roleArn:
type: string
type: object
type: object
headers:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
insecure:
type: boolean
query:
type: string
timeout:
format: int64
type: integer
type: object
skywalking:
properties:

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.12.1
{{- if .Values.keepCRDs }}
"helm.sh/resource-policy": keep
{{- end }}
@ -306,6 +306,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
suspend:
type: boolean
template:
@ -368,6 +369,7 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
weight:
format: int32
type: integer
@ -414,10 +416,12 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
type: array
required:
- nodeSelectorTerms
type: object
x-kubernetes-map-type: atomic
type: object
podAffinity:
properties:
@ -449,6 +453,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -472,6 +477,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -515,6 +521,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -538,6 +545,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -579,6 +587,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -602,6 +611,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -645,6 +655,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -668,6 +679,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -713,6 +725,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -722,6 +735,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -737,6 +751,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -748,6 +763,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -763,6 +779,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -772,6 +789,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1312,6 +1330,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1321,6 +1340,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1336,6 +1356,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1347,6 +1368,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1362,6 +1384,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1371,6 +1394,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1885,6 +1909,7 @@ spec:
name:
type: string
type: object
x-kubernetes-map-type: atomic
type: array
initContainers:
items:
@ -1917,6 +1942,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1926,6 +1952,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1941,6 +1968,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1952,6 +1980,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1967,6 +1996,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1976,6 +2006,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -2624,6 +2655,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
matchLabelKeys:
items:
type: string
@ -2771,8 +2803,37 @@ spec:
properties:
address:
type: string
authentication:
properties:
sigv4:
properties:
profile:
type: string
region:
type: string
roleArn:
type: string
type: object
type: object
headers:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
insecure:
type: boolean
query:
type: string
timeout:
format: int64
type: integer
type: object
skywalking:
properties:

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.12.1
{{- if .Values.keepCRDs }}
"helm.sh/resource-policy": keep
{{- end }}
@ -306,6 +306,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
suspend:
type: boolean
template:
@ -368,6 +369,7 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
weight:
format: int32
type: integer
@ -414,10 +416,12 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
type: array
required:
- nodeSelectorTerms
type: object
x-kubernetes-map-type: atomic
type: object
podAffinity:
properties:
@ -449,6 +453,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -472,6 +477,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -515,6 +521,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -538,6 +545,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -579,6 +587,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -602,6 +611,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -645,6 +655,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -668,6 +679,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -713,6 +725,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -722,6 +735,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -737,6 +751,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -748,6 +763,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -763,6 +779,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -772,6 +789,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1312,6 +1330,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1321,6 +1340,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1336,6 +1356,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1347,6 +1368,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1362,6 +1384,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1371,6 +1394,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1885,6 +1909,7 @@ spec:
name:
type: string
type: object
x-kubernetes-map-type: atomic
type: array
initContainers:
items:
@ -1917,6 +1942,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1926,6 +1952,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1941,6 +1968,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1952,6 +1980,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1967,6 +1996,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1976,6 +2006,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -2624,6 +2655,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
matchLabelKeys:
items:
type: string
@ -2771,8 +2803,37 @@ spec:
properties:
address:
type: string
authentication:
properties:
sigv4:
properties:
profile:
type: string
region:
type: string
roleArn:
type: string
type: object
type: object
headers:
items:
properties:
key:
type: string
value:
type: string
required:
- key
- value
type: object
type: array
insecure:
type: boolean
query:
type: string
timeout:
format: int64
type: integer
type: object
skywalking:
properties:

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.12.1
{{- if .Values.keepCRDs }}
"helm.sh/resource-policy": keep
{{- end }}
@ -158,6 +158,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
service:
properties:
name:
@ -223,6 +224,7 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
weight:
format: int32
type: integer
@ -269,10 +271,12 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
type: array
required:
- nodeSelectorTerms
type: object
x-kubernetes-map-type: atomic
type: object
podAffinity:
properties:
@ -304,6 +308,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -327,6 +332,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -370,6 +376,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -393,6 +400,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -434,6 +442,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -457,6 +466,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -500,6 +510,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -523,6 +534,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -568,6 +580,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -577,6 +590,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -592,6 +606,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -603,6 +618,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -618,6 +634,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -627,6 +644,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1167,6 +1185,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1176,6 +1195,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1191,6 +1211,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1202,6 +1223,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1217,6 +1239,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1226,6 +1249,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1740,6 +1764,7 @@ spec:
name:
type: string
type: object
x-kubernetes-map-type: atomic
type: array
initContainers:
items:
@ -1772,6 +1797,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1781,6 +1807,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1796,6 +1823,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1807,6 +1835,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1822,6 +1851,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1831,6 +1861,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -2479,6 +2510,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
matchLabelKeys:
items:
type: string

View file

@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.7.0
controller-gen.kubebuilder.io/version: v0.12.1
{{- if .Values.keepCRDs }}
"helm.sh/resource-policy": keep
{{- end }}
@ -118,6 +118,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
strategy:
properties:
blueGreen:
@ -624,6 +625,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
service:
properties:
name:
@ -742,6 +744,10 @@ spec:
type: string
ingress:
type: string
ingresses:
items:
type: string
type: array
rootService:
type: string
servicePort:
@ -759,7 +765,6 @@ spec:
- enabled
type: object
required:
- ingress
- servicePort
type: object
ambassador:
@ -1003,6 +1008,7 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
weight:
format: int32
type: integer
@ -1049,10 +1055,12 @@ spec:
type: object
type: array
type: object
x-kubernetes-map-type: atomic
type: array
required:
- nodeSelectorTerms
type: object
x-kubernetes-map-type: atomic
type: object
podAffinity:
properties:
@ -1084,6 +1092,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -1107,6 +1116,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -1150,6 +1160,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -1173,6 +1184,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -1214,6 +1226,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -1237,6 +1250,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -1280,6 +1294,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaceSelector:
properties:
matchExpressions:
@ -1303,6 +1318,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
namespaces:
items:
type: string
@ -1348,6 +1364,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1357,6 +1374,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1372,6 +1390,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1383,6 +1402,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1398,6 +1418,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -1407,6 +1428,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -1947,6 +1969,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -1956,6 +1979,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -1971,6 +1995,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -1982,6 +2007,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -1997,6 +2023,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -2006,6 +2033,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -2520,6 +2548,7 @@ spec:
name:
type: string
type: object
x-kubernetes-map-type: atomic
type: array
initContainers:
items:
@ -2552,6 +2581,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
fieldRef:
properties:
apiVersion:
@ -2561,6 +2591,7 @@ spec:
required:
- fieldPath
type: object
x-kubernetes-map-type: atomic
resourceFieldRef:
properties:
containerName:
@ -2576,6 +2607,7 @@ spec:
required:
- resource
type: object
x-kubernetes-map-type: atomic
secretKeyRef:
properties:
key:
@ -2587,6 +2619,7 @@ spec:
required:
- key
type: object
x-kubernetes-map-type: atomic
type: object
required:
- name
@ -2602,6 +2635,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
prefix:
type: string
secretRef:
@ -2611,6 +2645,7 @@ spec:
optional:
type: boolean
type: object
x-kubernetes-map-type: atomic
type: object
type: array
image:
@ -3259,6 +3294,7 @@ spec:
type: string
type: object
type: object
x-kubernetes-map-type: atomic
matchLabelKeys:
items:
type: string
@ -3328,9 +3364,10 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
ingress:
type: string
loadBalancer:
properties:
arn:
@ -3341,7 +3378,6 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
stableTargetGroup:
@ -3354,10 +3390,52 @@ spec:
type: string
required:
- arn
- fullName
- name
type: object
type: object
albs:
items:
properties:
canaryTargetGroup:
properties:
arn:
type: string
fullName:
type: string
name:
type: string
required:
- arn
- name
type: object
ingress:
type: string
loadBalancer:
properties:
arn:
type: string
fullName:
type: string
name:
type: string
required:
- arn
- name
type: object
stableTargetGroup:
properties:
arn:
type: string
fullName:
type: string
name:
type: string
required:
- arn
- name
type: object
type: object
type: array
availableReplicas:
format: int32
type: integer

View file

@ -1,6 +1,6 @@
{{ range .Values.extraObjects }}
---
{{- if typeIs "string" . }}
{{ if typeIs "string" . }}
{{- tpl . $ }}
{{- else }}
{{- tpl (toYaml .) $ }}

View file

@ -127,9 +127,13 @@ controller:
portName: metrics
# -- Metrics service port
port: 8090
# -- Service annotations
annotations: {}
serviceMonitor:
# -- Enable a prometheus ServiceMonitor
enabled: false
# -- Namespace to be used for the ServiceMonitor
namespace: ""
# -- Labels to be added to the ServiceMonitor
additionalLabels: {}
# -- Annotations to be added to the ServiceMonitor

View file

@ -1,9 +1,9 @@
apiVersion: v2
appVersion: v3.4.8
appVersion: v3.4.11
name: argo-workflows
description: A Helm chart for Argo Workflows
type: application
version: 0.31.0
version: 0.33.3
icon: https://argoproj.github.io/argo-workflows/assets/logo.png
home: https://github.com/argoproj/argo-helm
sources:
@ -16,5 +16,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: Add support for artifactRepositoryRef
- kind: fixed
description: Add HA docs and example

View file

@ -75,6 +75,11 @@ For full list of changes, please check ArtifactHub [changelog].
## Usage Notes
### High Availability
This chart installs the non-HA version of Argo Workflows by default. If you want to run in HA mode, you can use [these example values](ci/ha-values.yaml) as a starting point.
Please see the upstream [Operator Manual's High Availability page](https://argoproj.github.io/argo-workflows/high-availability/) to understand how to scale Argo Workflows in depth.
### Workflow controller
This chart defaults to setting the `controller.instanceID.enabled` to `false` now, which means the deployed controller will act upon any workflow deployed to the cluster. If you would like to limit the behavior and deploy multiple workflow controllers, please use the `controller.instanceID.enabled` attribute along with one of its configuration options to set the `instanceID` of the workflow controller to be properly scoped for your needs.
@ -127,6 +132,7 @@ Fields to note:
| workflow.serviceAccount.create | bool | `false` | Specifies whether a service account should be created |
| workflow.serviceAccount.labels | object | `{}` | Labels applied to created service account |
| workflow.serviceAccount.name | string | `"argo-workflow"` | Service account which is used to run workflows |
| workflow.serviceAccount.pullSecrets | list | `[]` | Secrets with credentials to pull images from a private registry. Same format as `.Values.images.pullSecrets` |
### Workflow Controller
@ -230,6 +236,7 @@ Fields to note:
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| executor.args | list | `[]` | Passes arguments to the executor processes |
| executor.env | list | `[]` | Adds environment variables for the executor. |
| executor.image.pullPolicy | string | `""` | Image PullPolicy to use for the Workflow Executors. Defaults to `.Values.images.pullPolicy`. |
| executor.image.registry | string | `"quay.io"` | Registry to use for the Workflow Executors |

View file

@ -75,6 +75,11 @@ For full list of changes, please check ArtifactHub [changelog].
## Usage Notes
### High Availability
This chart installs the non-HA version of Argo Workflows by default. If you want to run in HA mode, you can use [these example values](ci/ha-values.yaml) as a starting point.
Please see the upstream [Operator Manual's High Availability page](https://argoproj.github.io/argo-workflows/high-availability/) to understand how to scale Argo Workflows in depth.
### Workflow controller
This chart defaults to setting the `controller.instanceID.enabled` to `false` now, which means the deployed controller will act upon any workflow deployed to the cluster. If you would like to limit the behavior and deploy multiple workflow controllers, please use the `controller.instanceID.enabled` attribute along with one of its configuration options to set the `instanceID` of the workflow controller to be properly scoped for your needs.

View file

@ -0,0 +1,23 @@
# Sample values for High Availability configuration, following https://argoproj.github.io/argo-workflows/high-availability/
controller:
# in v3.0+, a second controller can be ran as a hot-standby: https://argoproj.github.io/argo-workflows/high-availability/#workflow-controller
replicas: 2 # should be strictly greater than PDB minAvailable
# enable PDB with at least one Pod
pdb:
# -- Configure [Pod Disruption Budget] for the controller pods
enabled: true
minAvailable: 1
server:
# enable HPA with at least two Pods
autoscaling:
# -- Enable Horizontal Pod Autoscaler ([HPA]) for the Argo Server
enabled: true
# -- Minimum number of replicas for the Argo Server [HPA]
minReplicas: 2 # should be strictly greater than PDB minAvailable
# enable PDB with at least one Pod
pdb:
# -- Configure [Pod Disruption Budget] for the controller pods
enabled: true
minAvailable: 1

View file

@ -42,12 +42,15 @@ data:
securityContext: {{- toYaml . | nindent 8 }}
{{- end }}
{{- end }}
{{- if or .Values.executor.resources .Values.executor.env .Values.executor.securityContext}}
{{- if or .Values.executor.resources .Values.executor.env .Values.executor.args .Values.executor.securityContext}}
executor:
imagePullPolicy: {{ default (.Values.images.pullPolicy) .Values.executor.image.pullPolicy }}
{{- with .Values.executor.resources }}
resources: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.executor.args }}
args: {{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.executor.env }}
env: {{- toYaml . | nindent 8 }}
{{- end }}

View file

@ -17,5 +17,9 @@ metadata:
annotations:
{{- toYaml . | nindent 4 }}
{{- end }}
{{- with $.Values.workflow.serviceAccount.pullSecrets }}
imagePullSecrets:
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- end }}

View file

@ -49,7 +49,6 @@ rules:
- sso
verbs:
- get
- update
- apiGroups:
- ""
resources:
@ -73,8 +72,6 @@ rules:
- secrets
verbs:
- get
- list
- watch
{{- if and .Values.server.sso.enabled .Values.server.sso.rbac.enabled }}
{{- with .Values.server.sso.rbac.secretWhitelist }}
resourceNames: {{- toYaml . | nindent 4 }}

View file

@ -54,6 +54,8 @@ workflow:
annotations: {}
# -- Service account which is used to run workflows
name: "argo-workflow"
# -- Secrets with credentials to pull images from a private registry. Same format as `.Values.images.pullSecrets`
pullSecrets: []
rbac:
# -- Adds Role and RoleBinding for the above specified service account to be able to run workflows.
# A Role and Rolebinding pair is also created for each namespace in controller.workflowNamespaces (see below)
@ -382,6 +384,8 @@ executor:
pullPolicy: ""
# -- Resource limits and requests for the Workflow Executors
resources: {}
# -- Passes arguments to the executor processes
args: []
# -- Adds environment variables for the executor.
env: []
# -- sets security context for the executor container
@ -748,7 +752,7 @@ artifactRepository:
azure: {}
# endpoint: https://mystorageaccountname.blob.core.windows.net
# container: my-container-name
# blob: path/in/container
# blobNameFormat: path/in/container
## accountKeySecret is a secret selector.
## It references the k8s secret named 'my-azure-storage-credentials'.
## This secret is expected to have have the key 'account-access-key',

View file

@ -2,7 +2,7 @@ apiVersion: v2
name: argocd-apps
description: A Helm chart for managing additional Argo CD Applications and Projects
type: application
version: 1.2.0
version: 1.4.1
home: https://github.com/argoproj/argo-helm
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
keywords:
@ -17,5 +17,5 @@ annotations:
fingerprint: 2B8F22F57260EFA67BE1C5824B11F800CD9D2252
url: https://argoproj.github.io/argo-helm/pgp_keys.asc
artifacthub.io/changes: |
- kind: added
description: Rollout strategy for ApplicationSet
- kind: fixed
description: syncOptions for applications

View file

@ -20,6 +20,8 @@ applications:
automated:
prune: false
selfHeal: false
syncOptions:
- ApplyOutOfSyncOnly=true
revisionHistoryLimit: null
ignoreDifferences:
- group: apps

View file

@ -22,6 +22,9 @@ metadata:
{{- toYaml . | nindent 4 }}
{{- end }}
spec:
{{- with .permitOnlyProjectScopedClusters }}
permitOnlyProjectScopedClusters: {{ . }}
{{- end }}
description: {{ .description }}
{{- with .sourceRepos }}
sourceRepos:

View file

@ -30,6 +30,8 @@ applications: []
# automated:
# prune: false
# selfHeal: false
# syncOptions:
# - CreateNamespace=true
# revisionHistoryLimit: null
# ignoreDifferences:
# - group: apps
@ -48,6 +50,7 @@ projects: []
# namespace: argocd
# additionalLabels: {}
# additionalAnnotations: {}
# permitOnlyProjectScopedClusters: false
# finalizers:
# - resources-finalizer.argocd.argoproj.io
# description: Example Project