0.5.2: api-approved annotation on CSI snapshot CRDs + spec.name on RecurringJobs (validator fixes)
This commit is contained in:
@@ -35,6 +35,9 @@ metadata:
|
||||
name: tenants-snapshot-hourly
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
# Longhorn's admission webhook requires spec.name == metadata.name.
|
||||
# An empty spec.name fails with "invalid job {Name: ...}".
|
||||
name: tenants-snapshot-hourly
|
||||
cron: "0 * * * *"
|
||||
task: snapshot
|
||||
groups: [default]
|
||||
@@ -48,6 +51,7 @@ metadata:
|
||||
name: tenants-backup-daily
|
||||
namespace: {{ .Values.namespace }}
|
||||
spec:
|
||||
name: tenants-backup-daily
|
||||
cron: "0 3 * * *"
|
||||
task: backup
|
||||
groups: [default]
|
||||
|
||||
Reference in New Issue
Block a user