Commit graph

135 commits

Author SHA1 Message Date
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
Marco
0bac122e98
fix(argo-cd): Add automountServiceAccountToken to repoServer (#1436)
Signed-off-by: Marco Lecheler <marco@task.media>
2022-09-04 10:48:13 +02:00
Mathieu Parent
71da4e98f2
fix(argo-cd): Remove version labels to avoid invalid characters (#1432) 2022-08-30 17:30:29 +02:00
Petr Drastil
31e0156992
feat(argo-cd): Add global logging options (#1422)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2022-08-25 12:41:43 +02:00
medicharlachiranjeevi
0717586410
feat(argo-cd): Added spec.behavior in HPA (#1376)
* added behavior in HPA for api version autoscaling/v2beta1

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

* updated readme

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

* chore: Apply changes from code review

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

* fix: Add missing quote

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

Signed-off-by: medicharlachiranjeevi <medicharlachiranjeevi@gmail.com>
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-08-25 08:40:50 +02:00
Mathieu Parent
8f0914dc4e
feat(argo-cd): Truncate version labels to 63 characters (#1368)
Allow to use digests.
https://github.com/argoproj/argo-helm/issues/417

Signed-off-by: Mathieu Parent <mathieu.parent@insee.fr>
2022-07-21 11:53:19 +02:00
Daniel Nachtrub
9c245d4e65
feat(argo-cd): Added apiVersion switch for autoscaling resources (#1375)
* Added apiVersion switch for autoscaling

Signed-off-by: dn <dn@nuvotex.de>

* bumped chart version
added changelog

Signed-off-by: dn <dn@nuvotex.de>

* updated docs with helm-docs 1.9.1

Signed-off-by: dn <dn@nuvotex.de>

* added new line end of file (lint issue)

Signed-off-by: dn <dn@nuvotex.de>

* replaced linebreaks in chart.yaml with LF

Signed-off-by: dn <dn@nuvotex.de>

* Apply changes from code review

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-07-14 15:02:52 +02:00
Aikawa
05f7c6c241
feat(argo-cd): support separate imagePullSecrets (#1311)
Signed-off-by: yu-croco <yuki.kita22@gmail.com>

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-06-02 13:26:08 +01:00
Aikawa
3332dc2e12
fix(argo-cd): adjust api version of pod disruption budget by referring to k8s version (#1289)
Signed-off-by: yu-croco <yuki.kita22@gmail.com>
2022-05-22 13:51:41 +02:00
Christian Brauchli
57e1cd6960
feat(argo-cd): Make metrics and serviceMonitors usable on an istio service mesh (#1270)
* feat(argo-cd): Make metrics and serviceMonitors usable on an istio service mesh

Signed-off-by: Christian Brauchli <chb@open.ch>

* change back default values

Signed-off-by: Christian Brauchli <chb@open.ch>

* update README

Signed-off-by: Christian Brauchli <chb@open.ch>

* change values to the values they where before

Signed-off-by: Christian Brauchli <chb@open.ch>

* fix lint

Signed-off-by: Christian Brauchli <chb@open.ch>

* adjust default portName to be istio compatible

Signed-off-by: Christian Brauchli <chb@open.ch>

* update docs

Signed-off-by: Christian Brauchli <chb@open.ch>

* Resolve copy-paste errors

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

* Restore dex/deployment.yaml and adapt dex/service.yaml

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

* Bump minor chart version and add port renaming to changelog

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

Co-authored-by: Christian Brauchli <chb@open.ch>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-05-10 09:40:49 +02:00
Kevin Franklin Kim
5d6442b4be
feat(argo-cd): add ImagePullPolicy to repo server init container (#1228) 2022-04-19 13:01:45 +02:00
Marco Kilchhofer
58926e3d79
feat(argo-cd): Add ability to use an external redis instance (#1150)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-03-31 14:18:54 +02:00
Marco Kilchhofer
b919396574
fix(argo-cd): Add missing NetworkPolicy for ApplicationSet and Notifications (#1184)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-03-18 21:25:23 +00:00
Jan-Otto Kröpke
f985751bb2
fix(argo-cd): Use upstream entrypoint.sh (#1159)
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
2022-03-06 13:07:49 +01:00
Otto Nordander
cbdcd902d7
Always mount argocd-tls-certs-cm in server and repo-server (#1098)
If the ConfigMap is not mounted Argo will not be able
to use any certificates added in the CLI or the UI.

Signed-off-by: Otto Nordander otto.nordander@gmail.com

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-03-01 17:35:07 +00:00
ericpdurand
7248992d65
fix(argo-cd): Adding securityContext to copyutil container in repo-server (#1149)
Signed-off-by: Eric Durand <eric_p_durand@yahoo.com>
2022-02-26 20:06:59 +00:00
Treehopper
08c9dffa8a
fix(argo-cd): Quote annotation values (#1107)
* fix: Quote annotation values in redis service [argo-cd] (#1106)

* Quote annotation values in redis
* Update chart version

Signed-off-by: Max Hohengger <github.com@hohenegger.eu>

* Implement annotation quote for all other occurrences

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

* Update changelog

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-01-31 19:26:04 +00:00
mugi-o
f1995d697e
feat(argo-cd): add poddisruptionbudget template. (#1110)
Signed-off-by: mugioka <okamugi0722@gmail.com>
2022-01-31 15:36:49 +00:00
Marco Kilchhofer
cf57a71a15
fix(argo-cd): Add custom volume as Helm working dir (#1103)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2022-01-27 10:15:05 +00:00
Sven Haardiek
66194fd35f
Add resources to copyutil initContainer (#1093)
Signed-off-by: Sven Haardiek <sven.haardiek@uni-muenster.de>

Co-authored-by: Marko Bevc <marko@scalefactory.com>
2022-01-19 19:25:58 +00:00
Marko Bevc
e6a0802f4f
fix(argo-cd): Revert initContainers copyUtil param (#1063)
* fix(argo-cd): Revert initContainers copyUtil param

Signed-off-by: Marko Bevc <marko@scalefactory.com>

* Use correct keyword in annotations

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-12-18 22:08:57 +00:00
Alex Babel
0dc0b845a3
fix(argo-cd): Merge duplicate initContainer entries introduced in 3.29.0 (#1058)
* fix(repo-server): merge initContainer to one section

Signed-off-by: Alex Babel <alexander.babel@icloud.com>

* chore(argo-cd): bump version to 3.29.1

Signed-off-by: Alex Babel <alexander.babel@icloud.com>

* Merge master into fix/repo-server-init-container

Signed-off-by: Alex Babel <alexander.babel@icloud.com>

* fix(argo-cd): add enableCopyutilInitContainer option

Signed-off-by: Alex Babel <alexander.babel@icloud.com>

* doc: update readme

Signed-off-by: Alex Babel <alexander.babel@icloud.com>
2021-12-17 18:39:07 +00:00
cedi
6d872cb02f
Bumping the Version of the argo-cd helm chart to v2.2.0 (#1055)
Signed-off-by: Cedric Kienzler <github@cedric-kienzler.de>
2021-12-15 10:15:02 +00:00
J. Mark Pim
0bbe2b1aae
feat(argo-cd): support initContainers on all pods (#1043)
* feat(argo-cd) support initContainers on all pods

Signed-off-by: Mark Pim <j.mark.pim@gmail.com>

* Fix linting

Signed-off-by: Mark Pim <j.mark.pim@gmail.com>

* Run helm-docs

Signed-off-by: Mark Pim <j.mark.pim@gmail.com>
2021-11-29 10:50:39 +00:00
Marco Kilchhofer
7e988dcae2
fix(argo-cd): Update to app version v2.1.5 (#990)
* fix(argo-cd): Update to app version v2.1.5

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

* chore: Use chart appVersion as global default imageTag

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-10-21 21:55:34 +01:00
keiSunagawa
73d1aedaec
fix repo server extraContainers values unused (#953)
Signed-off-by: keiSunagawa <keisunagawa.git@icloud.com>
2021-09-29 10:07:01 +01:00
Seo, Sinhyeok
263919a8a8
fix(argo-cd): Also add hostAliases to dex deployment (#941)
* feat: Add hostAliases to dex/deployment

based on https://github.com/argoproj/argo-helm/pull/274

Signed-off-by: Sinhyeok <sinhyeok@gmail.com>

* Bumped version number of argo-cd chart

Signed-off-by: Sinhyeok <sinhyeok@gmail.com>

* Beautify indentation

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

* Beautify indentation of existing implementation

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

* Update changelog

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

Co-authored-by: attar.sh <attar.sh@kakaobank.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-09-27 12:04:14 +02:00
Rо́man
6452b6a2e9
feat(argo-cd): Ability to provide cluster role to repo-server (#919)
* feat(argo-cd): Ability to provide cluster role to repo-server

Signed-off-by: Roman Rudenko <3kmnazapad@gmail.com>

* custom clusterRoleRules

Signed-off-by: Roman Rudenko <3kmnazapad@gmail.com>

* chore: beautify indentation

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

* fix: noeol in clusterrolebinding.yaml

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

Co-authored-by: Roman Rudenko <roman.rudenko@telekom.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-09-17 22:14:31 +02:00
Sander van Schie
804cd4ec54
feat(argo-cd): Add support for topologySpreadConstraints (#917)
* feat(argo-cd): Add support for topologySpreadConstraints

Signed-off-by: Sander van Schie <sandervanschie@gmail.com>

* Apply suggestions from code review

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-09-17 15:57:26 +02:00
Takumi Sue
f10234f340
feat(argo-cd): add extraContainers to pods besides server (#927)
* feat(argo-cd): add extraContainers to pods besides server

Signed-off-by: mikutas <23391543+mikutas@users.noreply.github.com>

* Apply suggestions from code review

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-09-16 19:59:20 +02:00
keiSunagawa
a801d55710
fix(argo-cd): global podLabels/podAnnotations object unexpected merge (#930)
* fix(argo-cd): global podLabels/podAnnotations object unexpected merge

Signed-off-by: keiSunagawa <keisunagawa.git@icloud.com>

* fix change log typo

Signed-off-by: keiSunagawa <keisunagawa.git@icloud.com>
2021-09-15 11:30:54 +01:00
Emanuel Oliveira
31803c05d6
feat(argo-cd): Finalize update to argocd 2.1.0 (#884)
Signed-off-by: Emanuel Oliveira <emanuelolive@grupoboticario.com.br>

Co-authored-by: Mateus Miranda <mateus.miranda@sumup.com>
Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-08-26 15:42:47 +02:00
Petr Drastil
8e11387e7d
feat(argo-cd): Allow service monitor relabeling configs (#897)
* Allow service monitor relabeling configs

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

* Revert scrape interval to optional field

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

* Revert path to original place

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

* Fix trailing character on README

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-08-25 17:04:29 +02:00
Petr Drastil
536e98b72b
feat(argo-cd): Allow global configuration for pod annotations and labels (#894)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
2021-08-24 14:48:03 +02:00
Aditya Menon
9b6802b3c9
fix(argo-cd): Remove ArgoCD repo server entrypoint script from command block and drop --staticassets field (#886) 2021-08-23 14:13:41 +02:00
Marco Kilchhofer
922799081d
feat(argo-cd): Add ability to create network policies (#800)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-07-13 08:35:25 +02:00
Marco Kilchhofer
d860a04452
feat(argo-cd): Add ability to manage gpgKeys (#797)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
2021-07-05 11:41:55 +02:00
Miguel Ángel Cabrera Miñagorri
f17cc62250
fix(argo-cd): Typo in repo server service monitor (#815) 2021-06-26 17:04:59 +02:00
Michał Czeraszkiewicz
10bf57b893
fix(argo-cd): envFrom in repoServer (#751)
* fix: envFrom for repoServer

Signed-off-by: Michał Czeraszkiewicz <contact@czerasz.com>

* config: bump chart version

Signed-off-by: Michał Czeraszkiewicz <contact@czerasz.com>

* docs: add envFrom documentation

Signed-off-by: Michał Czeraszkiewicz <contact@czerasz.com>

* docs: improve documentation for envFrom

Signed-off-by: Michał Czeraszkiewicz <contact@czerasz.com>

* Apply suggestions from code review

Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-05-24 21:20:33 +02:00
Michał Czeraszkiewicz
083c46cf00
feat(argo-cd): add support for envFrom (#743)
* feat: add support for envFrom

Signed-off-by: Michał Czeraszkiewicz <contact@czerasz.com>

* config: bump chart version

Signed-off-by: Michał Czeraszkiewicz <contact@czerasz.com>

* Apply suggestions from code review

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

Co-authored-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-05-21 18:43:24 +02:00
Sergey Shaykhullin
b971b36317
feat(argo-cd): Extract ServiceMonitor interval to values (#739)
* Extract interval and path to values

Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com>

* Bump chart

Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com>

* Remove path from values

Signed-off-by: Sergey Shaykhullin <sergeyshaykhullin@gmail.com>
2021-05-21 14:43:10 +02:00
Marcel Hoyer
3ba4cdb1ca
fix(argo-cd): Sync ArgoCD helm chart with kustomize (#659)
* copy CRD resource files from https://github.com/argoproj/argo-cd/tree/v2.0.0/manifests/crds

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* update `global.image` values in `values.yaml` to quay.io

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* update redis image to 6.2.1

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* add optional volume mount to secret `argocd-repo-server-tls` according to 7a68880e2e

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* increase patch version of chart to 3.0.1

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* add `redis.extraArgs` to enable customization of `redis-server` arguments

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* add some notes to the `README` about syncing changes from original `manifests/install.yaml`

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* fix example for `extraArgs` in `values.yaml` of argo-cd chart

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* Bump chart version to 3.1.2

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

* Bump argo-cd version to 3.2.2

Signed-off-by: Marcel Hoyer <mhoyer@pixelplastic.de>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>

Co-authored-by: Oliver Bähler <oliverbaehler@hotmail.com>
2021-04-24 12:50:25 +02:00
Marco Kilchhofer
3b0ebdda66
refactor(argo-cd): Use templating for labels (#627)
Signed-off-by: Marco Kilchhofer <mkilchhofer@users.noreply.github.com>
2021-03-22 16:15:37 -04:00
Joshua Stern
04b5c32d80
feat(argo-cd): add the ability to specify automountServiceAccountToken for argo-cd (#626)
Signed-off-by: Joshua Stern <joshua.stern@appian.com>
2021-03-18 23:04:52 +01:00
Marco Kilchhofer
eb16df15da
fix(argo-cd): Mount emptyDir on repoServer for /tmp and /app/config/gpg/keys (#619)
* fix: Mount emptyDir on repoServer when using read-only FS

Signed-off-by: Marco Kilchhofer <marco@kilchhofer.info>

* fix: Mount emptyDir on repoServer for /tmp and /app/config/gpg/keys

The emptyDir for /app/config/gpg/keys was already implemented in the plain
manifests in the main project: https://github.com/argoproj/argo-cd/pull/4136

Signed-off-by: Marco Kilchhofer <marco@kilchhofer.info>
2021-03-09 21:53:06 +01:00
Lars Fenneberg
03aecd7af9
fix(argocd): Unconditionally start reposerver with uid_entrypoint.sh (#466)
* fix(argocd): Unconditionally start reposerver with uid_entrypoint.sh

While uid_entrypoint.sh contains the OpenShift specific manipulation of
/etc/passwd it also starts the reposerver via tini and so ensures that any
zombies produced by reposerver and its decendants are collected.

This matches the behaviour from the manifests included with the main ArgoCD
project. See:

* f93da5346c/manifests/base/repo-server/argocd-repo-server-deployment.yaml (L24)
* https://github.com/argoproj/argo-cd/pull/3721
* https://github.com/argoproj/argo-cd/issues/3611

* chore: Bumping minor semver as this feels like a bit more than a patch change.
2020-10-08 17:18:44 +11:00
Mike Bryant
41ddad4aba
feat: Allow setting the log format to json for Argo CD (#463) 2020-10-02 13:12:35 +10:00
Hayden Fuss
4c4121ce18
fix: Adding EmptyDir Volume for Repo Server on OpenShift (#450) 2020-09-21 18:28:21 -04:00
Ashwin Chandrasekar
f6266c9e2a
fix: add priorityClassName to argo-cd deployments pod specs (#377)
* add priorityClassName to argo-cd deployments pod specs

Signed-off-by: Ashwin Chandrasekar <ashwin.chandrasekar@lexisnexis.com>

* Fix priorityClassName templating in redis deployment

Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
2020-07-11 13:00:29 -04:00
Johannes
28e2d8d31b
Fix usage of openshift.enabled flag (#325)
Currently the  `openshift.enabled` flag causes the repo server to have an invalid command
argument. It's also not documented yet.

Signed-off-by: Johannes Siebel <johannes.siebel@gmail.com>
2020-04-28 11:05:11 -04:00
Tyler Auerbeck
a5070f5f07
feat: Fix/Enhance Routes; Add uid workaround for repo server (#276)
* Fix/Enhance Routes; Add uid workaround for repo server

* Fix CI linting

* Update default openshift.enabled value; Fix argocd-repo-server env template

* Bump chart version to fix linting

Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
2020-04-20 19:59:48 -04:00
Carlos Juan Gómez Peñalver
d7da8e863f
feat: argo-cd can deploy Redis HA (#270)
* feat: argo-cd can deploy Redis HA

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: add unarchived subchart redis-ha

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: Redis HA upgraded since 4.3.4 contains a bug on the chart

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* docs: how to configure Redis and Redis HA

* fix: add missing chart folder

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: Helm bug with subcharts and alias

* fix: Chart version

* fix: Remove archived subcharts

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: lint script

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* Revert "fix: lint script"

This reverts commit f4b81cbb6f.

* fix: lint and publish scripts

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: align test-image versions

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: remove sudo from scripts
Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: add required repositories to helm

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: simplify expression

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: bump up chart version
Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
2020-04-09 12:31:13 -04:00
Erik Lund Jensen
bad9aff0aa
feat: Helm Chart: add hostAliases to deployments #272 (#274)
* feat: Helm Chart: add hostAliases to deployments #272

* feat: Bumped version number of argo-cd chart

* Bumped version number of argo-cd chart. Feature #272
2020-03-27 09:49:47 -04:00
Carlos Juan Gómez Peñalver
805371544d
feat: extraArgs allows same flag multiple times (#265)
* feat: extraArgs allows same flag multiple times

Superseeds #244 (I messed up the rebase 🤦)

Relates to #232

This change allows ArgoCD chart to render multiple times the same flag with different values

Mainly, if not only, used to specify multiple Redis Sentinel addresses
5ec5aeb002/manifests/ha/base/overlays/argocd-application-controller-deployment.yaml (L16)
aeb48b0a69/util/cache/cache.go (L33)
```
--sentinel
```

using this syntax
```
controller:
  extraArgs:
  - --sentinel
  - argocd-redis-ha-announce-0
  - --sentinel
  - argocd-redis-ha-announce-1
  - --sentinel
  - argocd-redis-ha-announce-2
```

instead of

```
controller:
  extraArgs:
    sentinel=argocd-redis-ha-announce-0:
    sentinel=argocd-redis-ha-announce-1:
    sentinel=argocd-redis-ha-announce-2:
```

Basically same syntax as the flags documentation
```
docker run --rm argoproj/argocd:v1.4.2 argocd-server help
...
Flags:
      --app-state-cache-expiration duration           Cache expiration for app state (default 1h0m0s)
      --as string                                     Username to impersonate for the operation
      --as-group stringArray                          Group to impersonate for the operation, this flag can be repeated to specify multiple groups.
      --basehref string                               Value for base href in index.html. Used if Argo CD is running behind reverse proxy under subpath different from / (default "/")
      --certificate-authority string                  Path to a cert file for the certificate authority
      --client-certificate string                     Path to a client certificate file for TLS
      --client-key string                             Path to a client key file for TLS
      --cluster string                                The name of the kubeconfig cluster to use
      --connection-status-cache-expiration duration   Cache expiration for cluster/repo connection status (default 1h0m0s)
      --context string                                The name of the kubeconfig context to use
      --default-cache-expiration duration             Cache expiration default (default 24h0m0s)
      --dex-server string                             Dex server address (default "http://argocd-dex-server:5556")
      --disable-auth                                  Disable client authentication
      --gloglevel int                                 Set the glog logging level
  -h, --help                                          help for argocd-server
      --insecure                                      Run server without TLS
      --insecure-skip-tls-verify                      If true, the server's certificate will not be checked for validity. This will make your HTTPS connections insecure
      --kubeconfig string                             Path to a kube config. Only required if out-of-cluster
      --loglevel string                               Set the logging level. One of: debug|info|warn|error (default "info")
      --metrics-port int                              Start metrics on given port (default 8083)
  -n, --namespace string                              If present, the namespace scope for this CLI request
      --oidc-cache-expiration duration                Cache expiration for OIDC state (default 3m0s)
      --password string                               Password for basic authentication to the API server
      --port int                                      Listen on given port (default 8080)
      --redis string                                  Redis server hostname and port (e.g. argocd-redis:6379).
      --redisdb int                                   Redis database.
      --repo-server string                            Repo server address (default "argocd-repo-server:8081")
      --repo-server-timeout-seconds int               Repo server RPC call timeout seconds. (default 60)
      --request-timeout string                        The length of time to wait before giving up on a single server request. Non-zero values should contain a corresponding time unit (e.g. 1s, 2m, 3h). A value of zero means don't timeout requests. (default "0")
      --sentinel stringArray                          Redis sentinel hostname and port (e.g. argocd-redis-ha-announce-0:6379).
      --sentinelmaster string                         Redis sentinel master group name. (default "master")
      --server string                                 The address and port of the Kubernetes API server
      --staticassets string                           Static assets directory path
      --tlsmaxversion string                          The maximum SSL/TLS version that is acceptable (one of: 1.0|1.1|1.2)
      --tlsminversion string                          The minimum SSL/TLS version that is acceptable (one of: 1.0|1.1|1.2)
      --token string                                  Bearer token for authentication to the API server
      --user string                                   The name of the kubeconfig user to use
      --username string                               Username for basic authentication to the API server
      --x-frame-options value                         Set X-Frame-Options header in HTTP responses to value. To disable, set to "". (default "sameorigin")
```

Signed-off-by: Carlos Juan Gómez Peñalver <carlosjuangp@gmail.com>

* fix: bump up chart version
2020-03-19 14:55:16 -04:00
Alex Khaerov
6eed9ad16c
feat: Support ImagePullSecrets parameter (support private registries) (#254)
* Support ImagePullSecrets

* Bump chart version
2020-03-06 21:26:18 +11:00
Arnar
400f141dae
fix: Fixing podLabels in deployment templates (#251)
* Fixing podLabels in deployment templates
* Updating chart version
2020-02-26 16:37:56 +11:00
Rodrigo Argüello Flores
c8db341fdb
fix: reorder hpa metrics to avoid displaying diffs in argocd (#245)
* fix: reorder hpa metrics to avoid displaying diffs in argocd
2020-02-22 13:55:40 +11:00
Gustav Paul
d9d7862864
feat: Add HPA for ArgoCD server and repoServer components (#240)
* argo-cd: add optional hpa, cleanup whitespace
2020-02-17 11:14:39 +11:00
bergur88
1f625ddd8e
fix: Make port names configurable for repo-server and controller (#236)
* allow changing of port names for application-controller and repo-server

* bump chart version

* chore: bump Chart version
2020-02-17 10:17:37 +11:00
Carson A
209bd150cc
Make server component replicas configurable (#225)
The official Argo-CD HA manifests do not scale the dex server
or the application controller past 1 because they still have
local caches and cannot support more than one pod at a time

Signed-off-by: Carson Anderson <ca@carsonoid.net>
2020-02-05 15:32:17 -05:00
Jaret
eddfa674ce fix: Fix breaking change in 1.6.1 chart (#208)
* Fixes version label in argocd components

Breaking change introduced in this PR https://github.com/argoproj/argo-helm/pull/203 causes labeles to be removed due to an empty vaule in .Values.*.image.tag.

* Update Chart.yaml

patch version bump
2020-01-15 14:31:30 -05:00
bartse
69208d2a6f feat: add kubernetes version tag and set container security capabilities (#203) 2020-01-13 16:18:35 +11:00
David J. M. Karlsen
c1f6ed45f5 feat: Add securityContext. Fixes #96 (#185)
* make securityContext optional
* add docs
* bump chart version
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-12-16 13:55:09 +11:00
jeroenlanckmans
ec04e0c043 Allow custom tools for argo-cd in helm chart (#177)
* enable custom tools in argo helm chart
* add examples
* bump chart version
2019-12-09 11:22:51 +11:00
Léo Depriester
3a2c980044 [charts/argo-cd] add support of custom environment variables (#181)
Signed-off-by: Léo Depriester <leo.depriester@camptocamp.com>
* Fix controller env path
* Updating chart bump to patch as this is a backwards compatible change
2019-12-06 10:50:47 +11:00
Igor Churmeev
ed873508ec [charts/argo-cd] Fix servicemonitors (#180)
* Fixed servicemonitor templates
* Bump chart version
Signed-off-by: Igor Churmeev <igor.churmeev@gatech.global>
2019-12-05 14:47:15 +11:00
Abhishek Jaisingh
5e0dcfe117 ArgoCD: Configure Repository Credentials in Values (#167)
* ArgoCD: Configure Repository Credentials in Values

* Argo CD Helm Chart: Add a Secret Resource in Repo Server for configuring Repository Credentials

Change-Id: I64c343d3558a939d0faef795e62d4e258810bc67

* Minor formatting fix, add documentation.
2019-11-26 09:55:05 +11:00
Antoine
8c3430b89e Repo server rbac (#160)
* Added Role and service account to repo-server
* Fixed comment in repo-server SA name helper
* Bumped chart version
* Added repoServer service account annotations
2019-11-20 10:27:12 +11:00
TomHellier
33c4adfbb6 Issue #147, k8s label part-of expected to be argocd (#151)
The argocd application expects that the label 'app.kubernetes.io/part-of' is set to 'argocd' otherwise the configmap or secret is rejected, and the argocd-dex-server, argocd-server, and argocd-application-controller fail to start.
2019-11-06 09:47:56 +11:00
Jaret
30889df476 init v1.0.0 (#129) 2019-11-04 16:17:25 -08:00