Commit graph

108 commits

Author SHA1 Message Date
Chulki Lee
ef64e585fe
fix(argo-cd): quote version annotation (#534)
Signed-off-by: Chulki Lee <chulki.lee@gmail.com>

Co-authored-by: David J. M. Karlsen <david@davidkarlsen.com>
2021-01-22 12:23:36 +01:00
Christopher Sauer
a6a9d0bf7a
feat(argo-cd): change application-controller to StatefulSet (#512)
* update deployment to statefulset
* Update chart version

Signed-off-by: Chris Sauer <mr-sour@users.noreply.github.com>

* chore: Bumping minor semver as this has a resource change
* chore: Add feature flag for enabling StatefulSet

Signed-off-by: seanson@users.noreply.github.com <seanson@users.noreply.github.com>
2020-12-15 17:15:13 +11:00
Christopher Sauer
15a76e56d0
feat: allow controller replicas to be set (#496)
Signed-off-by: mr-sour <mr-sour@users.noreply.github.com>

Co-authored-by: mr-sour <mr-sour@users.noreply.github.com>
2020-11-23 20:29:19 -05:00
Saulius Mašnauskas
fbec017cfb
fix(argocd): optional named target port (#479) 2020-10-26 22:27:36 -04:00
Chris Vest
df3b2cf96a
fix: Add annotations and labels to dex service [argo-cd] (#473)
* Add annotations to dex service

Currently `.Values.dex.metrics.service.annotations` is not used anywhere - this adds that to the template.

* Add labels to dex service

* Update chart version
2020-10-16 13:31:26 +11:00
Tom S
dd6a16bb15
fix(argocd): Make dex init container not overwrite argocd-util (#468)
* Make dex init container not overwrite argocd-util
* Bump chart version
2020-10-09 09:30:53 +11:00
simonfr
6cf32933ff
feat: add extraContainers argument to deployment (#465)
* add extraContainers argument

* Update Chart.yaml

* Update values.yaml

* Update deployment.yaml
2020-10-09 09:11:01 +11: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
Yann Soubeyrand
50a66fd7ab
chore: update certificate apiVersion (#458)
* chore: update certificate apiVersion
* chore: bump chart version
2020-10-02 13:09:25 +10:00
Bruno Clermont
1c83d371a5
feat: add metrics for argo-cd/dex (#452) 2020-09-21 21:50:19 -04:00
Hayden Fuss
4c4121ce18
fix: Adding EmptyDir Volume for Repo Server on OpenShift (#450) 2020-09-21 18:28:21 -04:00
Ertugrul Karademir
b9af202660
fix: Helm giving linting error when no ingress or ingressGrpc extraPaths are given (#435)
* Added conditionals for ingress extraPaths

* Added conditionals for ingressGrpc extraPaths

* Version bump
2020-09-01 18:41:22 -04:00
Michael Barrientos
e1e2dd9631
feat: Argo CD allow custom paths for ingress (#424)
Similar to #317, this allows us to add extra paths to Argo CD.
This adds compatibility with the ALB Ingress Controller when using EKS
to be able to add the additional listener rule to perform a HTTP->HTTPS
redirect on port 80.
2020-08-29 17:19:51 -04:00
Connor Hallett
f45bd52b0e
feat(argo-cd): Add Support for syncWindows in additionalProjects (#398)
* Add support for syncWindows in additionalProjects

* Update values.yaml

Add example of syncWindows

* Update Chart.yaml

Bump version

Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
2020-08-29 16:37:57 -04:00
Frederik Weber
9b80bd95e4
fix: #404 - Change Redis image to run as non-root user (#405)
* fix: #404 - Set Security Context for Redis Pod

* Separate Container and Pod Security Context for Redis

* Bump Chart Version

* Syntax fix

* Also set Group in Redis Security Context
2020-07-15 13:18:47 -04:00
Darshan Chaudhary
6a09dda2ed
chore(argo-cd): add app-resync as a template variable (#397)
Signed-off-by: darshanime <deathbullet@gmail.com>

Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
2020-07-12 12:49:45 -04:00
Matteo Ruina
562a8fcd98
Add support for configmaps annotations (#390)
Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
2020-07-12 10:56:48 -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
Adrian Wyssmann
f47ec46965
feat: Enable dedicated grpc ingress for argo-cd-server (#367)
* [argo-cd] Enable dedicated grpc ingress

This is based on the information found at
https://argoproj.github.io/argo-cd/operator-manual/ingress/

* [argo-cd] Ensure unique name for grpc ingress

* [charts/argo-cd]  Bump chart version
2020-06-26 09:25:00 -04:00
Jonathan Serafini
6a26babc28
feat(argocd): Allow specifying annotations for serviceaccounts (#371)
* feat(argocd): Allow specifying annotations for serviceaccounts

* chore(argocd): update argocd chart to 2.3.7

Co-authored-by: Spencer Gilbert <Spencer.Gilbert@gmail.com>
2020-06-24 09:48:41 -04:00
Yann Soubeyrand
aaeca8e124
fix: remove Argo CD server route status field (#362)
Status fields prevent resources from converging.
2020-06-17 19:37:46 -04:00
Hidde Beydals
bcc861a904
fix: take argocd SA flags into account (#358) 2020-05-25 12:48:35 -07:00
John Pekcan
74c54ac783
fixing typo on spec.loadBalancerSourceRanges (#350)
Signed-off-by: John Pekcan <johnpekcan@gmail.com>
2020-05-18 11:33:03 -04:00
Shabbir Kagalwala
e0a49d914d
fix: Fix typo in namespaceResourceWhitelist (#337)
* Fix typo in namespaceResourceWhitelist

* chore: bumping minor version as technically a breaking change
2020-05-07 16:18:56 +10:00
Shabbir Kagalwala
e374150c36
Add namespaceResourceWhilelist to Projects (#336) 2020-05-06 11:38:49 -07:00
Stefan Reimer
b71ff243d3
feat: Allow argo-cd server service port names to be configured. (#332)
* Allow server service port names to be configured.

Allows to route traffic via istio to split gRPC from http

* Update Chart.yaml for argo-cd

* Bump Chart version to match PR orders
2020-05-04 15:18:56 -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
Takeshi Nakata
c2d9c81258
feat: add BackendConfig configuration for GKE (#314)
* add BackendConfig configuration
* update chart version
* modify sample secretName
2020-04-27 10:14:23 +10:00
Chris
ac44f2d7e1
fix: use networking.k8s.io/v1beta1 apiVersion for ingress if supported (#312)
* use networking.k8s.io/v1beta1 apiVersion for ingress if supported
* updated chart version
* used more explicit capability check
2020-04-21 16:52:13 +10: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
Paul Cantea
722acb7e4d
fix: Additional Annotations in ArgoCD projects (#311)
* fix: Additional Annotations in ArgoCD projects

* Bump Chart version
2020-04-17 18:40:35 -04:00
LucasBoisserie
0eb0730abb
[argocd] add annotations for secret (#308) 2020-04-16 08:44:52 -04:00
Maciej Strzelecki
53edfb9fc5
feat: Add a load balancer IP to server's service (#306)
* add loadBalancerIP to server's service

* optimize condition
2020-04-14 17:15:17 -04:00
Johan van der Geest
ae13f015ff
fix: implementing server service labels (#304)
* Adding custom labels to the argocd-server service when specified in the Helm values.yaml

* Updated argo-cd chart version to 2.2.2 due to argocd-server service labeling implementation
2020-04-13 08:54:06 -04:00
Yann Soubeyrand
228c989f9c
chore: update certificate apiVersion (#300) 2020-04-09 21:01:56 -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 f4b81cbb6fc6d6c271f07b3d271a110b43edb9dd.

* 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
AkiraFukushima
567e7ce91f
Add loadBalancerSourceRanges parameter for ArgoCD service resource (#290) 2020-04-09 12:02:23 -04:00
Yann Soubeyrand
40a234dcea
fix: update CRDs (#297) 2020-04-08 11:43:40 -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
Joffrey Janiec
39f08b4a29
Support for labels & annotations for dex & redis (#257) 2020-03-09 21:39:21 +11:00
tgauweiler
8caf81a4ef
fix: volumes indention for argocd-server (#260)
* Fix volumeMounts indention for argocd-server

VolumeMounts have to be indented with 8 spaces.

* chore: bump chart version

* Fix volumes indention for argo-server

* Bump version
2020-03-07 00:42:46 +11: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
David J. M. Karlsen
7ba77fde18
feat: use globalsecuritycontext for dex too, trim whitespace (#248)
Signed-off-by: David Karlsen <david@davidkarlsen.com>
2020-02-22 13:14:00 +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
tgauweiler
fdb6093011
fix: volumeMounts indention for argocd-server (#239)
* Fix volumeMounts indention for argocd-server
* chore: bump chart version
2020-02-17 10:46:41 +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