update snapshot controller
This commit is contained in:
@@ -40,4 +40,4 @@ sources:
|
|||||||
- https://github.com/snapshot-controller/snapshot-controller-helm-chart
|
- https://github.com/snapshot-controller/snapshot-controller-helm-chart
|
||||||
- https://github.com/truecharts/charts/tree/master/charts/system/snapshot-controller
|
- https://github.com/truecharts/charts/tree/master/charts/system/snapshot-controller
|
||||||
type: application
|
type: application
|
||||||
version: 3.7.1
|
version: 3.7.2
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/814"
|
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/1150"
|
||||||
controller-gen.kubebuilder.io/version: v0.15.0
|
controller-gen.kubebuilder.io/version: v0.15.0
|
||||||
name: volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io
|
name: volumegroupsnapshotclasses.groupsnapshot.storage.k8s.io
|
||||||
spec:
|
spec:
|
||||||
@@ -31,7 +31,7 @@ spec:
|
|||||||
- jsonPath: .metadata.creationTimestamp
|
- jsonPath: .metadata.creationTimestamp
|
||||||
name: Age
|
name: Age
|
||||||
type: date
|
type: date
|
||||||
name: v1alpha1
|
name: v1beta1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: |-
|
description: |-
|
||||||
|
|||||||
+31
-42
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/1068"
|
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/1150"
|
||||||
controller-gen.kubebuilder.io/version: v0.15.0
|
controller-gen.kubebuilder.io/version: v0.15.0
|
||||||
name: volumegroupsnapshotcontents.groupsnapshot.storage.k8s.io
|
name: volumegroupsnapshotcontents.groupsnapshot.storage.k8s.io
|
||||||
spec:
|
spec:
|
||||||
@@ -53,7 +53,7 @@ spec:
|
|||||||
- jsonPath: .metadata.creationTimestamp
|
- jsonPath: .metadata.creationTimestamp
|
||||||
name: Age
|
name: Age
|
||||||
type: date
|
type: date
|
||||||
name: v1alpha1
|
name: v1beta1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: |-
|
description: |-
|
||||||
@@ -237,8 +237,6 @@ spec:
|
|||||||
- message: both volumeGroupSnapshotRef.name and volumeGroupSnapshotRef.namespace
|
- message: both volumeGroupSnapshotRef.name and volumeGroupSnapshotRef.namespace
|
||||||
must be set
|
must be set
|
||||||
rule: has(self.name) && has(self.__namespace__)
|
rule: has(self.name) && has(self.__namespace__)
|
||||||
- message: volumeGroupSnapshotRef is immutable
|
|
||||||
rule: self == oldSelf
|
|
||||||
required:
|
required:
|
||||||
- deletionPolicy
|
- deletionPolicy
|
||||||
- driver
|
- driver
|
||||||
@@ -257,8 +255,9 @@ spec:
|
|||||||
The format of this field is a Unix nanoseconds time encoded as an int64.
|
The format of this field is a Unix nanoseconds time encoded as an int64.
|
||||||
On Unix, the command date +%s%N returns the current time in nanoseconds
|
On Unix, the command date +%s%N returns the current time in nanoseconds
|
||||||
since 1970-01-01 00:00:00 UTC.
|
since 1970-01-01 00:00:00 UTC.
|
||||||
format: int64
|
This field is the source for the CreationTime field in VolumeGroupSnapshotStatus
|
||||||
type: integer
|
format: date-time
|
||||||
|
type: string
|
||||||
error:
|
error:
|
||||||
description: |-
|
description: |-
|
||||||
Error is the last observed error during group snapshot creation, if any.
|
Error is the last observed error during group snapshot creation, if any.
|
||||||
@@ -276,42 +275,6 @@ spec:
|
|||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
pvVolumeSnapshotContentList:
|
|
||||||
description: |-
|
|
||||||
PVVolumeSnapshotContentList is the list of pairs of PV and
|
|
||||||
VolumeSnapshotContent for this group snapshot
|
|
||||||
The maximum number of allowed snapshots in the group is 100.
|
|
||||||
items:
|
|
||||||
description: |-
|
|
||||||
PVVolumeSnapshotContentPair represent a pair of PV names and
|
|
||||||
VolumeSnapshotContent names
|
|
||||||
properties:
|
|
||||||
persistentVolumeRef:
|
|
||||||
description: PersistentVolumeRef is a reference to the persistent
|
|
||||||
volume resource
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
description: |-
|
|
||||||
Name of the referent.
|
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
||||||
TODO: Add other useful fields. apiVersion, kind, uid?
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
volumeSnapshotContentRef:
|
|
||||||
description: VolumeSnapshotContentRef is a reference to the
|
|
||||||
volume snapshot content resource
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
description: |-
|
|
||||||
Name of the referent.
|
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
||||||
TODO: Add other useful fields. apiVersion, kind, uid?
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
readyToUse:
|
readyToUse:
|
||||||
description: |-
|
description: |-
|
||||||
ReadyToUse indicates if all the individual snapshots in the group are ready to be
|
ReadyToUse indicates if all the individual snapshots in the group are ready to be
|
||||||
@@ -325,6 +288,32 @@ spec:
|
|||||||
If a storage system does not provide such an id, the
|
If a storage system does not provide such an id, the
|
||||||
CSI driver can choose to return the VolumeGroupSnapshot name.
|
CSI driver can choose to return the VolumeGroupSnapshot name.
|
||||||
type: string
|
type: string
|
||||||
|
volumeSnapshotHandlePairList:
|
||||||
|
description: |-
|
||||||
|
VolumeSnapshotHandlePairList is a list of CSI "volume_id" and "snapshot_id"
|
||||||
|
pair returned by the CSI driver to identify snapshots and their source volumes
|
||||||
|
on the storage system.
|
||||||
|
items:
|
||||||
|
description: VolumeSnapshotHandlePair defines a pair of a source
|
||||||
|
volume handle and a snapshot handle
|
||||||
|
properties:
|
||||||
|
snapshotHandle:
|
||||||
|
description: |-
|
||||||
|
SnapshotHandle is a unique id returned by the CSI driver to identify a volume
|
||||||
|
snapshot on the storage system
|
||||||
|
Required.
|
||||||
|
type: string
|
||||||
|
volumeHandle:
|
||||||
|
description: |-
|
||||||
|
VolumeHandle is a unique id returned by the CSI driver to identify a volume
|
||||||
|
on the storage system
|
||||||
|
Required.
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- snapshotHandle
|
||||||
|
- volumeHandle
|
||||||
|
type: object
|
||||||
|
type: array
|
||||||
type: object
|
type: object
|
||||||
required:
|
required:
|
||||||
- spec
|
- spec
|
||||||
|
|||||||
+3
-37
@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
|
|||||||
kind: CustomResourceDefinition
|
kind: CustomResourceDefinition
|
||||||
metadata:
|
metadata:
|
||||||
annotations:
|
annotations:
|
||||||
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/1068"
|
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/1150"
|
||||||
controller-gen.kubebuilder.io/version: v0.15.0
|
controller-gen.kubebuilder.io/version: v0.15.0
|
||||||
name: volumegroupsnapshots.groupsnapshot.storage.k8s.io
|
name: volumegroupsnapshots.groupsnapshot.storage.k8s.io
|
||||||
spec:
|
spec:
|
||||||
@@ -43,7 +43,7 @@ spec:
|
|||||||
- jsonPath: .metadata.creationTimestamp
|
- jsonPath: .metadata.creationTimestamp
|
||||||
name: Age
|
name: Age
|
||||||
type: date
|
type: date
|
||||||
name: v1alpha1
|
name: v1beta1
|
||||||
schema:
|
schema:
|
||||||
openAPIV3Schema:
|
openAPIV3Schema:
|
||||||
description: |-
|
description: |-
|
||||||
@@ -198,6 +198,7 @@ spec:
|
|||||||
The format of this field is a Unix nanoseconds time encoded as an int64.
|
The format of this field is a Unix nanoseconds time encoded as an int64.
|
||||||
On Unix, the command date +%s%N returns the current time in nanoseconds
|
On Unix, the command date +%s%N returns the current time in nanoseconds
|
||||||
since 1970-01-01 00:00:00 UTC.
|
since 1970-01-01 00:00:00 UTC.
|
||||||
|
This field is updated based on the CreationTime field in VolumeGroupSnapshotContentStatus
|
||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
error:
|
error:
|
||||||
@@ -221,41 +222,6 @@ spec:
|
|||||||
format: date-time
|
format: date-time
|
||||||
type: string
|
type: string
|
||||||
type: object
|
type: object
|
||||||
pvcVolumeSnapshotRefList:
|
|
||||||
description: |-
|
|
||||||
VolumeSnapshotRefList is the list of PVC and VolumeSnapshot pairs that
|
|
||||||
is part of this group snapshot.
|
|
||||||
The maximum number of allowed snapshots in the group is 100.
|
|
||||||
items:
|
|
||||||
description: PVCVolumeSnapshotPair defines a pair of a PVC reference
|
|
||||||
and a Volume Snapshot Reference
|
|
||||||
properties:
|
|
||||||
persistentVolumeClaimRef:
|
|
||||||
description: PersistentVolumeClaimRef is a reference to the
|
|
||||||
PVC this pair is referring to
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
description: |-
|
|
||||||
Name of the referent.
|
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
||||||
TODO: Add other useful fields. apiVersion, kind, uid?
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
volumeSnapshotRef:
|
|
||||||
description: VolumeSnapshotRef is a reference to the VolumeSnapshot
|
|
||||||
this pair is referring to
|
|
||||||
properties:
|
|
||||||
name:
|
|
||||||
description: |-
|
|
||||||
Name of the referent.
|
|
||||||
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
|
|
||||||
TODO: Add other useful fields. apiVersion, kind, uid?
|
|
||||||
type: string
|
|
||||||
type: object
|
|
||||||
x-kubernetes-map-type: atomic
|
|
||||||
type: object
|
|
||||||
type: array
|
|
||||||
readyToUse:
|
readyToUse:
|
||||||
description: |-
|
description: |-
|
||||||
ReadyToUse indicates if all the individual snapshots in the group are ready
|
ReadyToUse indicates if all the individual snapshots in the group are ready
|
||||||
|
|||||||
Reference in New Issue
Block a user