Skip to content

Commit 4335f27

Browse files
authored
fix(nextcloud): Add selector labels to cronjob template #812
fix #801 Signed-off-by: WrenIX <[email protected]>
1 parent 5f6b582 commit 4335f27

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

charts/nextcloud/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: nextcloud
3-
version: 8.5.7
3+
version: 8.5.8
44
# renovate: image=docker.io/library/nextcloud
55
appVersion: 32.0.2
66
description: A file sharing server that puts the control and security of your own data back into your hands.

charts/nextcloud/templates/cronjob.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ kind: CronJob
66
metadata:
77
name: {{ template "nextcloud.fullname" $ }}-cron
88
labels:
9-
{{- include "nextcloud.labels" ( dict "component" "cron" "rootContext" $ ) | nindent 4 }}
9+
{{- include "nextcloud.labels" ( dict "component" "cronjob" "rootContext" $ ) | nindent 4 }}
1010
{{- with .labels }}
1111
{{- toYaml . | nindent 4 }}
1212
{{- end }}
@@ -22,7 +22,7 @@ spec:
2222
jobTemplate:
2323
metadata:
2424
labels:
25-
{{- include "nextcloud.selectorLabels" ( dict "component" "cron" "rootContext" $ ) | nindent 8 }}
25+
{{- include "nextcloud.selectorLabels" ( dict "component" "cronjob" "rootContext" $ ) | nindent 8 }}
2626
{{- with $.Values.podLabels }}
2727
{{- toYaml . | nindent 8 }}
2828
{{- end }}
@@ -31,6 +31,7 @@ spec:
3131
template:
3232
metadata:
3333
labels:
34+
{{- include "nextcloud.selectorLabels" ( dict "component" "cronjob" "rootContext" $ ) | nindent 10 }}
3435
{{- with (mergeOverwrite (dict) $.Values.podLabels .podLabels) }}
3536
{{- toYaml . | nindent 12 }}
3637
{{- end }}

0 commit comments

Comments
 (0)