0.5.2: api-approved annotation on CSI snapshot CRDs + spec.name on RecurringJobs (validator fixes)
This commit is contained in:
@@ -30,6 +30,7 @@ metadata:
|
||||
name: volumesnapshotclasses.snapshot.storage.k8s.io
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: ServerSideApply=true
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/814"
|
||||
spec:
|
||||
group: snapshot.storage.k8s.io
|
||||
names:
|
||||
@@ -86,6 +87,7 @@ metadata:
|
||||
name: volumesnapshotcontents.snapshot.storage.k8s.io
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: ServerSideApply=true
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/814"
|
||||
spec:
|
||||
group: snapshot.storage.k8s.io
|
||||
names:
|
||||
@@ -138,6 +140,7 @@ metadata:
|
||||
name: volumesnapshots.snapshot.storage.k8s.io
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-options: ServerSideApply=true
|
||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/814"
|
||||
spec:
|
||||
group: snapshot.storage.k8s.io
|
||||
names:
|
||||
|
||||
@@ -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