diff --git a/templates/beat/deployment.yaml b/templates/beat/deployment.yaml index 44e958a..60e1071 100644 --- a/templates/beat/deployment.yaml +++ b/templates/beat/deployment.yaml @@ -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 }} \ No newline at end of file diff --git a/values.yaml b/values.yaml index a9bb2de..71c3b0b 100644 --- a/values.yaml +++ b/values.yaml @@ -100,6 +100,9 @@ worker: tolerations: [] affinity: {} +beat: + enabled: true + serviceAccount: # Specifies whether a service account should be created create: false