51 lines
2 KiB
YAML
51 lines
2 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: argocd-application-controller
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
|
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/part-of: {{ include "argo-cd.name" . }}
|
|
app.kubernetes.io/component: application-controller
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app.kubernetes.io/name: {{ include "argo-cd.name" . }}-application-controller
|
|
helm.sh/chart: {{ include "argo-cd.chart" . }}
|
|
app.kubernetes.io/instance: {{ .Release.Name }}
|
|
app.kubernetes.io/managed-by: {{ .Release.Service }}
|
|
app.kubernetes.io/part-of: {{ include "argo-cd.name" . }}
|
|
app.kubernetes.io/component: application-controller
|
|
spec:
|
|
containers:
|
|
- command:
|
|
- argocd-application-controller
|
|
- --status-processors
|
|
- "20"
|
|
- --operation-processors
|
|
- "10"
|
|
image: {{ .Values.applicationController.image.repository }}:{{ .Values.applicationController.image.tag }}
|
|
imagePullPolicy: {{ .Values.applicationController.image.pullPolicy }}
|
|
name: argocd-application-controller
|
|
ports:
|
|
- containerPort: {{ .Values.applicationController.containerPort }}
|
|
readinessProbe:
|
|
tcpSocket:
|
|
port: {{ .Values.applicationController.containerPort }}
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
volumeMounts:
|
|
{{- if .Values.applicationController.volumeMounts }}
|
|
{{ toYaml .Values.applicationController.volumeMounts | nindent 8 | trim }}
|
|
{{- end }}
|
|
serviceAccountName: argocd-application-controller
|
|
volumes:
|
|
{{- if .Values.applicationController.volumes }}
|
|
{{ toYaml .Values.applicationController.volumes | nindent 6 | trim }}
|
|
{{- end }}
|