beat enabled values

This commit is contained in:
David Burke 2021-06-03 15:26:05 -04:00
parent 49cd649fea
commit a55273aa3c
2 changed files with 5 additions and 0 deletions

View file

@ -1,4 +1,5 @@
{{- if .Values.worker.enabled -}}
{{- if .Values.beat.enabled -}}
apiVersion: apps/v1
kind: Deployment
metadata:
@ -55,4 +56,5 @@ spec:
name: {{ include "django.fullname" . }}
- configMapRef:
name: {{ include "django.fullname" . }}
{{- end }}
{{- end }}

View file

@ -100,6 +100,9 @@ worker:
tolerations: []
affinity: {}
beat:
enabled: true
serviceAccount:
# Specifies whether a service account should be created
create: false