Removes controller.enabled

As suggested, the controller should always be enabled.
This commit is contained in:
Jaret Deprin 2019-10-15 18:31:54 -07:00
parent 89716e2ebc
commit 4fe65a4e09
9 changed files with 6 additions and 22 deletions

View file

@ -50,7 +50,6 @@ $ helm install --name my-release argo/argo-cd
| controller.args.operationProcessors | define the controller `--operation-processors` | `"10"` |
| controller.args.statusProcessors | define the controller `--status-processors` | `"20"` |
| controller.containerPort | Controller listening port. | `8082` |
| controller.enabled | Enable ArgoCD Controller | `true` |
| controller.extraArgs | Additional arguments for the controller. | `[]` |
| controller.image.repository | Repository to use for the controller | `global.image.repository` |
| controller.image.imagePullPolicy | Image pull policy for the controller | `global.image.imagePullPolicy` |

View file

@ -1,4 +1,3 @@
{{- if .Values.controller.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRole
metadata:
@ -21,4 +20,3 @@ rules:
- '*'
verbs:
- '*'
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.controller.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
@ -18,4 +17,3 @@ subjects:
- kind: ServiceAccount
name: {{ template "argo-cd.controllerServiceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- end -}}

View file

@ -1,4 +1,3 @@
{{- if .Values.controller.enabled }}
apiVersion: apps/v1
kind: Deployment
metadata:
@ -103,4 +102,3 @@ spec:
volumes:
{{- toYaml .Values.controller.volumes | nindent 8 }}
{{- end }}
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.controller.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
@ -40,4 +39,3 @@ rules:
verbs:
- create
- list
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.controller.enabled }}
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
@ -18,4 +17,3 @@ subjects:
- kind: ServiceAccount
name: {{ template "argo-cd.controllerServiceAccountName" . }}
namespace: {{ .Release.Namespace }}
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.controller.enabled }}
apiVersion: v1
kind: Service
metadata:
@ -24,4 +23,3 @@ spec:
selector:
app.kubernetes.io/instance: {{ .Release.Name }}
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-{{ .Values.controller.name }}
{{- end }}

View file

@ -1,4 +1,3 @@
{{- if .Values.controller.enabled }}
apiVersion: v1
kind: ServiceAccount
metadata:
@ -10,4 +9,3 @@ metadata:
app.kubernetes.io/managed-by: {{ .Release.Service }}
app.kubernetes.io/part-of: {{ include "argo-cd.name" . }}
app.kubernetes.io/component: {{ .Values.controller.name }}
{{- end }}

View file

@ -11,7 +11,6 @@ global:
## Controller
controller:
enabled: true
name: application-controller
image: {}