Commit graph

31 commits

Author SHA1 Message Date
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
Alex Khaerov
6eed9ad16c
feat: Support ImagePullSecrets parameter (support private registries) (#254)
* Support ImagePullSecrets

* Bump chart version
2020-03-06 21:26:18 +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
Tuan
3fd67d8cbb
fix: Make clusterrole & clusterrolebinding optional for argocd-server again (#233)
* Make clusterrole & clusterrolebinding optional for argocd-server
* Bump Chart version
* Update README.md
2020-02-17 09:49:52 +11:00
Carson A
9dd063c62f
Add replica values to the readme (#228) 2020-02-06 13:42:52 +11:00
David J. M. Karlsen
6c6564e302
chore: Upgrade to 1.4.2 (#221)
Signed-off-by: David Karlsen <david@davidkarlsen.com>
2020-02-04 10:17:27 -05:00
Yann Soubeyrand
3b3a2c86b3 feat: allow manually setting password modification time (#207)
Automatically setting password modification time to the current time leads to
it changing every time the chart is rendered. Ironically, this is a problem
when Argo CD manages itself using this chart ;-)
2020-01-28 09:28:58 +11:00
David J. M. Karlsen
792f112ac7 feat: Bump to version 1.4.1 (#214)
Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2020-01-24 09:25:21 +11:00
Bruno Clermont
54278a8ecd feat: Update argo-cd image to version v1.4.0 (#210) 2020-01-22 09:17:21 +11:00
DaytonG
4b22128b4c feat: allow custom secrets to be added to argocd-secret (#199) 2020-01-09 11:55:14 -05:00
Sean Johnson
2fa31188ed
fix: Add Helm3 CRDs directory (#192)
Fixes #169

* fix: Add Helm3 CRDs directory
* docs: Add info for helmv3 warnings
2019-12-19 09:50:18 +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
Paul Brit
78f4b788da docs: Minor tweaks for ArgoCD (#191)
* docs: Minor tweaks for ArgoCD
* Chart version bump
2019-12-16 09:57:31 +11:00
David J. M. Karlsen
3e1faba98b chore: Upgrade to v1.3.6 (#186)
* Upgrade to v1.3.6

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>

* bump version

Signed-off-by: David J. M. Karlsen <david@davidkarlsen.com>
2019-12-13 10:30:15 +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
Sean Johnson
1e2038adca
[charts/argo-cd] Update to 1.3, some chart cleanup (#165)
* [charts/argo-cd] Update to 1.3, some chart cleanup
* Bumps the version of ArgoCD to 1.3 and the chart version to 1.2 due
to a CRD change. Restored conditional CRDs to correct #27. Additionally,
 some value defaults were added so Helm strict linting could pass.
* This adds some examples to the values.yaml on how to use the new
Helm repo chart types. Add helmignore to help with development.
2019-11-21 15:40:15 +11:00
Jaret
ca5d1d7078 Minor fixes 11 11 (#164)
* Fixes documentation for arguments (#159)
* enable redis by default (#148)
* patch version bump
2019-11-14 14:01:01 +11:00
Alan Tang
361ea8d13d K8S tolerations should contain list instead of object (#155)
Ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
2019-11-07 21:06:22 +11:00
disposab1e
7dff7e23ae OpenShift Route (#153)
* OpenShift Route
* Bump Chart Version to 1.0.4
2019-11-07 19:20:31 +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
Sean Johnson
c7bad6816e Bump argocd chart to 1.2.4 (#139) 2019-10-28 09:38:19 -07:00
Antoine Dao
b2e9de6019 argo-cd: add server init containers (#131) 2019-10-22 09:12:08 -07:00
Johannes
22607a897b Bumped version to 1.2.3 (#127) 2019-10-11 09:07:38 -07:00
leoxiongideahq
3fce11cdc2 Allow TLS configuration for Ingress (#119) 2019-09-23 14:58:42 -07:00
Alex Collins
574e5cfa18
Contributing (#116) 2019-09-19 17:36:12 -07:00
Yann Soubeyrand
f8dc826d58 Fix ingress (#109) 2019-09-20 00:02:54 +01:00
Yann Soubeyrand
aff8a78040 Add certificate (#107) 2019-09-20 00:02:21 +01:00
Mohammed Naser
27170d1f70 Bump version to 1.21 (#108) 2019-09-17 08:42:03 +01:00
Sean Johnson
108fb73d2c Update argo-cd to reflect new 1.2.0 deployment (#101) (#102) 2019-09-06 09:42:52 -07:00