Skip to content

Commit

Permalink
(fix) add recurring-job source label to PVCs with custom storage clas…
Browse files Browse the repository at this point in the history
…s to allow sync for longhorn jobs

Signed-off-by: Aisling McGinn <[email protected]>
  • Loading branch information
aisling136 committed Apr 25, 2024
1 parent 3176d6c commit 47f5a7d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cluster/templates/pvc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ templates:
{{- if $pvc.storageClassName }}
labels:
recurring-job-group.longhorn.io/{{ $pvc.storageClassName }}: enabled
recurring-job.longhorn.io/source: enabled
{{- end }}
spec:
accessModes:
Expand Down

0 comments on commit 47f5a7d

Please sign in to comment.