chore(argo-cd): Remove duplicate ApplicationSet features (#1598)
Signed-off-by: Petr Drastil <petr.drastil@gmail.com>
This commit is contained in:
parent
a0784fddac
commit
f25cda30af
6 changed files with 29 additions and 30 deletions
|
|
@ -58,6 +58,12 @@ REMOVED option controller.service - Use controller.metrics
|
|||
{{- if .Values.repoServer.copyutil }}
|
||||
REMOVED option repoSever.copyutil.resources - Use repoServer.resources
|
||||
{{- 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:
|
||||
|
||||
|
|
|
|||
|
|
@ -41,19 +41,16 @@ spec:
|
|||
command:
|
||||
- entrypoint.sh
|
||||
- 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
|
||||
- {{ default .Values.global.logging.format .Values.applicationSet.logFormat }}
|
||||
- --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 }}
|
||||
{{- toYaml . | nindent 12 }}
|
||||
{{- end }}
|
||||
|
|
|
|||
|
|
@ -47,9 +47,20 @@ rules:
|
|||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- secrets
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- update
|
||||
- delete
|
||||
- get
|
||||
- list
|
||||
- patch
|
||||
- watch
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- secrets
|
||||
verbs:
|
||||
- get
|
||||
- list
|
||||
- watch
|
||||
|
|
@ -62,16 +73,6 @@ rules:
|
|||
- get
|
||||
- list
|
||||
- watch
|
||||
# Leader election
|
||||
- apiGroups:
|
||||
- ""
|
||||
resources:
|
||||
- configmaps
|
||||
verbs:
|
||||
- create
|
||||
- update
|
||||
- delete
|
||||
- patch
|
||||
- apiGroups:
|
||||
- coordination.k8s.io
|
||||
resources:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue