Skip to content

Commit

Permalink
[stable/cstor]: update charts to 2.6.0 (#244)
Browse files Browse the repository at this point in the history
- update chart version
- update dependent chart version
- update README
- update values.yaml
- updated upgradetask and cva crds
- add pre-delete hook to cleanup validatingwebhookconfig on 
  release delete

Signed-off-by: Akhil Mohan <[email protected]>
  • Loading branch information
akhilerm authored Feb 15, 2021
1 parent 509823f commit f24c0a2
Show file tree
Hide file tree
Showing 9 changed files with 458 additions and 80 deletions.
1 change: 1 addition & 0 deletions .github/workflows/chart-lint-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
jobs:
lint-test:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion ct.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
remote: origin
chart-dirs:
- deploy/helm
helm-extra-args: --timeout=500s
helm-extra-args: --timeout 500s
6 changes: 3 additions & 3 deletions deploy/helm/charts/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: CStor-Operator helm chart for Kubernetes
type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
version: 2.5.3
version: 2.6.0
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application.
appVersion: 2.5.0
appVersion: 2.6.0
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png
home: http://www.openebs.io/
keywords:
Expand All @@ -22,7 +22,7 @@ sources:

dependencies:
- name: openebs-ndm
version: "1.1.1"
version: "1.2.0"
repository: "https://openebs.github.io/node-disk-manager"
condition: openebsNDM.enabled

Expand Down
58 changes: 27 additions & 31 deletions deploy/helm/charts/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ By default this chart installs additional, dependent charts:

| Repository | Name | Version |
|------------|------|---------|
| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.1.1 |
| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.2.0 |

To disable the dependency during installation, set `openebsNDM.enabled` to `false`.

Expand Down Expand Up @@ -81,55 +81,50 @@ The following table lists the configurable parameters of the OpenEBS CStor chart
| admissionServer.image.pullPolicy | string | `"IfNotPresent"` | Admission webhook image pull policy |
| admissionServer.image.registry | string | `nil` | Admission webhook image registry |
| admissionServer.image.repository | string | `"openebs/cstor-webhook"` | Admission webhook image repo |
| admissionServer.image.tag | string | `"2.5.0"` | Admission webhook image tag |
| admissionServer.image.tag | string | `"2.6.0"` | Admission webhook image tag |
| admissionServer.nodeSelector | object | `{}` | Admission webhook pod node selector |
| admissionServer.podAnnotations | object | `{}` | Admission webhook pod annotations |
| admissionServer.resources | object | `{}` | Admission webhook pod resources |
| admissionServer.securityContext | object | `{}` | Admission webhook security context |
| admissionServer.tolerations | list | `[]` | Admission webhook tolerations |
| csiController.annotations | object | `{}` | CSI controller annotations |
| csiController.attacher.image.pullPolicy | string | `"IfNotPresent"` | CSI attacher image pull policy |
| csiController.attacher.image.registry | string | `"quay.io/"` | CSI attacher image registry |
| csiController.attacher.image.repository | string | `"k8scsi/csi-attacher"` | CSI attacher image repo |
| csiController.attacher.image.registry | string | `"k8s.gcr.io/"` | CSI attacher image registry |
| csiController.attacher.image.repository | string | `"sig-storage/csi-attacher"` | CSI attacher image repo |
| csiController.attacher.image.tag | string | `"v3.1.0"` | CSI attacher image tag |
| csiController.attacher.name | string | `"csi-attacher"` | CSI attacher container name|
| csiController.componentName | string | `""` | CSI controller component name |
| csiController.driverRegistrar.image.pullPolicy | string | `"IfNotPresent"` | CSI driver registrar image pull policy |
| csiController.driverRegistrar.image.registry | string | `"quay.io/"` | CSI driver registrar image registry |
| csiController.driverRegistrar.image.repository | string | `"k8scsi/csi-cluster-driver-registrar"` | CSI driver registrar image repo |
| csiController.driverRegistrar.image.tag | string | `"v1.0.1"` | CSI driver registrar image tag|
| csiController.driverRegistrar.name | string | `"csi-cluster-driver-registrar"` | CSI driver registrar container name |
| csiController.componentName | string | `"openebs-cstor-csi-controller"` | CSI controller component name |
| csiController.nodeSelector | object | `{}` | CSI controller pod node selector |
| csiController.podAnnotations | object | `{}` | CSI controller pod annotations |
| csiController.provisioner.image.pullPolicy | string | `"IfNotPresent"` | CSI provisioner image pull policy |
| csiController.provisioner.image.registry | string | `"quay.io/"` | CSI provisioner image pull registry |
| csiController.provisioner.image.repository | string | `"k8scsi/csi-provisioner"` | CSI provisioner image pull repository |
| csiController.provisioner.image.registry | string | `"k8s.gcr.io/"` | CSI provisioner image pull registry |
| csiController.provisioner.image.repository | string | `"sig-storage/csi-provisioner"` | CSI provisioner image pull repository |
| csiController.provisioner.image.tag | string | `"v2.1.0"` | CSI provisioner image tag |
| csiController.provisioner.name | string | `"csi-provisioner"` | CSI provisioner container name |
| csiController.resizer.image.pullPolicy | string | `"IfNotPresent"` | CSI resizer image pull policy |
| csiController.resizer.image.registry | string | `"quay.io/"` | CSI resizer image registry |
| csiController.resizer.image.repository | string | `"k8scsi/csi-resizer"` | CSI resizer image repository|
| csiController.resizer.image.registry | string | `"k8s.gcr.io/"` | CSI resizer image registry |
| csiController.resizer.image.repository | string | `"sig-storage/csi-resizer"` | CSI resizer image repository|
| csiController.resizer.image.tag | string | `"v1.1.0"` | CSI resizer image tag |
| csiController.resizer.name | string | `"csi-resizer"` | CSI resizer container name |
| csiController.resources | object | `{}` | CSI controller container resources |
| csiController.securityContext | object | `{}` | CSI controller security context |
| csiController.snapshotController.image.pullPolicy | string | `"IfNotPresent"` | CSI snapshot controller image pull policy |
| csiController.snapshotController.image.registry | string | `"quay.io/"` | CSI snapshot controller image registry |
| csiController.snapshotController.image.repository | string | `"k8scsi/snapshot-controller"` | CSI snapshot controller image repository |
| csiController.snapshotController.image.registry | string | `"k8s.gcr.io/"` | CSI snapshot controller image registry |
| csiController.snapshotController.image.repository | string | `"sig-storage/snapshot-controller"` | CSI snapshot controller image repository |
| csiController.snapshotController.image.tag | string | `"v3.0.3"` | CSI snapshot controller image tag |
| csiController.snapshotController.name | string | `"snapshot-controller"` | CSI snapshot controller container name |
| csiController.snapshotter.image.pullPolicy | string | `"IfNotPresent"` | CSI snapshotter image pull policy |
| csiController.snapshotter.image.registry | string | `"quay.io/"` | CSI snapshotter image pull registry |
| csiController.snapshotter.image.repository | string | `"k8scsi/csi-snapshotter"` | CSI snapshotter image repositroy |
| csiController.snapshotter.image.registry | string | `"k8s.gcr.io/"` | CSI snapshotter image pull registry |
| csiController.snapshotter.image.repository | string | `"sig-storage/csi-snapshotter"` | CSI snapshotter image repositroy |
| csiController.snapshotter.image.tag | string | `"v3.0.3"` | CSI snapshotter image tag |
| csiController.snapshotter.name | string | `"csi-snapshotter"` | CSI snapshotter container name |
| csiController.tolerations | list | `[]` | CSI controller pod tolerations |
| csiNode.annotations | object | `{}` | CSI Node annotations |
| csiNode.componentName | string | `"openebs-cstor-csi-node"` | CSI Node component name |
| csiNode.driverRegistrar.image.pullPolicy | string | `"IfNotPresent"` | CSI Node driver registrar image pull policy|
| csiNode.driverRegistrar.image.registry | string | `"quay.io/"` | CSI Node driver registrar image registry |
| csiNode.driverRegistrar.image.repository | string | `"k8scsi/csi-node-driver-registrar"` | CSI Node driver registrar image repository |
| csiNode.driverRegistrar.image.tag | string | `"v1.0.1"` | CSI Node driver registrar image tag|
| csiNode.driverRegistrar.image.registry | string | `"k8s.gcr.io/"` | CSI Node driver registrar image registry |
| csiNode.driverRegistrar.image.repository | string | `"sig-storage/csi-node-driver-registrar"` | CSI Node driver registrar image repository |
| csiNode.driverRegistrar.image.tag | string | `"v2.1.0"` | CSI Node driver registrar image tag|
| csiNode.driverRegistrar.name | string | `"csi-node-driver-registrar"` | CSI Node driver registrar container name |
| csiNode.kubeletDir | string | `"/var/lib/kubelet/"` | Kubelet root dir |
| csiNode.labels | object | `{}` | CSI Node pod labels |
Expand All @@ -143,54 +138,55 @@ The following table lists the configurable parameters of the OpenEBS CStor chart
| cspcOperator.componentName | string | `"cspc-operator"` | CSPC operator component name |
| cspcOperator.cstorPool.image.registry | string | `nil` | CStor pool image registry |
| cspcOperator.cstorPool.image.repository | string | `"openebs/cstor-pool"` | CStor pool image repository|
| cspcOperator.cstorPool.image.tag | string | `"2.5.0"` | CStor pool image tag |
| cspcOperator.cstorPool.image.tag | string | `"2.6.0"` | CStor pool image tag |
| cspcOperator.cstorPoolExporter.image.registry | string | `nil` | CStor pool exporter image registry |
| cspcOperator.cstorPoolExporter.image.repository | string | `"openebs/m-exporter"` | CStor pool exporter image repositry |
| cspcOperator.cstorPoolExporter.image.tag | string | `"2.5.0"` | CStor pool exporter image tag |
| cspcOperator.cstorPoolExporter.image.tag | string | `"2.6.0"` | CStor pool exporter image tag |
| cspcOperator.image.pullPolicy | string | `"IfNotPresent"` | CSPC operator image pull policy |
| cspcOperator.image.registry | string | `nil` | CSPC operator image registry |
| cspcOperator.image.repository | string | `"openebs/cspc-operator"` | CSPC operator image repository |
| cspcOperator.image.tag | string | `"2.5.0"` | CSPC operator image tag |
| cspcOperator.image.tag | string | `"2.6.0"` | CSPC operator image tag |
| cspcOperator.nodeSelector | object | `{}` | CSPC operator pod nodeSelector|
| cspcOperator.podAnnotations | object | `{}` | CSPC operator pod annotations |
| cspcOperator.poolManager.image.registry | string | `nil` | CStor Pool Manager image registry |
| cspcOperator.poolManager.image.repository | string | `"openebs/cstor-pool-manager"` | CStor Pool Manager image repository |
| cspcOperator.poolManager.image.tag | string | `"2.5.0"` | CStor Pool Manager image tag |
| cspcOperator.poolManager.image.tag | string | `"2.6.0"` | CStor Pool Manager image tag |
| cspcOperator.resources | object | `{}` | CSPC operator pod resources |
| cspcOperator.resyncInterval | string | `"30"` | CSPC operator resync interval |
| cspcOperator.securityContext | object | `{}` | CSPC operator security context |
| cspcOperator.tolerations | list | `[]` | CSPC operator pod tolerations |
| cstorCSIPlugin.image.pullPolicy | string | `"IfNotPresent"` | CStor CSI driver image pull policy |
| cstorCSIPlugin.image.registry | string | `nil` | CStor CSI driver image registry |
| cstorCSIPlugin.image.repository | string | `"openebs/cstor-csi-driver"` | CStor CSI driver image repository |
| cstorCSIPlugin.image.tag | string | `"2.5.0"` | CStor CSI driver image tag |
| cstorCSIPlugin.image.tag | string | `"2.6.0"` | CStor CSI driver image tag |
| cstorCSIPlugin.name | string | `"cstor-csi-plugin"` | CStor CSI driver container name |
| cstorCSIPlugin.remount | string | `"true"` | Enable/disable auto-remount when volume recovers from read-only state |
| cvcOperator.annotations | object | `{}` | CVC operator annotations |
| cvcOperator.componentName | string | `"cvc-operator"` | CVC operator component name |
| cvcOperator.image.pullPolicy | string | `"IfNotPresent"` | CVC operator image pull policy |
| cvcOperator.image.registry | string | `nil` | CVC operator image registry |
| cvcOperator.image.repository | string | `"openebs/cvc-operator"` | CVC operator image repository |
| cvcOperator.image.tag | string | `"2.5.0"` | CVC operator image tag |
| cvcOperator.image.tag | string | `"2.6.0"` | CVC operator image tag |
| cvcOperator.nodeSelector | object | `{}` | CVC operator pod nodeSelector |
| cvcOperator.podAnnotations | object | `{}` | CVC operator pod annotations |
| cvcOperator.resources | object | `{}` |CVC operator pod resources |
| cvcOperator.resyncInterval | string | `"30"` | CVC operator resync interval |
| cvcOperator.securityContext | object | `{}` | CVC operator security context |
| cvcOperator.target.image.registry | string | `nil` | Volume Target image registry |
| cvcOperator.target.image.repository | string | `"openebs/cstor-istgt"` | Volume Target image repository |
| cvcOperator.target.image.tag | string | `"2.5.0"` | Volume Target image tag |
| cvcOperator.target.image.tag | string | `"2.6.0"` | Volume Target image tag |
| cvcOperator.tolerations | list | `[]` | CVC operator pod tolerations |
| cvcOperator.volumeExporter.image.registry | string | `nil` | Volume exporter image registry |
| cvcOperator.volumeExporter.image.repository | string | `"openebs/m-exporter"` | Volume exporter image repository |
| cvcOperator.volumeExporter.image.tag | string | `"2.5.0"` | Volume exporter image tag |
| cvcOperator.volumeExporter.image.tag | string | `"2.6.0"` | Volume exporter image tag |
| cvcOperator.volumeMgmt.image.registry | string | `nil` | Volume mgmt image registry |
| cvcOperator.volumeMgmt.image.repository | string | `"openebs/cstor-volume-manager"` | Volume mgmt image repository |
| cvcOperator.volumeMgmt.image.tag | string | `"2.5.0"` | Volume mgmt image tag|
| cvcOperator.volumeMgmt.image.tag | string | `"2.6.0"` | Volume mgmt image tag|
| imagePullSecrets | string | `nil` | Image registry pull secrets |
| openebsNDM.enabled | bool | `true` | Enable OpenEBS NDM dependency |
| rbac.create | bool | `true` | Enable RBAC |
| rbac.pspEnabled | bool | `false` | Enable PodSecurityPolicy |
| release.version | string | `"2.5.0"` | Openebs CStor release version |
| release.version | string | `"2.6.0"` | Openebs CStor release version |
| serviceAccount.annotations | object | `{}` | Service Account annotations |
| serviceAccount.csiController.create | bool | `true` | Enable CSI Controller ServiceAccount |
| serviceAccount.csiController.name | string | `"openebs-cstor-csi-controller-sa"` | CSI Controller ServiceAccount name |
Expand Down
125 changes: 119 additions & 6 deletions deploy/helm/charts/crds/cstorvolumeattachment.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,130 @@
---
apiVersion: apiextensions.k8s.io/v1beta1
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.4.0
creationTimestamp: null
name: cstorvolumeattachments.cstor.openebs.io
spec:
group: cstor.openebs.io
version: v1
scope: Namespaced
names:
plural: cstorvolumeattachments
singular: cstorvolumeattachment
kind: CStorVolumeAttachment
listKind: CStorVolumeAttachmentList
plural: cstorvolumeattachments
shortNames:
- cstorvolumeattachment
- cva
singular: cstorvolumeattachment
scope: Namespaced
versions:
- name: v1
schema:
openAPIV3Schema:
description: CStorVolumeAttachment represents a CSI based volume
properties:
apiVersion:
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'
type: string
kind:
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'
type: string
metadata:
type: object
spec:
description: CStorVolumeAttachmentSpec is the spec for a CStorVolume resource
properties:
iscsi:
description: ISCSIInfo specific to ISCSI protocol, this is filled
only if the volume type is iSCSI
properties:
iqn:
description: Iqn of this volume
type: string
iscsiInterface:
description: IscsiInterface of this volume
type: string
lun:
description: 'Lun specify the lun number 0, 1.. on iSCSI Volume.
(default: 0)'
type: string
targetPortal:
description: TargetPortal holds the target portal of this volume
type: string
type: object
volume:
description: Volume specific info
properties:
accessModes:
description: AccessMode of a volume will hold the access mode
of the volume
items:
type: string
type: array
accessType:
description: AccessType of a volume will indicate if the volume
will be used as a block device or mounted on a path
type: string
capacity:
description: Capacity of the volume
type: string
devicePath:
description: Device Path specifies the device path which is returned
when the iSCSI login is successful
type: string
fsType:
description: FSType of a volume will specify the format type -
ext4(default), xfs of PV
type: string
mountOptions:
description: MountOptions specifies the options with which mount
needs to be attempted
items:
type: string
type: array
name:
description: Name of the CSI volume
type: string
ownerNodeID:
description: OwnerNodeID is the Node ID which is also the owner
of this Volume
type: string
readOnly:
description: ReadOnly specifies if the volume needs to be mounted
in ReadOnly mode
type: boolean
stagingTargetPath:
description: StagingPath of the volume will hold the path on which
the volume is mounted on that node
type: string
targetPath:
description: TargetPath of the volume will hold the path on which
the volume is bind mounted on that node
type: string
required:
- name
- ownerNodeID
type: object
required:
- iscsi
- volume
type: object
status:
description: CStorVolumeAttachmentStatus status represents the current
mount status of the volume
type: string
required:
- spec
type: object
served: true
storage: true
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
---
Loading

0 comments on commit f24c0a2

Please sign in to comment.