* fix(argo-cd): only create dex-servicemonitor of dex is enabled
Signed-off-by: Patrick Spies <patrick.spies@dm.de>
* numbers are difficult
Signed-off-by: Tim Collins <45351296+tico24@users.noreply.github.com>
---------
Signed-off-by: Patrick Spies <patrick.spies@dm.de>
Signed-off-by: Tim Collins <45351296+tico24@users.noreply.github.com>
Co-authored-by: Tim Collins <45351296+tico24@users.noreply.github.com>
* feat(argo-cd): Update to Argo CD 2.14
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* fix: Add more customization options to commit-server
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* fix: Bump appVersion to v2.14.1
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* fix: Add 'resources' to commit-server
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* chore: Drop commitServer.service.type
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* fix: Add ability to disable the commit-server
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* chore: Drop commitServer.replicas since there are no upstream docs
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* feat: Allow adding extraVolume and mounts
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* chore: Disable commit-server by default
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* feat: Dedicated metrics service with basic customization options
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
---------
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* feat(github): Analyse past release times
Signed-off-by: Tim Collins <tim@thecollins.team>
* typo
Signed-off-by: Tim Collins <tim@thecollins.team>
* add megalinter config. Fix my rubbish code to appease the linter
Signed-off-by: Tim Collins <tim@thecollins.team>
---------
Signed-off-by: Tim Collins <tim@thecollins.team>
Co-authored-by: Aikawa <yu.croco@gmail.com>
* Updated chart to reflect change to ARGO_BASE_HREF env
Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>
* Update changelog
Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>
* remove ide formatting
Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>
---------
Signed-off-by: Scott Melhop <scott.melhop@optimeering.com>
* chore(argo-workflows): Upgrade Argo Workflows to v3.6.0
Signed-off-by: yu-croco <yu.croco@gmail.com>
* fix: clean up cache to pass CI
Signed-off-by: yu-croco <yu.croco@gmail.com>
* test: rm cache clear. Try latest version of ct test
Signed-off-by: Tim Collins <tim@thecollins.team>
* just trying all the things. sorry
Signed-off-by: Tim Collins <tim@thecollins.team>
* add debug output
Signed-off-by: Tim Collins <tim@thecollins.team>
* additional debug
Signed-off-by: Tim Collins <tim@thecollins.team>
* MOAR debug
Signed-off-by: Tim Collins <tim@thecollins.team>
* typo
Signed-off-by: Tim Collins <tim@thecollins.team>
* specifically find files
Signed-off-by: Tim Collins <tim@thecollins.team>
* use minimal crds
Signed-off-by: Tim Collins <tim@thecollins.team>
* rm debug step
Signed-off-by: Tim Collins <tim@thecollins.team>
---------
Signed-off-by: yu-croco <yu.croco@gmail.com>
Signed-off-by: Tim Collins <tim@thecollins.team>
Co-authored-by: Tim Collins <tim@thecollins.team>
Co-authored-by: Tim Collins <45351296+tico24@users.noreply.github.com>
* issue-2848
Correction of the imagepullsecret for redis
* issue-2848
Bump chart version to 7.5.3
* chore: Add changelog entry
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
---------
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: dlaberge <dominique.laberge@uquebec.ca>
Co-authored-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
* Remove namespace from cluster scope resource
A few resources I noticed had the namespace set for cluster scoped resources.
Signed-off-by: Jonny Langefeld <jonny.langefeld@snowflake.com>
* Update clusterrole.yaml
Signed-off-by: Jonny Langefeld <jonny.langefeld@snowflake.com>
* chore: Apply changes from code review
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
---------
Signed-off-by: Jonny Langefeld <jonny.langefeld@snowflake.com>
Signed-off-by: Marco Maurer <mkilchhofer@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Most users of ArgoCD may use `Ingress` (and soon `HTTPRoute`), but for those who may want to use `Service` of type `LoadBalancer`, this would be useful.
The `loadBalancerClass` field would allow for a `CloudProvider` agnostic way of offloading the reconciliation for Kubernetes Service resources of type `LoadBalancer` to an external controller.
Signed-off-by: Gazal Gafoor <gazal.gafoor@rea-group.com>
Signed-off-by: Gazal <gazal.gafoor@rea-group.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
* feat: set ttlsecondsafterfinished to prevent stuck during sync when managed by argocd
Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
* fix: increased version and added changelig
Signed-off-by: Johannes Kleinlercher <johannes.kleinlercher@suxess-it.com>
* chore: Apply suggestions from code review
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
---------
Signed-off-by: Johannes Kleinlercher <johannes@kleinlercher.at>
Signed-off-by: Johannes Kleinlercher <johannes.kleinlercher@suxess-it.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
* chore(argo-rollouts): add option to disable creation of notifications configmap
This allows for using the upstream notifications configmap from
https://github.com/argoproj/argo-rollouts/blob/master/manifests/notifications-install.yaml
Signed-off-by: Roland Kool <rkool@bol.com>
* chore: update changelog
Signed-off-by: Roland Kool <rkool@bol.com>
* chore: fix chart version bump
Signed-off-by: Roland Kool <rkool@bol.com>
---------
Signed-off-by: Roland Kool <rkool@bol.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Add traefik.io (which is the only supported apiGroup for traefik >3.0)
to clusterrole and role of argo-rollouts chart
Signed-off-by: Kamil Swoboda <kswoboda@getresponse.com>
Signed-off-by: Kaswob <44066982+Kaswob@users.noreply.github.com>
* feat(argo-rollouts): Most users of Argo-rollouts may store secrets on vault which allows to auto inject secrets directly to secrets object using annotations.
Signed-off-by:Mohamed Ragab <mohamed.ragab@hellofresh.com>
Signed-off-by: Mohamed Ragab <mohamed.ragab@hellofresh.com>
* Fix indentation
Signed-off-by: Mohamed Ragab <mohamed.ragab@hellofresh.com>
---------
Signed-off-by: Mohamed Ragab <mohamed.ragab@hellofresh.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
* fix(argo-workflows): revert `BASE_HREF` change
This reverts commit 134cecde58.
Sorry, I screwed up this and caused a regression. Didn't read my own release notes (from 4 months ago to be fair) where `ARGO_BASE_HREF` would not work previously as it was inconsistently `ARGO_BASEHREF`. So there is no forward compatible change to be made here, so just revert this.
Will have to reinstate this change for the 3.6 upgrade
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
* changelog update
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
---------
Signed-off-by: Anton Gilgur <agilgur5@gmail.com>
Adding checksum to argocd-cm to dex pod
Signed-off-by: Etienne Kemp-Rousseau <etienne.kr@hotmail.com>
Co-authored-by: yuki.kitakata <yu.croco@gmail.com>
* feat(argo-workflows): Allow adding additional ServiceAccounts to RoleBinding (#2676)
remove unnecessary if statements
Signed-off-by: Daniel Beilin <daniel.beilin@outlook.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* feat(argo-cd): Support ability to set .Values.namespaceOverride
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* fix(argo-cd): typo
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* chore(deps): update actions/create-github-app-token action to v1.10.0 (#2677)
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* feat(argo-rollouts): Add podLabels at the controller & dashboard level (#2678)
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* feat(argo-cd): Support ability to set .Values.namespaceOverride
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* fix(argo-cd): typo
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* fix(argo-cd): autocorrection
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* fix(argo-cd): typos
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* fix(argo-cd): typos
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* removed auota
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
* Update Chart.yaml
Signed-off-by: Andres Vara <46708607+andres-vara@users.noreply.github.com>
---------
Signed-off-by: Daniel Beilin <daniel.beilin@outlook.com>
Signed-off-by: Andres Vara Parsegov <andres.vara@chase.com>
Signed-off-by: Andres Vara <46708607+andres-vara@users.noreply.github.com>
Co-authored-by: Daniel Beilin <144586547+dbeilin@users.noreply.github.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Andres Vara Parsegov <andres.vara@chase.com>
Co-authored-by: argoproj-renovate[bot] <161757507+argoproj-renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
Co-authored-by: mitchell amihod <mitchell@amihod.com>
* Install applicationset crd always
ApplicationSet is required by argocd-server, cannot be "opt-out".
If ApplicationSet CRD is not installed, we see lot of errors:
```
W0507 19:44:33.469804 7 reflector.go:424] pkg/mod/k8s.io/client-go@v0.26.11/tools/cache/reflector.go:169: failed to list *v1alpha1.ApplicationSet: the server could not find the requested resource (get applicationsets.argoproj.io)
E0507 19:44:33.469828 7 reflector.go:140] pkg/mod/k8s.io/client-go@v0.26.11/tools/cache/reflector.go:169: Failed to watch *v1alpha1.ApplicationSet: failed to list *v1alpha1.ApplicationSet: the server could not find the requested resource (get applicationsets.argoproj.io)
```
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
* Bump chart version
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
* Bump Chart.yaml patch version
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
* Update Chart.yaml changelog
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
---------
Signed-off-by: Thomas Decaux <ebuildy@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: yuki.kitakata <yu.croco@gmail.com>
- Add `statusbadge.enabled` to values.yaml as `false`
- Pre-set `statusbadge.url` to `global.domain` URL only when `statusbadge.enabled` is `true`
- Update README.md
- Fix a minor comment typo
Signed-off-by: Bojan Raic <code@bojan.io>
* feat(argo-cd): Add sizeLimit parameters on emptyDir
Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>
* feat(argo-cd): Bumping chart version
Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>
* Fix(argo-cd): Add missing new line
Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>
---------
Signed-off-by: Pierre BLAIS <pierreblais@hotmail.fr>
Signed-off-by: Pierre Blais <109473352+pierreblais@users.noreply.github.com>
Co-authored-by: Tim Collins <45351296+tico24@users.noreply.github.com>
* Allow customizing additional RBAC rules for other providers
Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>
* Changing additionalRules from dict to list
Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>
* Changing additionalRules from dict to list and addressing comment
Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>
* Runing `./scripts/helm-docs.sh` to update the README
Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>
---------
Signed-off-by: Alvaro.Camina <alvaro.camina@alteryx.com>
Co-authored-by: Alvaro.Camina <alvaro.camina@alteryx.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
fix(argocd-image-updater): Properly quoting the config map values
fix(argocd-image-updater): Only adding a data field to argocd-image-updater-ssh-config when there's data to be added
fix(argocd-image-updater): Only include config.argocd if config.applicationsAPIKind is set to 'argocd'
chore(argocd-image-updater): removing unneeded whitespace in Role and RoleBinding
Signed-off-by: Abdullah Alaqeel <a.alaqeel@sary.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
fixes#2505 with instead of range serviceaccount reposerver
Signed-off-by: Florian Blampey <flbla@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
feat(argo-cd): Add scrapeTimeout property to server and application, applicationset controllers.
Signed-off-by: Nikolay Osmolovskiy <nikolay.osmolovsky@gmail.com>
Co-authored-by: Nikolay Osmolovskiy <nosmolovskiy@yandex-team.ru>
* chore(argo-cd): Remove deprecated features
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Remove wildcard catch all ingress rule
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Add ingress extra rules
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Remove unnecessary ingress variables
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Improve documentation
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Replace ingress paths and hosts with single backend service
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Use only port number to support all ingress controllers
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Minor gRPC fixes
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Simplify TLS configuration
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Decouple AWS and GKE ALB from generic ingress
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Remove map nesting for ApplicationSet ingress
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Use example.com domain
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Remove fallback for argocd-cm checksum annotation
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Add revisionHistoryLimit for controller
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Update README
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* Update README
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
---------
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
* feat(argo-cd): Add Probes for redis
Signed-off-by: François Blondel <francois.blondel@diva-e.com>
* fix: redis: move probes scripts from tpl file into configmap
Signed-off-by: François Blondel <francois.blondel@diva-e.com>
* Version Bump
Signed-off-by: François Blondel <francois.blondel@diva-e.com>
* feat: set Redis probes optionnal and disabled by default
Signed-off-by: François Blondel <francois.blondel@diva-e.com>
---------
Signed-off-by: François Blondel <francois.blondel@diva-e.com>
Co-authored-by: François Blondel <francois.blondel@diva-e.com>
* docs(argocd-apps): Add deprecated note for Argo CD Extensions
Signed-off-by: yu-croco <yu.croco@gmail.com>
* fix(argocd-apps): Remove broken CI
Signed-off-by: yu-croco <yu.croco@gmail.com>
* chore(argocd-apps): Bump minor version due to deprecation
Signed-off-by: yu-croco <yu.croco@gmail.com>
---------
Signed-off-by: yu-croco <yu.croco@gmail.com>
This commit addresses two places where trailing whitespace may be
generated in the workflow-controller ConfigMap.
When the value `.resourceRateLimit` is not null, a trailing whitespace
is added after "resourceRateLimit:". This commit trims that whitespace.
When the value `.sso.redirectUrl` is left as the default of empty string,
a trailing whitespace is left after "redirectUrl:" as this value is not
quoted. This commit pipes this value through `quote` to ensure this
whitespace is no longer trailing and instead followed by `"` pair.
The main motivation of this commit is to generate a workflow-controller
ConfigMap that is properly pretty-printed, which trailing whitespace
prevents.
Signed-off-by: James Slater <SlaterByte@users.noreply.github.com>
Co-authored-by: James Slater <SlaterByte@users.noreply.github.com>
* fix: wrong `artifactRepository` identations on values.yaml
on `artifactRepository.gcs`
the following 3 keys were in the same level:
- `.serviceAccountKeySecret`
- `.name`
- `.key`
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
* Update Chart.yaml
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
---------
Signed-off-by: Lucas Fernando Cardoso Nunes <lucasfc.nunes@gmail.com>
* feat(argo-rollouts): Add rollout plugin gloo platform rbac
Signed-off-by: Brian Gottfried <bgottfried91@gmail.com>
* feat(argo-rollouts): Add rollout plugin gloo platform rbac information to README
Signed-off-by: Brian Gottfried <bgottfried91@gmail.com>
---------
Signed-off-by: Brian Gottfried <bgottfried91@gmail.com>
Co-authored-by: Aikawa <yu.croco@gmail.com>
* feat(github): Use renovate to create PRs when upstream releases
Signed-off-by: Tim Collins <tim@thecollins.team>
* add write permissions
Signed-off-by: Tim Collins <tim@thecollins.team>
* remove the 'v' in the chart version
Signed-off-by: Tim Collins <tim@thecollins.team>
* switch to digests for actions
Signed-off-by: Tim Collins <tim@thecollins.team>
---------
Signed-off-by: Tim Collins <tim@thecollins.team>
docs: remove unnecessary qualifier in README
I think the sentence applies to all Argo projects.
Signed-off-by: Michael Crenshaw <350466+crenshaw-dev@users.noreply.github.com>
* chore(argo-workflows): Remove xip url from test to avoid confusion
Signed-off-by: Tim Collins <tim@thecollins.team>
* Bump version
Signed-off-by: Tim Collins <tim@thecollins.team>
* More bumpings
Signed-off-by: Tim Collins <tim@thecollins.team>
* Tim can't type
Signed-off-by: Tim Collins <tim@thecollins.team>
* Swap to example.com - rfc2606
Signed-off-by: Tim Collins <tim@thecollins.team>
---------
Signed-off-by: Tim Collins <tim@thecollins.team>
chore: Add yu-cruco to * in CODEOWNERS
yu-cruco is now a maintainer and will be notified on all PRs
- [x] moved CODEOWNERS into .github folder where it belongs
Signed-off-by: jmeridth <jmeridth@gmail.com>
* fix(argo-workflows): Accept multi auth mode for server
Signed-off-by: yu-croco <yu.croco@gmail.com>
* chore(argo-workflows): improve description of authMode
Signed-off-by: yu-croco <yu.croco@gmail.com>
* chore(argo-workflows): keep the older value valid for now as compatibility.
Signed-off-by: yu-croco <yu.croco@gmail.com>
---------
Signed-off-by: yu-croco <yu.croco@gmail.com>
* Updated security documentation and CLOMonitor exemptions
Signed-off-by: Eddie Knight <knight@linux.com>
* Added license scanning exepmtion
Signed-off-by: Eddie Knight <knight@linux.com>
* Added best practices badge to README
Signed-off-by: Eddie Knight <knight@linux.com>
---------
Signed-off-by: Eddie Knight <knight@linux.com>
Co-authored-by: Jason Meridth <jmeridth@gmail.com>
* fix outdated link branch link
Branch was renamed prior, redirects to main now
Signed-off-by: Max! <admin@cloudydev.net>
* Update Chart.yaml
Signed-off-by: Max! <admin@cloudydev.net>
* add to changelog
Signed-off-by: Max! <admin@cloudydev.net>
---------
Signed-off-by: Max! <admin@cloudydev.net>
Getting failure when running chart testing action pulling v2.0.0 from sigstore
Updating action to see if this helps
Signed-off-by: jmeridth <jmeridth@gmail.com>
* Redis to 7.0.13
Signed-off-by: Pieter van der Giessen <pieter@pionative.com>
* changelog
Signed-off-by: Pieter van der Giessen <pieter@pionative.com>
---------
Signed-off-by: Pieter van der Giessen <pieter@pionative.com>
Add checksum for CMP ConfigMap in repo-server
This helm chart defines the plugins as ConfigMaps -- according to the docs, when the CM is modified, the repo-server Pod must be restarted to have the sidecars pick up the latest changes:
https://argo-cd.readthedocs.io/en/stable/operator-manual/config-management-plugins/#debugging-a-cmp
The changes in this helm chart allow for a checksum to be calculated from the ConfigMap and added as a Pod annotation so whenever the CM values are modified, the Pod is restarted automatically.
Signed-off-by: sibucan <luis.ramirez.rivera92@gmail.com>
* 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>
- 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>
* 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>
2023-09-08 15:02:25 +01:00
270 changed files with 17738 additions and 2734 deletions
reason:"Helm deps are not currently scanned. Maintainers are watching developments to dependabot-core #2237"# Justification of this exemption (mandatory, it will be displayed on the UI)
- check:sbom
reason:"Tracking Helm dependencies is not yet a stable practice."
- check:self_assessment
reason:"Refer to self assessments supplied by the codebases Argo Helm supports."
- check:signed_releases
reason:"Argo Helm releases are made via Artifact Hub, where they are signed. The unsigned GitHub releases are for reference only."
- check:license_scanning
reason:"Temporary exemption: pending response from CNCF Service Desk"
@ -47,6 +47,8 @@ Any breaking changes to a chart (backwards incompatible) require:
### New Application Versions
Helm charts are intended to be created for all non-patched releases of Argo CD, Workflows, Rollouts, and Events. Associated dependencies, such as Redis, will use the version recommended by the associated release.
When selecting new application versions ensure you make the following changes:
* `values.yaml`: Bump all instances of the container image version
@ -64,7 +66,7 @@ Each release for each chart must be immutable. Any change to a chart (even just
### Chart Versioning
Currently we require a chart version bump for every change to a chart, including updating information for older verions. This may change in the future.
Currently we require a chart version bump for every change to a chart, including updating information for older versions. This may change in the future.
Follow [these](https://argoproj.github.io/argo-workflows/quick-start/#submitting-an-example-workflow) instructions for running a hello world workflow.
Follow [these](https://argo-workflows.readthedocs.io/en/stable/quick-start/#submitting-an-example-workflow) instructions for running a hello world workflow.
[](https://www.bestpractices.dev/projects/7942)
Argo Helm is a collection of **community maintained** charts for [https://argoproj.github.io](https://argoproj.github.io) projects. The charts can be added using following command:
@ -23,7 +24,7 @@ Some users would prefer to install the CRDs _outside_ of the chart. You can disa
Helm cannot upgrade custom resource definitions in the `<chart>/crds` folder [by design](https://helm.sh/docs/chart_best_practices/custom_resource_definitions/#some-caveats-and-explanations). Our CRDs have been moved to `<chart>/templates` to address this design decision.
If you are using versions of a chart that have the CRDs in the root of the chart or have elected to manage the Argo Workflows CRDs outside of the chart, please use `kubectl` to upgrade CRDs manually from [templates/crds](templates/crds/) folder or via the manifests from the upstream project repo:
If you are using versions of a chart that have the CRDs in the root of the chart or have elected to manage the Argo CRDs outside of the chart, please use `kubectl` to upgrade CRDs manually from [templates/crds](templates/crds/) folder or via the manifests from the upstream project repo:
Example:
@ -41,3 +42,63 @@ Please refer to [SECURITY.md](SECURITY.md) for details on how to report security
### Changelog
Releases are managed independently for each helm chart, and changelogs are tracked on each release. Read more about this process [here](https://github.com/argoproj/argo-helm/blob/main/CONTRIBUTING.md#changelog).
## Charts use Helm "Capabilities"
Our charts make use of the Helm built-in object "Capabilities":
> This provides information about what capabilities the Kubernetes cluster supports.
- `.Capabilities.APIVersions.Has` mostly to determine whether the CRDs for ServiceMonitors (from prometheus-operator) exists inside the cluster
- `.Capabilities.KubeVersion.Version` to handle correct apiVersion of a specific resource kind (eg. "policy/v1" vs. "policy/v1beta1")
If you use the charts only to template the manifests, without installing (`helm install ..`), you need to make sure that Helm (or the Helm SDK) receives the available APIs from your Kubernetes cluster.
For this you need to pass the `--api-versions` parameter to the `helm template` command:
```bash
helm template argocd \
oci://ghcr.io/argoproj/argo-helm/argo-cd \
--api-versions monitoring.coreos.com/v1 \
--values my-argocd-values.yaml
```
If you use other tools like [Kustomize](https://kubectl.docs.kubernetes.io/references/kustomize/builtins/) or [helmfile](https://helmfile.readthedocs.io/en/latest/#configuration) to render it, there are equivalent options.
Each helm chart currently supports the designated application version in the Chart.yaml. There is a chance a security issue you've discovered may not be with the helm chart but with the upstream application. Please visit that application's Security policy docueent to find out how to report the security issue.
Each helm chart currently supports the designated application version in the Chart.yaml. There is a chance a security issue you've discovered may not be with the helm chart but with the upstream application. Please visit that application's Security policy document to find out how to report the security issue.
* [Security Policy for Argo Workflows](https://github.com/argoproj/argo-workflows/blob/master/SECURITY.md)
* [Security Policy for Argo Events](https://github.com/argoproj/argo-events/blob/master/SECURITY.md)
* [Security Policy for Argo Rollouts](https://github.com/argoproj/argo-rollouts/blob/master/docs/security.md)
* [Security Policy for Argo Rollouts](https://github.com/argoproj/argo-rollouts/blob/master/docs/security/security.md)
* [Security Policy for Argo CD](https://github.com/argoproj/argo-cd/blob/master/SECURITY.md)
* [Security Policy for Argo CD Image Updater](https://github.com/argoproj-labs/argocd-image-updater/blob/master/SECURITY.md)
### Synchronizing Changes from Original Repository
## Ingress configuration
Please refer to the [Operator Manual](https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#ingress-configurationh) for details as the samples
below corespond to their respective sections.
### SSL-Passthrough
The `tls: true` option will expect that the `argocd-server-tls` secret exists as Argo CD server loads TLS certificates from this place.
Refer to the Operator Manual for [AWS Application Load Balancer mode](https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#aws-application-load-balancers-albs-and-classic-elb-http-mode).
The provided example assumes you are using TLS off-loading via AWS ACM service.
> **Note:**
> Using `controller: aws` creates additional service for gRPC traffic and it's no longer need to use `ingressGrpc` configuration section.
serviceType: ClusterIP # <- Used with target-type: ip
backendProtocolVersion: GRPC
```
### GKE Application Load Balancer
The implementation will populate `ingressClassName`, `networking.gke.io/managed-certificates` and `networking.gke.io/v1beta1.FrontendConfig` annotations
automatically if you provide configuration for GKE resources.
In the original [Argo CD repository](https://github.com/argoproj/argo-cd/) an [`manifests/install.yaml`](https://github.com/argoproj/argo-cd/blob/master/manifests/install.yaml) is generated using `kustomize`. It's the basis for the installation as [described in the docs](https://argo-cd.readthedocs.io/en/stable/getting_started/#1-install-argo-cd).
@ -104,8 +278,113 @@ 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.
### 7.0.0
We changed the type of `.Values.configs.clusterCredentials` from `list` to `object`.
If you used the value, please migrate like below.
```yaml
# before
configs:
clusterCredentials:
- mycluster:
server: https://mycluster.example.com
labels: {}
annotations: {}
# ...
# after
configs:
clusterCredentials:
mycluster:
server: https://mycluster.example.com
labels: {}
annotations: {}
# ...
```
### 6.10.0
This version introduces authentication for Redis to mitigate GHSA-9766-5277-j5hr.
#### How to rotate Redis secret?
Upstream steps in the [FAQ] are not enough, since we chose a different approach.
(We use a Kubernetes Job with [Chart Hooks] to create the auth secret `argocd-redis`.)
Steps to rotate the secret when using the helm chart (bold step is additional to upstream):
* Delete `argocd-redis` secret in the namespace where Argo CD is installed.
ApplicationSet controller is always created to follow [upstream's manifest](https://github.com/argoproj/argo-cd/blob/v2.11.0/manifests/core-install/kustomization.yaml#L9).
### 6.4.0
Added support for application controller dynamic cluster distribution.
Please refer to [the docs](https://argo-cd.readthedocs.io/en/stable/operator-manual/dynamic-cluster-distribution) for more information.
Added env variables to handle the non-standard names generated by the helm chart.
Here are the [docs](https://argo-cd.readthedocs.io/en/release-2.9/user-guide/environment-variables/)
and [code](https://github.com/argoproj/argo-cd/blob/99723143b96ceec9ef5b0a7feb7b4f4b0dce3497/common/common.go#L252)
### 6.1.0
Added support for global domain used by all components.
### 6.0.0
This version **removes support for**:
* deprecated component options `logLevel` and `logFormat`
* deprecated component arguments `<components>.args.<feature>` that were replaced with `configs.params`
* deprecated configuration `server.config` that was replaced with `configs.cm`
* deprecated configuration `server.rbacConfig` that was replaced with `configs.rbac`
Major version also contains breaking **changes related to Argo CD Ingress** resources that were hard to extend and maintain for various ingress controller implementations.
Please review your setup and adjust to new configuration options:
* catch all rule was removed for security reasons. If you need this please use `server.ingress.extraRules` to provide ingress rule without hostname
* ingress rule for `paths` changed to `path` as there is only single Argo CD backend path
* ingress rule for `hosts` changed to `hostname` as there can be only single SSO redirect for given hostname
* ingress TLS for server uses by default `argocd-server-tls` secret required by Argo CD server, additional ingresses are using `<hostname>-tls` secret when `tls: true`
* additional hostnames and routing can be provided via `extraHosts` configuration section
* additional TLS secrets can be provided via `extraTls` configuration section
Please refer to [ingress configuration](#ingress-configuration) for examples.
### 5.53.0
Argocd-repo-server can now optionally use Persistent Volumes for its mountpoints instead of only emptydir()
### 5.52.0
Because [Argo CD Extensions] is now deprecated and no further changes will be made, we switched to [Argo CD Extension Installer], adding an Argo CD Extension Installer to init-container in the Argo CD API server.
If you used old mechanism, please move to new mechanism. For more details, please refer `.Values.server.extensions` in values.yaml.
### 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].
@ -115,18 +394,26 @@ The manifests are now using [`tini` as entrypoint][tini], instead of `entrypoint
This means that the deployment manifests have to be updated after upgrading to Argo CD v2.7, and before upgrading to Argo CD v2.8 later.
In case the manifests are updated before moving to Argo CD v2.8, the containers will not be able to start.
### 5.26.0
This version adds support for Config Management Plugins using the sidecar model and configured in a ConfigMap named `argocd-cmp-cm`.
Users will need to migrate from the previous `argocd-cm` ConfigMap method to using the sidecar method before Argo CD v2.8. See the [Argo CD CMP migration guide](https://argo-cd.readthedocs.io/en/stable/operator-manual/config-management-plugins/#migrating-from-argocd-cm-plugins) for more specifics.
To migrate your plugins, you can now set the `configs.cmp.create` to `true` and move your plugins from `configs.cm` to `configs.cmp.plugins`.
You will also need to configure the sidecar containers under `repoServer.extraContainers` and ensure you are mounting any custom volumes you need from `repoServer.volumes` into here also.
### 5.24.0
This versions adds additional global parameters for scheduling (`nodeSelector`, `tolerations`, `topologySpreadConstraints`).
This version adds additional global parameters for scheduling (`nodeSelector`, `tolerations`, `topologySpreadConstraints`).
Default `global.affinity` rules can be disabled when `none` value is used for the preset.
### 5.22.0
This versions adds `global.affinity` options that are used as a presets. Override on component level works as before and replaces the default preset completely.
This version adds `global.affinity` options that are used as a presets. Override on component level works as before and replaces the default preset completely.
### 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.
If you are using an AWS ALB Ingress controller, you will need to set `server.ingressGrpc.isAWSALB` to `true`. This will create a second service with the annotation `alb.ingress.kubernetes.io/backend-protocol-version: HTTP2` and modify the server ingress to add a condition annotation to route GRPC traffic to the new service.
@ -515,6 +780,19 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
{{-end}}
{{-end}}
### Redis secret-init
The helm chart deploys a Job to setup a random password which is used to secure the Redis. The Redis password is stored in Kubernetes secret `argocd-redis` with key `auth` in the namespace where Argo CD is installed.
If you use an External Redis (See Option 3 above), this Job is not deployed.
1. kubectl port-forward service/{{ include "argo-cd.fullname" . }}-server -n {{ include "argo-cd.namespace" . }} 8080:443
and then open the browser on http://localhost:8080 and accept the certificate
@ -139,10 +9,10 @@ In order to access the server UI you have the following options:
- Set the `configs.params."server.insecure"` in the values file and terminate SSL at your ingress: https://argo-cd.readthedocs.io/en/stable/operator-manual/ingress/#option-2-multiple-ingress-objects-and-hosts
{{ if eq (toString (index .Values.configs.cm "admin.enabled")) "true" -}}
After reaching the UI the first time you can login with username: admin and the random password generated during the installation. You can find the password by running:
kubectl -n {{ include "argo-cd.namespace" . }} get secret argocd-initial-admin-secret -o jsonpath="{.data.password}" | base64 -d
(You should delete the initial secret afterwards as suggested by the Getting Started Guide: https://argo-cd.readthedocs.io/en/stable/getting_started/#4-login-using-the-cli)
{{ else if or (index .Values.configs.cm "dex.config") (index .Values.configs.cm "oidc.config") -}}
{{- if and .Values.applicationSet.enabled .Values.global.networkPolicy.create (or .Values.applicationSet.metrics.enabled .Values.applicationSet.webhook.ingress.enabled) }}
{{- if and .Values.global.networkPolicy.create (or .Values.applicationSet.metrics.enabled .Values.applicationSet.ingress.enabled) }}
{{- if and (.Capabilities.APIVersions.Has "monitoring.coreos.com/v1") .Values.applicationSet.metrics.enabled .Values.applicationSet.metrics.serviceMonitor.enabled }}