Commit graph

21 commits

Author SHA1 Message Date
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
Mike Bryant
41ddad4aba
feat: Allow setting the log format to json for Argo CD (#463) 2020-10-02 13:12:35 +10: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
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
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
Hidde Beydals
bcc861a904
fix: take argocd SA flags into account (#358) 2020-05-25 12:48:35 -07: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
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
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
Mohammed Naser
0e2c29c0c3 [argo-cd] Added simple PrometheusRule (#178)
* [argo-cd] Added simple PrometheusRule
This patch adds a few simple rules which you can leverage to make
sure that your infrastructure is up to date.  They are optional
and opt-in only.
* Add conditional selector fix from #180
* Bump chart version
2019-12-09 14:34:52 +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
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