* 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>
- "[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>
* [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>
* 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>
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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
* 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>
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>
* 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>
* 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
* 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
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>
* 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
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
* 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.
* Added Role and service account to repo-server
* Fixed comment in repo-server SA name helper
* Bumped chart version
* Added repoServer service account annotations
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.