From 486c15a1940d417c513d22bf73039092999ffc0f Mon Sep 17 00:00:00 2001 From: prateekpandey14 Date: Mon, 14 Jun 2021 12:35:40 +0530 Subject: [PATCH] [stable/cstor]: update helm charts to 2.10.0 release Signed-off-by: prateekpandey14 --- deploy/helm/charts/Chart.yaml | 6 ++--- deploy/helm/charts/README.md | 24 +++++++++---------- .../helm/charts/templates/cvc-operator.yaml | 8 +++++++ deploy/helm/charts/values.yaml | 22 ++++++++--------- 4 files changed, 34 insertions(+), 26 deletions(-) diff --git a/deploy/helm/charts/Chart.yaml b/deploy/helm/charts/Chart.yaml index 51f09335..33019cfc 100644 --- a/deploy/helm/charts/Chart.yaml +++ b/deploy/helm/charts/Chart.yaml @@ -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.9.1 +version: 2.10.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.9.0 +appVersion: 2.10.0 icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png home: http://www.openebs.io/ keywords: @@ -22,7 +22,7 @@ sources: dependencies: - name: openebs-ndm - version: "1.4.1" + version: "1.5.0" repository: "https://openebs.github.io/node-disk-manager" condition: openebsNDM.enabled diff --git a/deploy/helm/charts/README.md b/deploy/helm/charts/README.md index e9858336..4de9b914 100644 --- a/deploy/helm/charts/README.md +++ b/deploy/helm/charts/README.md @@ -52,7 +52,7 @@ By default this chart installs additional, dependent charts: | Repository | Name | Version | |------------|------|---------| -| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.4.1 | +| https://openebs.github.io/node-disk-manager | openebs-ndm | 1.5.0 | To disable the dependency during installation, set `openebsNDM.enabled` to `false`. @@ -109,7 +109,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | 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.9.0"` | Admission webhook image tag | +| admissionServer.image.tag | string | `"2.10.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 | @@ -168,19 +168,19 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | 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.9.0"` | CStor pool image tag | +| cspcOperator.cstorPool.image.tag | string | `"2.10.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 repository | -| cspcOperator.cstorPoolExporter.image.tag | string | `"2.9.0"` | CStor pool exporter image tag | +| cspcOperator.cstorPoolExporter.image.tag | string | `"2.10.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.9.0"` | CSPC operator image tag | +| cspcOperator.image.tag | string | `"2.10.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.9.0"` | CStor Pool Manager image tag | +| cspcOperator.poolManager.image.tag | string | `"2.10.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 | @@ -188,7 +188,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | 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.9.0"` | CStor CSI driver image tag | +| cstorCSIPlugin.image.tag | string | `"2.10.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 | @@ -196,7 +196,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-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.9.0"` | CVC operator image tag | +| cvcOperator.image.tag | string | `"2.10.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 | @@ -204,14 +204,14 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | 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.9.0"` | Volume Target image tag | +| cvcOperator.target.image.tag | string | `"2.10.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.9.0"` | Volume exporter image tag | +| cvcOperator.volumeExporter.image.tag | string | `"2.10.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.9.0"` | Volume mgmt image tag| +| cvcOperator.volumeMgmt.image.tag | string | `"2.10.0"` | Volume mgmt image tag| | imagePullSecrets | string | `nil` | Image registry pull secrets | | openebsNDM.enabled | bool | `true` | Enable OpenEBS NDM dependency | | openebs-ndm.featureGates.APIService.enabled | bool | `true` | Enable 'API Service' feature gate for NDM | @@ -232,7 +232,7 @@ helm install openebs-cstor openebs-cstor/cstor --namespace openebs --create-name | openebs-ndm.ndmOperator.image.repository | string | `openebs/node-disk-operator` | Image repository for NDM operator | | rbac.create | bool | `true` | Enable RBAC | | rbac.pspEnabled | bool | `false` | Enable PodSecurityPolicy | -| release.version | string | `"2.9.0"` | Openebs CStor release version | +| release.version | string | `"2.10.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 | diff --git a/deploy/helm/charts/templates/cvc-operator.yaml b/deploy/helm/charts/templates/cvc-operator.yaml index 485c2363..561c6562 100644 --- a/deploy/helm/charts/templates/cvc-operator.yaml +++ b/deploy/helm/charts/templates/cvc-operator.yaml @@ -27,6 +27,10 @@ spec: - name: {{ template "cstor.fullname" . }}-cvc-operator imagePullPolicy: {{ .Values.cvcOperator.image.pullPolicy }} image: "{{ .Values.cvcOperator.image.registry }}{{ .Values.cvcOperator.image.repository }}:{{ .Values.cvcOperator.image.tag }}" + args: + - "--v=2" + - "--leader-election=false" + - "--bind=$(OPENEBS_CVC_POD_IP)" resources: {{ toYaml .Values.cvcOperator.resources | indent 12 }} env: @@ -47,6 +51,10 @@ spec: valueFrom: fieldRef: fieldPath: spec.serviceAccountName + - name: OPENEBS_CVC_POD_IP + valueFrom: + fieldRef: + fieldPath: status.podIP - name: OPENEBS_IO_CSTOR_TARGET_IMAGE value: "{{ .Values.cvcOperator.target.image.registry }}{{ .Values.cvcOperator.target.image.repository }}:{{ .Values.cvcOperator.target.image.tag }}" - name: OPENEBS_IO_CSTOR_VOLUME_MGMT_IMAGE diff --git a/deploy/helm/charts/values.yaml b/deploy/helm/charts/values.yaml index a2f3ad38..fab990fe 100644 --- a/deploy/helm/charts/values.yaml +++ b/deploy/helm/charts/values.yaml @@ -3,7 +3,7 @@ # Declare variables to be passed into your templates. release: - version: "2.9.0" + version: "2.10.0" # If false, openebs NDM sub-chart will not be installed openebsNDM: @@ -24,17 +24,17 @@ cspcOperator: image: registry: repository: openebs/cstor-pool-manager - tag: 2.9.0 + tag: 2.10.0 cstorPool: image: registry: repository: openebs/cstor-pool - tag: 2.9.0 + tag: 2.10.0 cstorPoolExporter: image: registry: repository: openebs/m-exporter - tag: 2.9.0 + tag: 2.10.0 image: # Make sure that registry name end with a '/'. # For example : quay.io/ is a correct value here and quay.io is incorrect @@ -42,7 +42,7 @@ cspcOperator: repository: openebs/cspc-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 2.9.0 + tag: 2.10.0 annotations: {} resyncInterval: "30" podAnnotations: {} @@ -58,17 +58,17 @@ cvcOperator: image: registry: repository: openebs/cstor-istgt - tag: 2.9.0 + tag: 2.10.0 volumeMgmt: image: registry: repository: openebs/cstor-volume-manager - tag: 2.9.0 + tag: 2.10.0 volumeExporter: image: registry: repository: openebs/m-exporter - tag: 2.9.0 + tag: 2.10.0 image: # Make sure that registry name end with a '/'. # For example : quay.io/ is a correct value here and quay.io is incorrect @@ -76,7 +76,7 @@ cvcOperator: repository: openebs/cvc-operator pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 2.9.0 + tag: 2.10.0 annotations: {} resyncInterval: "30" podAnnotations: {} @@ -158,7 +158,7 @@ cstorCSIPlugin: repository: openebs/cstor-csi-driver pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 2.9.0 + tag: 2.10.0 remount: "true" csiNode: @@ -209,7 +209,7 @@ admissionServer: repository: openebs/cstor-webhook pullPolicy: IfNotPresent # Overrides the image tag whose default is the chart appVersion. - tag: 2.9.0 + tag: 2.10.0 failurePolicy: "Fail" annotations: {} podAnnotations: {}