Skip to content

Commit d7ecaa6

Browse files
committed
feat(deploy): upgrade csi sidecars
- update sig-storage/csi-node-driver-registrar image to v2.8.0 - update sig-storage/csi-provisioner to v3.5.0 - update sig-storage/csi-node-driver-registrar to v4.3.0 - update sig-storage/csi-snapshotter to v6.2.2 - update sig-storage/snapshot-controller to v6.2.2 - update sig-storage/csi-resizer to v1.8.0 - update CRDs (no api change) - use spec.serviceAccountName instead of spec.serviceAccount - use registry.k8s.io instead of k8s.gcr.io Signed-off-by: Niladri Halder <niladri.halder26@gmail.com>
1 parent d24431f commit d7ecaa6

File tree

11 files changed

+1917
-1308
lines changed

11 files changed

+1917
-1308
lines changed

deploy/cstor-operator.yaml

Lines changed: 790 additions & 622 deletions
Large diffs are not rendered by default.

deploy/helm/charts/Chart.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ description: CStor-Operator helm chart for Kubernetes
44
type: application
55
# This is the chart version. This version number should be incremented each time you make changes
66
# to the chart and its templates, including the app version.
7-
version: 3.4.0
7+
version: 3.5.0
88
# This is the version number of the application being deployed. This version number should be
99
# incremented each time you make changes to the application.
10-
appVersion: 3.4.0
10+
appVersion: 3.5.0
1111
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
1212
home: http://www.openebs.io/
1313
keywords:

deploy/helm/charts/README.md

Lines changed: 22 additions & 22 deletions
Large diffs are not rendered by default.

deploy/helm/charts/crds/volumesnapshot.yaml

Lines changed: 113 additions & 27 deletions
Large diffs are not rendered by default.

deploy/helm/charts/crds/volumesnapshotclass.yaml

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ apiVersion: apiextensions.k8s.io/v1
33
kind: CustomResourceDefinition
44
metadata:
55
annotations:
6-
controller-gen.kubebuilder.io/version: v0.4.0
7-
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/419"
6+
controller-gen.kubebuilder.io/version: v0.11.3
7+
api-approved.kubernetes.io: "https://github.com/kubernetes-csi/external-snapshotter/pull/814"
88
creationTimestamp: null
99
name: volumesnapshotclasses.snapshot.storage.k8s.io
1010
spec:
@@ -13,14 +13,18 @@ spec:
1313
kind: VolumeSnapshotClass
1414
listKind: VolumeSnapshotClassList
1515
plural: volumesnapshotclasses
16+
shortNames:
17+
- vsclass
18+
- vsclasses
1619
singular: volumesnapshotclass
1720
scope: Cluster
1821
versions:
1922
- additionalPrinterColumns:
2023
- jsonPath: .driver
2124
name: Driver
2225
type: string
23-
- description: Determines whether a VolumeSnapshotContent created through the VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
26+
- description: Determines whether a VolumeSnapshotContent created through the
27+
VolumeSnapshotClass should be deleted when its bound VolumeSnapshot is deleted.
2428
jsonPath: .deletionPolicy
2529
name: DeletionPolicy
2630
type: string
@@ -30,34 +34,49 @@ spec:
3034
name: v1
3135
schema:
3236
openAPIV3Schema:
33-
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
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
3441
properties:
3542
apiVersion:
36-
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'
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'
3746
type: string
3847
deletionPolicy:
39-
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.
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.
4055
enum:
4156
- Delete
4257
- Retain
4358
type: string
4459
driver:
45-
description: driver is the name of the storage driver that handles this VolumeSnapshotClass. Required.
60+
description: driver is the name of the storage driver that handles this
61+
VolumeSnapshotClass. Required.
4662
type: string
4763
kind:
48-
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'
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'
4967
type: string
5068
parameters:
5169
additionalProperties:
5270
type: string
53-
description: parameters is a key-value map with storage driver specific parameters for creating snapshots. These values are opaque to Kubernetes.
71+
description: parameters is a key-value map with storage driver specific
72+
parameters for creating snapshots. These values are opaque to Kubernetes.
5473
type: object
5574
required:
5675
- deletionPolicy
5776
- driver
5877
type: object
5978
served: true
60-
storage: false
79+
storage: true
6180
subresources: {}
6281
- additionalPrinterColumns:
6382
- jsonPath: .driver
@@ -71,6 +90,11 @@ spec:
7190
name: Age
7291
type: date
7392
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"
7498
schema:
7599
openAPIV3Schema:
76100
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
@@ -99,8 +123,8 @@ spec:
99123
- deletionPolicy
100124
- driver
101125
type: object
102-
served: true
103-
storage: true
126+
served: false
127+
storage: false
104128
subresources: {}
105129
status:
106130
acceptedNames:

0 commit comments

Comments
 (0)