Commit graph

119 commits

Author SHA1 Message Date
Florian Blampey
6c47b2a69b
fix(argo-cd): Use with instead of range on reposerver serviceaccount (#2506)
fixes #2505 with instead of range serviceaccount reposerver

Signed-off-by: Florian Blampey <flbla@users.noreply.github.com>
Signed-off-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Maurer (-Kilchhofer) <mkilchhofer@users.noreply.github.com>
2024-02-13 12:42:29 +01:00
Petr Drastil
79a24410b5
chore(argo-cd): Remove server.config leftovers (#2504) 2024-02-13 12:13:41 +01:00
nikolay-o
b44f9a0eb5
feat(argo-cd): Add scrapeTimeout property to server and application… (#2489)
feat(argo-cd): Add scrapeTimeout property to server and application, applicationset controllers.

Signed-off-by: Nikolay Osmolovskiy <nikolay.osmolovsky@gmail.com>
Co-authored-by: Nikolay Osmolovskiy <nosmolovskiy@yandex-team.ru>
2024-02-12 18:36:39 +00:00
Petr Drastil
b8212e0b30
chore(argo-cd): Remove deprecated features and redesign Ingress (#2407)
* chore(argo-cd): Remove deprecated features

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

* Remove wildcard catch all ingress rule

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

* Add ingress extra rules

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

* Remove unnecessary ingress variables

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

* Improve documentation

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

* Replace ingress paths and hosts with single backend service

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

* Use only port number to support all ingress controllers

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

* Minor gRPC fixes

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

* Simplify TLS configuration

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

* Decouple AWS and GKE ALB from generic ingress

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

* Remove map nesting for ApplicationSet ingress

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

* Use example.com domain

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

* Remove fallback for argocd-cm checksum annotation

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

* Add revisionHistoryLimit for controller

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

* Update README

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

* Update README

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

---------

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

* Apply automatic changes

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

* Update CRDs to v2.10.0

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

* Add variables for new features

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

* Fix version in Chart.yaml

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

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <renovate[bot]@users.noreply.github.com>
2024-02-07 08:10:12 +01:00
Michele Sacchetti
508162f1cc
feat(argo-cd): Add optional mapping of argocd-repo-server emptydir to custom volumes (#2410)
* Add optional volumes to replace emptydir

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

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

* existingVolumes default values

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

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

* Update Chart.yaml

bump version

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

* Update Chart.yaml

add changelog

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

* fix docs

fix docs on new entry

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

* fix readme

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

* Update README.md.gotmpl

Signoff commit

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

* fix readme

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

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

---------

Signed-off-by: Michele Sacchetti <michele.sacchetti@aroundthecode.org>
2024-01-18 14:56:33 +01:00
Petr Drastil
107bd3bc53
chore(argo-cd): DRY cleanup of ServiceAccounts (#2409)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2024-01-05 12:56:59 +00:00
Petr Drastil
f634cf6e9c
feat(argo-cd): Upgrade Argo CD to 2.9.0 (#2318)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2023-11-06 13:54:34 +01:00
gussan
a41b70b59c
feat(argo-cd): add terminationGracePeriodSeconds (#2310)
Signed-off-by: toyamagu-2021 <toyamagu2021@gmail.com>
2023-10-27 10:43:52 +01:00
sibucan
7a17fc2dc9
fix(argo-cd): Add checksum for CMP ConfigMap in repo-server Pod annotations (#2275)
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>
2023-09-19 10:01:42 +01:00
Andrew Hamilton
eebb8c8d48
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>
2023-09-09 17:55:47 +09:00
Aikawa
95310f995b
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>
2023-09-08 15:02:25 +01:00
Petr Drastil
224a227fa4
chore(argo-cd): Remove support for autoscaling/v1 (#2237)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2023-08-28 10:12:29 +02:00
Petr Drastil
3e35b0c7f7
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>
2023-08-08 23:35:41 +09:00
Alex Souslik
c2f813ec62
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>
2023-07-18 08:51:14 +02:00
Zach Swanson
afccb2e5d4
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>
2023-07-17 13:20:47 +01:00
Joe Lee
49c2ca2548
feat(argo-cd): Add "global.env" for all deployed containers (#2096)
* add global env for argo-cd

Signed-off-by: Joe Lee <lj_2005@163.com>

* update readme

Signed-off-by: Joe Lee <lj_2005@163.com>

* fix typo

Signed-off-by: Joe Lee <lj_2005@163.com>

* feat(argo-cd): Add "global.env" for all deployed containers

Signed-off-by: Joe Lee <lj_2005@163.com>

* update doc

Signed-off-by: Joe Lee <lj_2005@163.com>

* remove note

Signed-off-by: Joe Lee <lj_2005@163.com>

* update changes

Signed-off-by: Joe Lee <lj_2005@163.com>

---------

Signed-off-by: Joe Lee <lj_2005@163.com>
2023-06-07 17:52:02 +09:00
Wim Fournier
cd4c291e47
fix(argo-cd): Allow to disable containerSecurityContext (#2072)
* Allow to disable containerSecurityContext

Add a `enabled` property to allow the whole containerSecurityContext to be disabled.
Fixes https://github.com/argoproj/argo-helm/issues/2071

Signed-off-by: wim.fournier <github@fournier.nl>
Signed-off-by: Wim Fournier <github@fournier.nl>

* fix missing space

Signed-off-by: Wim Fournier <github@fournier.nl>

* remove enabled key

Signed-off-by: Wim Fournier <github@fournier.nl>

* fix typo

Signed-off-by: Wim Fournier <github@fournier.nl>

* missed one

Signed-off-by: Wim Fournier <github@fournier.nl>

* simplify using `with`, thx @pborn-ionos!

Signed-off-by: wim.fournier <wim.fournier@adevinta.com>

* missed one

Signed-off-by: wim.fournier <wim.fournier@adevinta.com>

---------

Signed-off-by: wim.fournier <github@fournier.nl>
Signed-off-by: Wim Fournier <github@fournier.nl>
Signed-off-by: wim.fournier <wim.fournier@adevinta.com>
Co-authored-by: wim.fournier <wim.fournier@adevinta.com>
2023-05-23 15:29:26 -05:00
GoshaDozoretz
05bc6a236d
feat(argo-cd): add lifecycle hooks to repo server (#1922)
* add lifesycle webhook to repo server

Signed-off-by: goshado <goshatoo@gmail.com>

* add lifesycle webhook to repo server

Signed-off-by: goshado <goshatoo@gmail.com>

* add lifesycle webhook to repo server

Signed-off-by: goshado <goshatoo@gmail.com>

---------

Signed-off-by: goshado <goshatoo@gmail.com>
Signed-off-by: GoshaDozoretz <106976988+gosharo@users.noreply.github.com>
Co-authored-by: goshado <goshatoo@gmail.com>
2023-05-17 15:40:18 +02:00
Marco Kilchhofer
8402303bf8
feat(argo-cd): Add ability to add prometheus.io/scrape annotations (#2037) 2023-05-10 19:39:56 -05:00
Aikawa
decfc73a3f
feat(argo-cd): Use tini as the ENTRYPOINT (#1991) 2023-05-02 07:29:30 -05:00
Jakub Oskera
88d690ef62
fix(argo-cd): add namespace field for namespace scoped resources (#1937) 2023-04-13 09:08:34 -05:00
Laurent Lavaud
4ea0119321
feat(argo-cd): Add support for custom Deployment strategy (#1918)
Signed-off-by: Laurent Lavaud <l.lavaud@gmail.com>
2023-04-03 10:58:50 +01:00
Gergely Czuczy
3c24d55fa4
feat(argo-cd): Entrypoint can be configured now (#1898)
* Entrypoint can be configured now

Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com>

* Updated charts.lock after following master

Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com>

* Bump version

Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com>

---------

Signed-off-by: Gergely Czuczy <gergely.czuczy@sap.com>
Signed-off-by: Gergely Czuczy <gergely.czuczy@harmless.hu>
2023-03-30 17:33:14 +01:00
LucasBoisserie
d34a376568
fix(argo-cd): Disable hostNetwork field when is set to false (#1934)
* fix(argo-cd): fix host network configuration

Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>

* update changelog

Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>

---------

Signed-off-by: LucasBoisserie <lucas.boisserie@gmail.com>
2023-03-28 14:48:09 +01:00
Petr Drastil
053a338ea9
feat(argo-cd): Add additional global parameters for scheduling (#1846)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2023-03-02 23:28:23 +09:00
Petr Drastil
88b92909e6
chore(argo-cd): Add missing hostAliases to all components (#1848)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2023-02-23 19:11:54 +01:00
Petr Drastil
51386c69be
feat(argo-cd): Add global affinity configuration (#1794) 2023-02-17 10:38:17 -06:00
Loris
d59ae7bd75
feat(argo-cd): Add dnsConfig and dnsPolicy for pods (#1773)
feat(argo-cd): Add dnsConfig and dnsPolicy for pods (#1771)

Signed-off-by: Loris Torikian <loris_torikian@hotmail.fr>
Co-authored-by: Loris Torikian <loris.torikian@square-sense.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2023-02-15 09:11:16 +09:00
Tone
05c79e322a
feat(argo-cd): Configurable dnsPolicy / hostNetwork (#1821) 2023-02-05 22:40:13 -06:00
Petr Drastil
58f587618f
fix(argo-cd): Consolidate and fix container ports (#1788)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2023-01-21 13:07:14 +01:00
Petr Drastil
31242020c4
feat(argo-cd): Allow templated values for init and extra containers (#1749) 2023-01-10 06:31:57 -06:00
Petr Drastil
c5648d5c9f
chore(argo-cd): Consolidate cluster-wide RBAC (#1597)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2023-01-10 09:58:45 +01:00
Petr Drastil
f6c884a096
chore(argo-cd): Remove legacy API versions for PDBs (#1740)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-12-29 16:47:29 +01:00
John Stewart
b97e652f63
feat(argo-cd): Add ability to annotate Deployments and StatefulSets (#1608)
* feat(argo-cd): Add ability to annotate Deployments and StatefulSets

Signed-off-by: John Stewart <jstewart@rentpath.com>

* fix: Controller and AppSet controller was mixed

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

Signed-off-by: John Stewart <jstewart@rentpath.com>
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-12-01 00:25:22 +01:00
Karl Parry
a0784fddac
fix(argo-cd): Rename tls secret to include the -secret suffix (#1676)
- "[Fixed]: TLS secret name so Dex correctly generates the checksum for argocd-dex-server-tls."
- "[Fixed]: Standardise the naming convention of the TLS secret manifests."
- "[Added]: Add checksum to Repo-Server for the argocd-repo-server-tls secret."

Signed-off-by: Karl Parry <karl.parry@imbursepayments.com>
2022-11-30 22:38:04 +01:00
Petr Drastil
1b2e7ca984
feat(argo-cd): Add revisionHistoryLimit (#1599)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-11-01 20:26:44 +01:00
Petr Drastil
3d9e2f35a6
feat(argo-cd): Set container security contexts (#1579)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-30 20:12:46 +01:00
Petr Drastil
7e30521dd2
feat(argo-cd): Upgrade Argo CD to 2.5.0 (#1568)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-25 23:22:22 +02:00
Petr Drastil
24de82b214
chore(argo-cd): Metrics DRY cleaning (#1569)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-25 16:08:51 +02:00
Petr Drastil
8c50158952
chore(argo-cd): Rename metrics templates (#1556)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-22 13:59:23 +01:00
João Estrela
12a1ccea75
feat(argo-cd): ServiceMonitor resources can be annotated (#1564)
* [Added]: ServiceMonitor resources are able to be annotated

Signed-off-by: João Estrela <jestrela@barracuda.com>
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
Co-authored-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-21 10:10:53 +02:00
Petr Drastil
9743219ace
chore(argo-cd): Improve PDB implementation and documentation (#1544)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-12 14:55:33 +02:00
Petr Drastil
3351b30ee6
chore(argo-cd): Use same resources for repo-server copyutil (#1531)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-11 16:11:15 +02:00
Petr Drastil
6b523e3b0b
feat(argo-cd): Add API version overrides for PDB and GKE (#1524)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-11 15:52:31 +02:00
Petr Drastil
3a05c7e7b4
chore(argo-cd): Rename PDB templates (#1533)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>

Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-10-10 21:08:04 +02:00
Jan-Otto Kröpke
fbaa2ef19b
feat(argo-cd): Make labels for repoServer and notification service accounts configurable (#1527)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2022-10-09 17:33:55 +09:00
Laurent Lavaud
9b3a65e239
fix(argo-cd): Add missing templating for some service labels (#1489) 2022-09-25 12:02:42 -05:00
Petr Drastil
ba733e921d
fix(argo-cd): Rendering of node selector for repoServer (#1484)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-09-22 10:52:41 +02:00
Petr Drastil
edf29d2e15
Add argocd-cmd-params-cm (#1267)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-09-21 13:48:37 +02:00