You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- description: Determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
28
+
- description: Determines whether a VolumeSnapshotContent created through the
29
+
VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
31
30
jsonPath: .deletionPolicy
32
31
name: DeletionPolicy
33
32
type: string
@@ -37,27 +36,52 @@ spec:
37
36
name: v1
38
37
schema:
39
38
openAPIV3Schema:
40
-
description: VolumeSnapshotClass specifies parameters that a underlying storage system uses when creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its name in a VolumeSnapshot object. VolumeSnapshotClasses are non-namespaced
39
+
description: |-
40
+
VolumeSnapshotClass specifies parameters that a underlying storage system uses when
41
+
creating a volume snapshot. A specific VolumeSnapshotClass is used by specifying its
42
+
name in a VolumeSnapshot object.
43
+
VolumeSnapshotClasses are non-namespaced
41
44
properties:
42
45
apiVersion:
43
-
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
46
+
description: |-
47
+
APIVersion defines the versioned schema of this representation of an object.
48
+
Servers should convert recognized schemas to the latest internal value, and
49
+
may reject unrecognized values.
50
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
44
51
type: string
45
52
deletionPolicy:
46
-
description: deletionPolicy determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted. Supported values are "Retain" and "Delete". "Retain" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are kept. "Delete" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are deleted. Required.
53
+
description: |-
54
+
deletionPolicy determines whether a VolumeSnapshotContent created through
55
+
the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
56
+
Supported values are "Retain" and "Delete".
57
+
"Retain" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are kept.
58
+
"Delete" means that the VolumeSnapshotContent and its physical snapshot on underlying storage system are deleted.
59
+
Required.
47
60
enum:
48
61
- Delete
49
62
- Retain
50
63
type: string
51
64
driver:
52
-
description: driver is the name of the storage driver that handles this VolumeSnapshotClass. Required.
65
+
description: |-
66
+
driver is the name of the storage driver that handles this VolumeSnapshotClass.
67
+
Required.
53
68
type: string
54
69
kind:
55
-
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
70
+
description: |-
71
+
Kind is a string value representing the REST resource this object represents.
72
+
Servers may infer this from the endpoint the client submits requests to.
73
+
Cannot be updated.
74
+
In CamelCase.
75
+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
56
76
type: string
77
+
metadata:
78
+
type: object
57
79
parameters:
58
80
additionalProperties:
59
81
type: string
60
-
description: parameters is a key-value map with storage driver specific parameters for creating snapshots. These values are opaque to Kubernetes.
82
+
description: |-
83
+
parameters is a key-value map with storage driver specific parameters for creating snapshots.
84
+
These values are opaque to Kubernetes.
61
85
type: object
62
86
required:
63
87
- deletionPolicy
@@ -111,21 +135,9 @@ spec:
111
135
- deletionPolicy
112
136
- driver
113
137
type: object
114
-
served: true
115
-
storage: false
116
-
subresources: {}
117
-
- name: v1alpha1
118
138
served: false
119
139
storage: false
120
-
# This indicates the v1alpha1 version of the custom resource is deprecated.
121
-
# API requests to this version receive a warning in the server response.
122
-
deprecated: true
123
-
# This overrides the default warning returned to clients making v1alpha1 API requests.
124
-
deprecationWarning: "snapshot.storage.k8s.io/v1alpha1 VolumeSnapshot is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshot"
0 commit comments