Skip to content

Commit cdde5ad

Browse files
committed
Add csi-snapshotter v6.2 manifests
1 parent 3b21df9 commit cdde5ad

File tree

10 files changed

+991
-1
lines changed

10 files changed

+991
-1
lines changed

addons/aws-ebs-csi-driver/download.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ DOWNLOAD_DIRECTORY="$DOWNLOAD_VERSION"
88
curl -Ls "https://github.com/kubernetes-sigs/aws-ebs-csi-driver/archive/refs/tags/$DOWNLOAD_VERSION.tar.gz" -o $DOWNLOAD_DIRECTORY.tar.gz
99
mkdir -p $DOWNLOAD_DIRECTORY
1010
tar -xzf $DOWNLOAD_VERSION.tar.gz --include "**/deploy/kubernetes" --directory $DOWNLOAD_DIRECTORY --strip-components 3
11-
rm -f argo-$DOWNLOAD_VERSION.tar.gz
11+
rm -f $DOWNLOAD_VERSION.tar.gz

addons/csi-snapshotter/download.sh

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
#!/usr/bin/env bash
2+
3+
set -euf -o pipefail
4+
5+
DOWNLOAD_VERSION="v6.2.0"
6+
DOWNLOAD_DIRECTORY="$DOWNLOAD_VERSION"
7+
8+
curl -Ls "https://github.com/kubernetes-csi/external-snapshotter/archive/refs/tags/$DOWNLOAD_VERSION.tar.gz" -o $DOWNLOAD_DIRECTORY.tar.gz
9+
mkdir -p $DOWNLOAD_DIRECTORY
10+
tar -xzf $DOWNLOAD_VERSION.tar.gz --include "**/deploy/kubernetes/snapshot-controller" --include "**/client/config/crd" --directory $DOWNLOAD_DIRECTORY --strip-components 3
11+
rm -f $DOWNLOAD_VERSION.tar.gz
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
apiVersion: kustomize.config.k8s.io/v1beta1
2+
kind: Kustomization
3+
4+
resources:
5+
- volumesnapshotclasses.yaml
6+
- volumesnapshotcontents.yaml
7+
- volumesnapshots.yaml
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,134 @@
1+
---
2+
apiVersion: apiextensions.k8s.io/v1
3+
kind: CustomResourceDefinition
4+
metadata:
5+
annotations:
6+
controller-gen.kubebuilder.io/version: v0.8.0
7+
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/665"
8+
creationTimestamp: null
9+
name: volumesnapshotclasses.snapshot.storage.k8s.io
10+
spec:
11+
group: snapshot.storage.k8s.io
12+
names:
13+
kind: VolumeSnapshotClass
14+
listKind: VolumeSnapshotClassList
15+
plural: volumesnapshotclasses
16+
shortNames:
17+
- vsclass
18+
- vsclasses
19+
singular: volumesnapshotclass
20+
scope: Cluster
21+
versions:
22+
- additionalPrinterColumns:
23+
- jsonPath: .driver
24+
name: Driver
25+
type: string
26+
- description: Determines whether a VolumeSnapshotContent created through the
27+
VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
28+
jsonPath: .deletionPolicy
29+
name: DeletionPolicy
30+
type: string
31+
- jsonPath: .metadata.creationTimestamp
32+
name: Age
33+
type: date
34+
name: v1
35+
schema:
36+
openAPIV3Schema:
37+
description: VolumeSnapshotClass specifies parameters that a underlying storage
38+
system uses when creating a volume snapshot. A specific VolumeSnapshotClass
39+
is used by specifying its name in a VolumeSnapshot object. VolumeSnapshotClasses
40+
are non-namespaced
41+
properties:
42+
apiVersion:
43+
description: 'APIVersion defines the versioned schema of this representation
44+
of an object. Servers should convert recognized schemas to the latest
45+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
46+
type: string
47+
deletionPolicy:
48+
description: deletionPolicy determines whether a VolumeSnapshotContent
49+
created through the VolumeSnapshotClass should be deleted when its bound
50+
VolumeSnapshot is deleted. Supported values are "Retain" and "Delete".
51+
"Retain" means that the VolumeSnapshotContent and its physical snapshot
52+
on underlying storage system are kept. "Delete" means that the VolumeSnapshotContent
53+
and its physical snapshot on underlying storage system are deleted.
54+
Required.
55+
enum:
56+
- Delete
57+
- Retain
58+
type: string
59+
driver:
60+
description: driver is the name of the storage driver that handles this
61+
VolumeSnapshotClass. Required.
62+
type: string
63+
kind:
64+
description: 'Kind is a string value representing the REST resource this
65+
object represents. Servers may infer this from the endpoint the client
66+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
67+
type: string
68+
parameters:
69+
additionalProperties:
70+
type: string
71+
description: parameters is a key-value map with storage driver specific
72+
parameters for creating snapshots. These values are opaque to Kubernetes.
73+
type: object
74+
required:
75+
- deletionPolicy
76+
- driver
77+
type: object
78+
served: true
79+
storage: true
80+
subresources: {}
81+
- additionalPrinterColumns:
82+
- jsonPath: .driver
83+
name: Driver
84+
type: string
85+
- description: Determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
86+
jsonPath: .deletionPolicy
87+
name: DeletionPolicy
88+
type: string
89+
- jsonPath: .metadata.creationTimestamp
90+
name: Age
91+
type: date
92+
name: v1beta1
93+
# This indicates the v1beta1 version of the custom resource is deprecated.
94+
# API requests to this version receive a warning in the server response.
95+
deprecated: true
96+
# This overrides the default warning returned to clients making v1beta1 API requests.
97+
deprecationWarning: "snapshot.storage.k8s.io/v1beta1 VolumeSnapshotClass is deprecated; use snapshot.storage.k8s.io/v1 VolumeSnapshotClass"
98+
schema:
99+
openAPIV3Schema:
100+
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
101+
properties:
102+
apiVersion:
103+
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'
104+
type: string
105+
deletionPolicy:
106+
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.
107+
enum:
108+
- Delete
109+
- Retain
110+
type: string
111+
driver:
112+
description: driver is the name of the storage driver that handles this VolumeSnapshotClass. Required.
113+
type: string
114+
kind:
115+
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'
116+
type: string
117+
parameters:
118+
additionalProperties:
119+
type: string
120+
description: parameters is a key-value map with storage driver specific parameters for creating snapshots. These values are opaque to Kubernetes.
121+
type: object
122+
required:
123+
- deletionPolicy
124+
- driver
125+
type: object
126+
served: false
127+
storage: false
128+
subresources: {}
129+
status:
130+
acceptedNames:
131+
kind: ""
132+
plural: ""
133+
conditions: []
134+
storedVersions: []

0 commit comments

Comments
 (0)