Skip to content

Commit ef1ca5b

Browse files
fix: does not use selectorLabels for Cronjob
1 parent db45143 commit ef1ca5b

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

charts/slo-reporting/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ apiVersion: v2
22
name: slo-reporting
33
description: Excel compatible SLO reporting tool for Prometheus / Pyrra.
44
type: application
5-
version: "0.3.31"
6-
appVersion: "0.3.31"
5+
version: "0.3.32"
6+
appVersion: "0.3.32"
77
#----
88
keywords:
99
- colenio

charts/slo-reporting/templates/cronjob.yaml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ metadata:
66
name: {{ include "slo-reporting.fullname" $ }}-update
77
labels:
88
{{- include "slo-reporting.labels" $ | nindent 4 }}
9+
app.kubernetes.io/name: {{ .Release.Name }}-update
10+
app.kubernetes.io/instance: {{ .Release.Name }}-update
911
spec:
1012
concurrencyPolicy: Forbid
1113
schedule: "{{ .schedule }}"
@@ -14,7 +16,8 @@ spec:
1416
template:
1517
metadata:
1618
labels:
17-
{{- include "slo-reporting.labels" $ | nindent 12 }}
19+
app.kubernetes.io/name: {{ .Release.Name }}-update
20+
app.kubernetes.io/instance: {{ .Release.Name }}-update
1821
spec:
1922
restartPolicy: Never
2023
containers:
@@ -26,4 +29,4 @@ spec:
2629
- 'POST'
2730
- 'http://{{ include "slo-reporting.fullname" $ }}:{{ $.Values.service.port }}/api/slo/_update'
2831
{{- end }}
29-
{{- end }}
32+
{{- end }}

0 commit comments

Comments
 (0)