Skip to content

Commit 8983164

Browse files
authored
chore(chart): make installation of volumesnapshot CRDs optional (#457)
Signed-off-by: Niladri Halder <[email protected]>
1 parent adce26b commit 8983164

18 files changed

+3061
-2859
lines changed

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.5.0
7+
version: 3.6.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.5.0
10+
appVersion: 3.6.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: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name
109109
| admissionServer.image.pullPolicy | string | `"IfNotPresent"` | Admission webhook image pull policy |
110110
| admissionServer.image.registry | string | `nil` | Admission webhook image registry |
111111
| admissionServer.image.repository | string | `"openebs/cstor-webhook"` | Admission webhook image repo |
112-
| admissionServer.image.tag | string | `"3.5.0"` | Admission webhook image tag |
112+
| admissionServer.image.tag | string | `"3.6.0"` | Admission webhook image tag |
113113
| admissionServer.nodeSelector | object | `{}` | Admission webhook pod node selector |
114114
| admissionServer.podAnnotations | object | `{}` | Admission webhook pod annotations |
115115
| admissionServer.resources | object | `{}` | Admission webhook pod resources |
@@ -175,19 +175,19 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name
175175
| cspcOperator.componentName | string | `"cspc-operator"` | CSPC operator component name |
176176
| cspcOperator.cstorPool.image.registry | string | `nil` | CStor pool image registry |
177177
| cspcOperator.cstorPool.image.repository | string | `"openebs/cstor-pool"` | CStor pool image repository|
178-
| cspcOperator.cstorPool.image.tag | string | `"3.5.0"` | CStor pool image tag |
178+
| cspcOperator.cstorPool.image.tag | string | `"3.6.0"` | CStor pool image tag |
179179
| cspcOperator.cstorPoolExporter.image.registry | string | `nil` | CStor pool exporter image registry |
180180
| cspcOperator.cstorPoolExporter.image.repository | string | `"openebs/m-exporter"` | CStor pool exporter image repository |
181-
| cspcOperator.cstorPoolExporter.image.tag | string | `"3.5.0"` | CStor pool exporter image tag |
181+
| cspcOperator.cstorPoolExporter.image.tag | string | `"3.6.0"` | CStor pool exporter image tag |
182182
| cspcOperator.image.pullPolicy | string | `"IfNotPresent"` | CSPC operator image pull policy |
183183
| cspcOperator.image.registry | string | `nil` | CSPC operator image registry |
184184
| cspcOperator.image.repository | string | `"openebs/cspc-operator"` | CSPC operator image repository |
185-
| cspcOperator.image.tag | string | `"3.5.0"` | CSPC operator image tag |
185+
| cspcOperator.image.tag | string | `"3.6.0"` | CSPC operator image tag |
186186
| cspcOperator.nodeSelector | object | `{}` | CSPC operator pod nodeSelector|
187187
| cspcOperator.podAnnotations | object | `{}` | CSPC operator pod annotations |
188188
| cspcOperator.poolManager.image.registry | string | `nil` | CStor Pool Manager image registry |
189189
| cspcOperator.poolManager.image.repository | string | `"openebs/cstor-pool-manager"` | CStor Pool Manager image repository |
190-
| cspcOperator.poolManager.image.tag | string | `"3.5.0"` | CStor Pool Manager image tag |
190+
| cspcOperator.poolManager.image.tag | string | `"3.6.0"` | CStor Pool Manager image tag |
191191
| cspcOperator.resources | object | `{}` | CSPC operator pod resources |
192192
| cspcOperator.resyncInterval | string | `"30"` | CSPC operator resync interval |
193193
| cspcOperator.securityContext | object | `{}` | CSPC operator security context |
@@ -197,15 +197,15 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name
197197
| cstorCSIPlugin.image.pullPolicy | string | `"IfNotPresent"` | CStor CSI driver image pull policy |
198198
| cstorCSIPlugin.image.registry | string | `nil` | CStor CSI driver image registry |
199199
| cstorCSIPlugin.image.repository | string | `"openebs/cstor-csi-driver"` | CStor CSI driver image repository |
200-
| cstorCSIPlugin.image.tag | string | `"3.5.0"` | CStor CSI driver image tag |
200+
| cstorCSIPlugin.image.tag | string | `"3.6.0"` | CStor CSI driver image tag |
201201
| cstorCSIPlugin.name | string | `"cstor-csi-plugin"` | CStor CSI driver container name |
202202
| cstorCSIPlugin.remount | string | `"true"` | Enable/disable auto-remount when volume recovers from read-only state |
203203
| cvcOperator.annotations | object | `{}` | CVC operator annotations |
204204
| cvcOperator.componentName | string | `"cvc-operator"` | CVC operator component name |
205205
| cvcOperator.image.pullPolicy | string | `"IfNotPresent"` | CVC operator image pull policy |
206206
| cvcOperator.image.registry | string | `nil` | CVC operator image registry |
207207
| cvcOperator.image.repository | string | `"openebs/cvc-operator"` | CVC operator image repository |
208-
| cvcOperator.image.tag | string | `"3.5.0"` | CVC operator image tag |
208+
| cvcOperator.image.tag | string | `"3.6.0"` | CVC operator image tag |
209209
| cvcOperator.logLevel | string | `"2"` | Log level for CVC operator container (1 = least verbose, 5 = most verbose) |
210210
| cvcOperator.nodeSelector | object | `{}` | CVC operator pod nodeSelector |
211211
| cvcOperator.podAnnotations | object | `{}` | CVC operator pod annotations |
@@ -214,14 +214,14 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name
214214
| cvcOperator.securityContext | object | `{}` | CVC operator security context |
215215
| cvcOperator.target.image.registry | string | `nil` | Volume Target image registry |
216216
| cvcOperator.target.image.repository | string | `"openebs/cstor-istgt"` | Volume Target image repository |
217-
| cvcOperator.target.image.tag | string | `"3.5.0"` | Volume Target image tag |
217+
| cvcOperator.target.image.tag | string | `"3.6.0"` | Volume Target image tag |
218218
| cvcOperator.tolerations | list | `[]` | CVC operator pod tolerations |
219219
| cvcOperator.volumeExporter.image.registry | string | `nil` | Volume exporter image registry |
220220
| cvcOperator.volumeExporter.image.repository | string | `"openebs/m-exporter"` | Volume exporter image repository |
221-
| cvcOperator.volumeExporter.image.tag | string | `"3.5.0"` | Volume exporter image tag |
221+
| cvcOperator.volumeExporter.image.tag | string | `"3.6.0"` | Volume exporter image tag |
222222
| cvcOperator.volumeMgmt.image.registry | string | `nil` | Volume mgmt image registry |
223223
| cvcOperator.volumeMgmt.image.repository | string | `"openebs/cstor-volume-manager"` | Volume mgmt image repository |
224-
| cvcOperator.volumeMgmt.image.tag | string | `"3.5.0"` | Volume mgmt image tag|
224+
| cvcOperator.volumeMgmt.image.tag | string | `"3.6.0"` | Volume mgmt image tag|
225225
| cvcOperator.baseDir | string | `"/var/openebs"` | CVC operator base directory for openebs on host path |
226226
| imagePullSecrets | string | `nil` | Image registry pull secrets |
227227
| openebsNDM.enabled | bool | `true` | Enable OpenEBS NDM dependency |
@@ -243,7 +243,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name
243243
| openebs-ndm.ndmOperator.image.repository | string | `openebs/node-disk-operator` | Image repository for NDM operator |
244244
| rbac.create | bool | `true` | Enable RBAC |
245245
| rbac.pspEnabled | bool | `false` | Enable PodSecurityPolicy |
246-
| release.version | string | `"3.5.0"` | Openebs CStor release version |
246+
| release.version | string | `"3.6.0"` | Openebs CStor release version |
247247
| serviceAccount.annotations | object | `{}` | Service Account annotations |
248248
| serviceAccount.csiController.create | bool | `true` | Enable CSI Controller ServiceAccount |
249249
| serviceAccount.csiController.name | string | `"openebs-cstor-csi-controller-sa"` | CSI Controller ServiceAccount name |

deploy/helm/charts/crds/cstorbackup.yaml

Lines changed: 67 additions & 68 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ apiVersion: apiextensions.k8s.io/v1
22
kind: CustomResourceDefinition
33
metadata:
44
annotations:
5-
controller-gen.kubebuilder.io/version: v0.10.0
6-
creationTimestamp: null
5+
controller-gen.kubebuilder.io/version: v0.11.4
76
name: cstorbackups.cstor.openebs.io
87
spec:
98
group: cstor.openebs.io
@@ -12,76 +11,76 @@ spec:
1211
listKind: CStorBackupList
1312
plural: cstorbackups
1413
shortNames:
15-
- cbackup
14+
- cbackup
1615
singular: cstorbackup
1716
scope: Namespaced
1817
versions:
19-
- additionalPrinterColumns:
20-
- description: Name of the volume for which this backup is destined
21-
jsonPath: .spec.volumeName
22-
name: Volume
23-
type: string
24-
- description: Name of the backup or scheduled backup
25-
jsonPath: .spec.backupName
26-
name: Backup/Schedule
27-
type: string
28-
- description: Identifies the phase of the backup
29-
jsonPath: .status
30-
name: Status
31-
type: string
32-
name: v1
33-
schema:
34-
openAPIV3Schema:
35-
description: CStorBackup describes a cstor backup resource created as a custom
36-
resource
37-
properties:
38-
apiVersion:
39-
description: 'APIVersion defines the versioned schema of this representation
18+
- additionalPrinterColumns:
19+
- description: Name of the volume for which this backup is destined
20+
jsonPath: .spec.volumeName
21+
name: Volume
22+
type: string
23+
- description: Name of the backup or scheduled backup
24+
jsonPath: .spec.backupName
25+
name: Backup/Schedule
26+
type: string
27+
- description: Identifies the phase of the backup
28+
jsonPath: .status
29+
name: Status
30+
type: string
31+
name: v1
32+
schema:
33+
openAPIV3Schema:
34+
description: CStorBackup describes a cstor backup resource created as a custom
35+
resource
36+
properties:
37+
apiVersion:
38+
description: 'APIVersion defines the versioned schema of this representation
4039
of an object. Servers should convert recognized schemas to the latest
4140
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
42-
type: string
43-
kind:
44-
description: 'Kind is a string value representing the REST resource this
41+
type: string
42+
kind:
43+
description: 'Kind is a string value representing the REST resource this
4544
object represents. Servers may infer this from the endpoint the client
4645
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
47-
type: string
48-
metadata:
49-
type: object
50-
spec:
51-
description: CStorBackupSpec is the spec for a CStorBackup resource
52-
properties:
53-
backupDest:
54-
description: BackupDest is the remote address for backup transfer
55-
type: string
56-
backupName:
57-
description: BackupName is the name of the backup or scheduled backup
58-
type: string
59-
localSnap:
60-
description: LocalSnap is the flag to enable local snapshot only
61-
type: boolean
62-
prevSnapName:
63-
description: PrevSnapName is the last completed-backup's snapshot
64-
name
65-
type: string
66-
snapName:
67-
description: SnapName is the name of the current backup snapshot
68-
type: string
69-
volumeName:
70-
description: VolumeName is the name of the volume for which this backup
71-
is destined
72-
type: string
73-
required:
74-
- backupName
75-
- snapName
76-
- volumeName
77-
type: object
78-
status:
79-
description: CStorBackupStatus is a string type that represents the status
80-
of the backup
81-
type: string
82-
required:
83-
- spec
84-
type: object
85-
served: true
86-
storage: true
87-
subresources: {}
46+
type: string
47+
metadata:
48+
type: object
49+
spec:
50+
description: CStorBackupSpec is the spec for a CStorBackup resource
51+
properties:
52+
backupDest:
53+
description: BackupDest is the remote address for backup transfer
54+
type: string
55+
backupName:
56+
description: BackupName is the name of the backup or scheduled backup
57+
type: string
58+
localSnap:
59+
description: LocalSnap is the flag to enable local snapshot only
60+
type: boolean
61+
prevSnapName:
62+
description: PrevSnapName is the last completed-backup's snapshot
63+
name
64+
type: string
65+
snapName:
66+
description: SnapName is the name of the current backup snapshot
67+
type: string
68+
volumeName:
69+
description: VolumeName is the name of the volume for which this backup
70+
is destined
71+
type: string
72+
required:
73+
- backupName
74+
- snapName
75+
- volumeName
76+
type: object
77+
status:
78+
description: CStorBackupStatus is a string type that represents the status
79+
of the backup
80+
type: string
81+
required:
82+
- spec
83+
type: object
84+
served: true
85+
storage: true
86+
subresources: {}

0 commit comments

Comments
 (0)