diff --git a/helm-chart/banzai-floyds/templates/cronjob.yaml b/helm-chart/banzai-floyds/templates/cronjob.yaml index c79aad1..164753e 100644 --- a/helm-chart/banzai-floyds/templates/cronjob.yaml +++ b/helm-chart/banzai-floyds/templates/cronjob.yaml @@ -7,19 +7,18 @@ metadata: labels: {{ include "banzai-floyds.labels" $root | indent 4 }} spec: - selector: - matchLabels: - app.kubernetes.io/name: {{ include "banzai-floyds.name" $root }} - app.kubernetes.io/instance: {{ $root.Release.Name }} - template: + schedule: "{{ .schedule }}" + jobTemplate: metadata: labels: app.kubernetes.io/name: {{ include "banzai-floyds.name" $root }} app.kubernetes.io/instance: "{{ $root.Release.Name }}" - schedule: "{{ .schedule }}" - jobTemplate: spec: template: + metadata: + labels: + app.kubernetes.io/name: {{ include "banzai-floyds.name" $root }} + app.kubernetes.io/instance: "{{ $root.Release.Name }}" spec: containers: - name: "banzai-floyds-stack-flats-{{ .site }}"