Skip to content

Commit

Permalink
Minor fixes to cronjob deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
cmccully committed Mar 21, 2024
1 parent efb7608 commit a88166a
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions helm-chart/banzai-floyds/templates/cronjob.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
Expand Down

0 comments on commit a88166a

Please sign in to comment.