forked from argoproj/argo-helm
chore(argo-cd): Remove duplicate ApplicationSet features (#1598)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>main argo-cd-5.15.2
parent
a0784fddac
commit
f25cda30af
|
@ -3,7 +3,7 @@ appVersion: v2.5.3
|
||||||
kubeVersion: ">=1.22.0-0"
|
kubeVersion: ">=1.22.0-0"
|
||||||
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
description: A Helm chart for Argo CD, a declarative, GitOps continuous delivery tool for Kubernetes.
|
||||||
name: argo-cd
|
name: argo-cd
|
||||||
version: 5.15.1
|
version: 5.15.2
|
||||||
home: https://github.com/argoproj/argo-helm
|
home: https://github.com/argoproj/argo-helm
|
||||||
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
icon: https://argo-cd.readthedocs.io/en/stable/assets/logo.png
|
||||||
sources:
|
sources:
|
||||||
|
@ -23,6 +23,7 @@ dependencies:
|
||||||
condition: redis-ha.enabled
|
condition: redis-ha.enabled
|
||||||
annotations:
|
annotations:
|
||||||
artifacthub.io/changes: |
|
artifacthub.io/changes: |
|
||||||
- "[Fixed]: TLS secret name so Dex correctly generates the checksum for argocd-dex-server-tls."
|
- "[Changed]: ApplicationSet now automatically detects leader election"
|
||||||
- "[Fixed]: Standardise the naming convention of the TLS secret manifests."
|
- "[Changed]: Simplified ApplicationSet RBAC rules"
|
||||||
- "[Added]: Add checksum to Repo-Server for the argocd-repo-server-tls secret."
|
- "[Removed]: Configuration option applicationset.args.debug"
|
||||||
|
- "[Removed]: Configuration option applicationset.args.enableLeaderElection"
|
||||||
|
|
|
@ -950,9 +950,7 @@ If you want to use an existing Redis (eg. a managed service from a cloud provide
|
||||||
| Key | Type | Default | Description |
|
| Key | Type | Default | Description |
|
||||||
|-----|------|---------|-------------|
|
|-----|------|---------|-------------|
|
||||||
| applicationSet.affinity | object | `{}` | Assign custom [affinity] rules |
|
| applicationSet.affinity | object | `{}` | Assign custom [affinity] rules |
|
||||||
| applicationSet.args.debug | bool | `false` | Print debug logs |
|
|
||||||
| applicationSet.args.dryRun | bool | `false` | Enable dry run mode |
|
| applicationSet.args.dryRun | bool | `false` | Enable dry run mode |
|
||||||
| applicationSet.args.enableLeaderElection | bool | `false` | The default leader election setting |
|
|
||||||
| applicationSet.args.metricsAddr | string | `":8080"` | The default metric address |
|
| applicationSet.args.metricsAddr | string | `":8080"` | The default metric address |
|
||||||
| applicationSet.args.policy | string | `"sync"` | How application is synced between the generator and the cluster |
|
| applicationSet.args.policy | string | `"sync"` | How application is synced between the generator and the cluster |
|
||||||
| applicationSet.args.probeBindAddr | string | `":8081"` | The default health check port |
|
| applicationSet.args.probeBindAddr | string | `":8081"` | The default health check port |
|
||||||
|
|
|
@ -58,6 +58,12 @@ REMOVED option controller.service - Use controller.metrics
|
||||||
{{- if .Values.repoServer.copyutil }}
|
{{- if .Values.repoServer.copyutil }}
|
||||||
REMOVED option repoSever.copyutil.resources - Use repoServer.resources
|
REMOVED option repoSever.copyutil.resources - Use repoServer.resources
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.args.debug }}
|
||||||
|
REMOVED option applicationSet.args.debug - Use applicationSet.logLevel: debug
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Values.applicationSet.args.enableLeaderElection }}
|
||||||
|
REMOVED option applicationSet.args.enableLeaderElection - Value determined based on replicas
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
In order to access the server UI you have the following options:
|
In order to access the server UI you have the following options:
|
||||||
|
|
||||||
|
|
|
@ -41,19 +41,16 @@ spec:
|
||||||
command:
|
command:
|
||||||
- entrypoint.sh
|
- entrypoint.sh
|
||||||
- argocd-applicationset-controller
|
- argocd-applicationset-controller
|
||||||
|
- --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
|
||||||
|
- --enable-leader-election={{ gt ( .Values.applicationSet.replicaCount | int64) 1 }}
|
||||||
|
- --metrics-addr={{ .Values.applicationSet.args.metricsAddr }}
|
||||||
|
- --probe-addr={{ .Values.applicationSet.args.probeBindAddr }}
|
||||||
|
- --policy={{ .Values.applicationSet.args.policy }}
|
||||||
|
- --dry-run={{ .Values.applicationSet.args.dryRun }}
|
||||||
- --logformat
|
- --logformat
|
||||||
- {{ default .Values.global.logging.format .Values.applicationSet.logFormat }}
|
- {{ default .Values.global.logging.format .Values.applicationSet.logFormat }}
|
||||||
- --loglevel
|
- --loglevel
|
||||||
- {{ default .Values.global.logging.level .Values.applicationSet.logLevel }}
|
- {{ default .Values.global.logging.level .Values.applicationSet.logLevel }}
|
||||||
- --metrics-addr={{ .Values.applicationSet.args.metricsAddr }}
|
|
||||||
- --probe-addr={{ .Values.applicationSet.args.probeBindAddr }}
|
|
||||||
{{- if or (gt ( .Values.applicationSet.replicaCount | int64) 1) .Values.applicationSet.args.enableLeaderElection }}
|
|
||||||
- --enable-leader-election=true
|
|
||||||
{{- end }}
|
|
||||||
- --argocd-repo-server={{ template "argo-cd.repoServer.fullname" . }}:{{ .Values.repoServer.service.port }}
|
|
||||||
- --policy={{ .Values.applicationSet.args.policy }}
|
|
||||||
- --debug={{ .Values.applicationSet.args.debug }}
|
|
||||||
- --dry-run={{ .Values.applicationSet.args.dryRun }}
|
|
||||||
{{- with .Values.applicationSet.extraArgs }}
|
{{- with .Values.applicationSet.extraArgs }}
|
||||||
{{- toYaml . | nindent 12 }}
|
{{- toYaml . | nindent 12 }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -47,9 +47,20 @@ rules:
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- ""
|
- ""
|
||||||
resources:
|
resources:
|
||||||
- secrets
|
|
||||||
- configmaps
|
- configmaps
|
||||||
verbs:
|
verbs:
|
||||||
|
- create
|
||||||
|
- update
|
||||||
|
- delete
|
||||||
|
- get
|
||||||
|
- list
|
||||||
|
- patch
|
||||||
|
- watch
|
||||||
|
- apiGroups:
|
||||||
|
- ""
|
||||||
|
resources:
|
||||||
|
- secrets
|
||||||
|
verbs:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
|
@ -62,16 +73,6 @@ rules:
|
||||||
- get
|
- get
|
||||||
- list
|
- list
|
||||||
- watch
|
- watch
|
||||||
# Leader election
|
|
||||||
- apiGroups:
|
|
||||||
- ""
|
|
||||||
resources:
|
|
||||||
- configmaps
|
|
||||||
verbs:
|
|
||||||
- create
|
|
||||||
- update
|
|
||||||
- delete
|
|
||||||
- patch
|
|
||||||
- apiGroups:
|
- apiGroups:
|
||||||
- coordination.k8s.io
|
- coordination.k8s.io
|
||||||
resources:
|
resources:
|
||||||
|
|
|
@ -2153,12 +2153,8 @@ applicationSet:
|
||||||
metricsAddr: :8080
|
metricsAddr: :8080
|
||||||
# -- The default health check port
|
# -- The default health check port
|
||||||
probeBindAddr: :8081
|
probeBindAddr: :8081
|
||||||
# -- The default leader election setting
|
|
||||||
enableLeaderElection: false
|
|
||||||
# -- How application is synced between the generator and the cluster
|
# -- How application is synced between the generator and the cluster
|
||||||
policy: sync
|
policy: sync
|
||||||
# -- Print debug logs
|
|
||||||
debug: false
|
|
||||||
# -- Enable dry run mode
|
# -- Enable dry run mode
|
||||||
dryRun: false
|
dryRun: false
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue