From 9f362d32d2ff4a9ae324673203ad8a1d23cd80d2 Mon Sep 17 00:00:00 2001 From: Suraj Deshmukh Date: Tue, 2 Jun 2020 13:48:04 +0530 Subject: [PATCH] openebs: Update to 1.10.0 Release: https://github.com/openebs/openebs/releases/tag/v1.10.0 Signed-off-by: Suraj Deshmukh --- assets/components/openebs/Chart.yaml | 4 +- assets/components/openebs/README.md | 67 +++++++++-------- .../openebs/templates/clusterrole.yaml | 23 +----- .../templates/cm-node-disk-manager.yaml | 6 +- .../openebs/templates/daemonset-ndm.yaml | 9 ++- .../deployment-admission-server.yaml | 2 +- .../deployment-local-provisioner.yaml | 4 +- .../templates/deployment-maya-apiserver.yaml | 24 +++--- .../deployment-maya-provisioner.yaml | 2 +- .../deployment-maya-snapshot-operator.yaml | 4 +- .../templates/deployment-ndm-operator.yaml | 12 ++- assets/components/openebs/values.yaml | 75 +++++++++++-------- 12 files changed, 128 insertions(+), 104 deletions(-) diff --git a/assets/components/openebs/Chart.yaml b/assets/components/openebs/Chart.yaml index ebe0cc8a3..e8c709de6 100644 --- a/assets/components/openebs/Chart.yaml +++ b/assets/components/openebs/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v1 -appVersion: 1.9.0 +appVersion: 1.10.0 description: Containerized Storage for Containers home: http://www.openebs.io/ icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/openebs/icon/color/openebs-icon-color.png @@ -16,4 +16,4 @@ maintainers: name: openebs sources: - https://github.com/openebs/openebs -version: 1.9.0 +version: 1.10.2 diff --git a/assets/components/openebs/README.md b/assets/components/openebs/README.md index ba568a1e1..bcfa72cdc 100644 --- a/assets/components/openebs/README.md +++ b/assets/components/openebs/README.md @@ -40,60 +40,67 @@ The following table lists the configurable parameters of the OpenEBS chart and t | `rbac.create` | Enable RBAC Resources | `true` | | `rbac.pspEnabled` | Create pod security policy resources | `false` | | `image.pullPolicy` | Container pull policy | `IfNotPresent` | +| `image.repository` | Specify which docker registry to use | `quay.io/` | | `apiserver.enabled` | Enable API Server | `true` | -| `apiserver.image` | Image for API Server | `quay.io/openebs/m-apiserver` | -| `apiserver.imageTag` | Image Tag for API Server | `1.9.0` | +| `apiserver.image` | Image for API Server | `openebs/m-apiserver` | +| `apiserver.imageTag` | Image Tag for API Server | `1.10.0` | | `apiserver.replicas` | Number of API Server Replicas | `1` | | `apiserver.sparse.enabled` | Create Sparse Pool based on Sparsefile | `false` | | `provisioner.enabled` | Enable Provisioner | `true` | -| `provisioner.image` | Image for Provisioner | `quay.io/openebs/openebs-k8s-provisioner` | -| `provisioner.imageTag` | Image Tag for Provisioner | `1.9.0` | +| `provisioner.image` | Image for Provisioner | `openebs/openebs-k8s-provisioner` | +| `provisioner.imageTag` | Image Tag for Provisioner | `1.10.0` | | `provisioner.replicas` | Number of Provisioner Replicas | `1` | | `localprovisioner.enabled` | Enable localProvisioner | `true` | -| `localprovisioner.image` | Image for localProvisioner | `quay.io/openebs/provisioner-localpv` | -| `localprovisioner.imageTag` | Image Tag for localProvisioner | `1.9.0` | +| `localprovisioner.image` | Image for localProvisioner | `openebs/provisioner-localpv` | +| `localprovisioner.imageTag` | Image Tag for localProvisioner | `1.10.0` | | `localprovisioner.replicas` | Number of localProvisioner Replicas | `1` | | `localprovisioner.basePath` | BasePath for hostPath volumes on Nodes | `/var/openebs/local` | | `webhook.enabled` | Enable admission server | `true` | -| `webhook.image` | Image for admission server | `quay.io/openebs/admission-server` | -| `webhook.imageTag` | Image Tag for admission server | `1.9.0` | +| `webhook.image` | Image for admission server | `openebs/admission-server` | +| `webhook.imageTag` | Image Tag for admission server | `1.10.0` | | `webhook.replicas` | Number of admission server Replicas | `1` | | `snapshotOperator.enabled` | Enable Snapshot Provisioner | `true` | -| `snapshotOperator.provisioner.image` | Image for Snapshot Provisioner | `quay.io/openebs/snapshot-provisioner` | -| `snapshotOperator.provisioner.imageTag` | Image Tag for Snapshot Provisioner | `1.9.0` | -| `snapshotOperator.controller.image` | Image for Snapshot Controller | `quay.io/openebs/snapshot-controller` | -| `snapshotOperator.controller.imageTag` | Image Tag for Snapshot Controller | `1.9.0` | +| `snapshotOperator.provisioner.image` | Image for Snapshot Provisioner | `openebs/snapshot-provisioner` | +| `snapshotOperator.provisioner.imageTag` | Image Tag for Snapshot Provisioner | `1.10.0` | +| `snapshotOperator.controller.image` | Image for Snapshot Controller | `openebs/snapshot-controller` | +| `snapshotOperator.controller.imageTag` | Image Tag for Snapshot Controller | `1.10.0` | | `snapshotOperator.replicas` | Number of Snapshot Operator Replicas | `1` | | `ndm.enabled` | Enable Node Disk Manager | `true` | -| `ndm.image` | Image for Node Disk Manager | `quay.io/openebs/node-disk-manager-amd64` | -| `ndm.imageTag` | Image Tag for Node Disk Manager | `v0.4.9` | +| `ndm.image` | Image for Node Disk Manager | `openebs/node-disk-manager-amd64` | +| `ndm.imageTag` | Image Tag for Node Disk Manager | `0.5.0` | | `ndm.sparse.path` | Directory where Sparse files are created | `/var/openebs/sparse` | | `ndm.sparse.size` | Size of the sparse file in bytes | `10737418240` | | `ndm.sparse.count` | Number of sparse files to be created | `0` | +| `ndm.filters.enableOsDiskExcludeFilter` | Enable filters of OS disk exclude | `true` | +| `ndm.filters.enableVendorFilter` | Enable filters of venders | `true` | | `ndm.filters.excludeVendors` | Exclude devices with specified vendor | `CLOUDBYT,OpenEBS` | +| `ndm.filters.enablePathFilter` | Enable filters of paths | `true` | | `ndm.filters.excludePaths` | Exclude devices with specified path patterns | `loop,fd0,sr0,/dev/ram,/dev/dm-,/dev/md` | | `ndm.filters.includePaths` | Include devices with specified path patterns | `""` | | `ndm.filters.excludePaths` | Exclude devices with specified path patterns | `loop,fd0,sr0,/dev/ram,/dev/dm-,/dev/md` | | `ndm.probes.enableSeachest` | Enable Seachest probe for NDM | `false` | | `ndmOperator.enabled` | Enable NDM Operator | `true` | -| `ndmOperator.image` | Image for NDM Operator | `quay.io/openebs/node-disk-operator-amd64`| -| `ndmOperator.imageTag` | Image Tag for NDM Operator | `v0.4.9` | -| `jiva.image` | Image for Jiva | `quay.io/openebs/jiva` | -| `jiva.imageTag` | Image Tag for Jiva | `1.9.0` | +| `ndmOperator.image` | Image for NDM Operator | `openebs/node-disk-operator-amd64` | +| `ndmOperator.imageTag` | Image Tag for NDM Operator | `0.5.0` | +| `jiva.image` | Image for Jiva | `openebs/jiva` | +| `jiva.imageTag` | Image Tag for Jiva | `1.10.0` | | `jiva.replicas` | Number of Jiva Replicas | `3` | | `jiva.defaultStoragePath` | hostpath used by default Jiva StorageClass | `/var/openebs` | -| `cstor.pool.image` | Image for cStor Pool | `quay.io/openebs/cstor-pool` | -| `cstor.pool.imageTag` | Image Tag for cStor Pool | `1.9.0` | -| `cstor.poolMgmt.image` | Image for cStor Pool Management | `quay.io/openebs/cstor-pool-mgmt` | -| `cstor.poolMgmt.imageTag` | Image Tag for cStor Pool Management | `1.9.0` | -| `cstor.target.image` | Image for cStor Target | `quay.io/openebs/cstor-istgt` | -| `cstor.target.imageTag` | Image Tag for cStor Target | `1.9.0` | -| `cstor.volumeMgmt.image` | Image for cStor Volume Management | `quay.io/openebs/cstor-volume-mgmt` | -| `cstor.volumeMgmt.imageTag` | Image Tag for cStor Volume Management | `1.9.0` | -| `helper.image` | Image for helper | `quay.io/openebs/linux-utils` | -| `helper.imageTag` | Image Tag for helper | `1.9.0` | -| `policies.monitoring.image` | Image for Prometheus Exporter | `quay.io/openebs/m-exporter` | -| `policies.monitoring.imageTag` | Image Tag for Prometheus Exporter | `1.9.0` | +| `cstor.pool.image` | Image for cStor Pool | `openebs/cstor-pool` | +| `cstor.pool.imageTag` | Image Tag for cStor Pool | `1.10.0` | +| `cstor.poolMgmt.image` | Image for cStor Pool Management | `openebs/cstor-pool-mgmt` | +| `cstor.poolMgmt.imageTag` | Image Tag for cStor Pool Management | `1.10.0` | +| `cstor.target.image` | Image for cStor Target | `openebs/cstor-istgt` | +| `cstor.target.imageTag` | Image Tag for cStor Target | `1.10.0` | +| `cstor.volumeMgmt.image` | Image for cStor Volume Management | `openebs/cstor-volume-mgmt` | +| `cstor.volumeMgmt.imageTag` | Image Tag for cStor Volume Management | `1.10.0` | +| `helper.image` | Image for helper | `openebs/linux-utils` | +| `helper.imageTag` | Image Tag for helper | `1.10.0` | +| `featureGates.enabled` | Enable feature gates for OpenEBS | `false` | +| `featureGates.GPTBasedUUID.enabled` | Enable GPT based UUID generation in NDM | `false` | +| `crd.enableInstall` | Enable installation of CRDs by OpenEBS | `true` | +| `policies.monitoring.image` | Image for Prometheus Exporter | `openebs/m-exporter` | +| `policies.monitoring.imageTag` | Image Tag for Prometheus Exporter | `1.10.0` | | `analytics.enabled` | Enable sending stats to Google Analytics | `true` | | `analytics.pingInterval` | Duration(hours) between sending ping stat | `24h` | | `defaultStorageConfig.enabled` | Enable default storage class installation | `true` | diff --git a/assets/components/openebs/templates/clusterrole.yaml b/assets/components/openebs/templates/clusterrole.yaml index c91c0f677..3a8d3ced8 100644 --- a/assets/components/openebs/templates/clusterrole.yaml +++ b/assets/components/openebs/templates/clusterrole.yaml @@ -33,26 +33,11 @@ rules: - apiGroups: ["apiextensions.k8s.io"] resources: ["customresourcedefinitions"] verbs: [ "get", "list", "create", "update", "delete", "patch"] -- apiGroups: ["*"] - resources: [ "disks", "blockdevices", "blockdeviceclaims"] - verbs: ["*" ] -- apiGroups: ["*"] - resources: [ "cstorpoolclusters", "storagepoolclaims", "storagepoolclaims/finalizers", "cstorpoolclusters/finalizers", "storagepools"] - verbs: ["*" ] -- apiGroups: ["*"] - resources: [ "castemplates", "runtasks"] - verbs: ["*" ] -- apiGroups: ["*"] - resources: [ "cstorpools", "cstorpools/finalizers", "cstorvolumereplicas", "cstorvolumes", "cstorvolumeclaims", "cstorvolumepolicies"] - verbs: ["*" ] -- apiGroups: ["*"] - resources: [ "cstorpoolinstances", "cstorpoolinstances/finalizers"] +- apiGroups: ["openebs.io"] + resources: [ "*"] verbs: ["*" ] -- apiGroups: ["*"] - resources: [ "cstorbackups", "cstorrestores", "cstorcompletedbackups"] - verbs: ["*" ] -- apiGroups: ["*"] - resources: [ "upgradetasks"] +- apiGroups: ["cstor.openebs.io"] + resources: [ "*"] verbs: ["*" ] - apiGroups: ["coordination.k8s.io"] resources: ["leases"] diff --git a/assets/components/openebs/templates/cm-node-disk-manager.yaml b/assets/components/openebs/templates/cm-node-disk-manager.yaml index 0cc27f2bc..165eabb50 100644 --- a/assets/components/openebs/templates/cm-node-disk-manager.yaml +++ b/assets/components/openebs/templates/cm-node-disk-manager.yaml @@ -30,16 +30,16 @@ data: filterconfigs: - key: os-disk-exclude-filter name: os disk exclude filter - state: true + state: {{ .Values.ndm.filters.enableOsDiskExcludeFilter }} exclude: "/,/etc/hosts,/boot" - key: vendor-filter name: vendor filter - state: true + state: {{ .Values.ndm.filters.enableVendorFilter }} include: "" exclude: "{{ .Values.ndm.filters.excludeVendors }}" - key: path-filter name: path filter - state: true + state: {{ .Values.ndm.filters.enablePathFilter }} include: "{{ .Values.ndm.filters.includePaths }}" exclude: "{{ .Values.ndm.filters.excludePaths }}" --- diff --git a/assets/components/openebs/templates/daemonset-ndm.yaml b/assets/components/openebs/templates/daemonset-ndm.yaml index 8e05cfb0b..2d8aae373 100644 --- a/assets/components/openebs/templates/daemonset-ndm.yaml +++ b/assets/components/openebs/templates/daemonset-ndm.yaml @@ -33,7 +33,14 @@ spec: hostNetwork: true containers: - name: {{ template "openebs.name" . }}-ndm - image: "{{ .Values.ndm.image }}:{{ .Values.ndm.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.ndm.image }}:{{ .Values.ndm.imageTag }}" + args: + - -v=4 +{{- if .Values.featureGates.enabled }} +{{- if .Values.featureGates.GPTBasedUUID.enabled }} + - --feature-gates={{ .Values.featureGates.GPTBasedUUID.featureGateFlag }} +{{- end}} +{{- end}} imagePullPolicy: {{ .Values.image.pullPolicy }} securityContext: privileged: true diff --git a/assets/components/openebs/templates/deployment-admission-server.yaml b/assets/components/openebs/templates/deployment-admission-server.yaml index 5112456fd..b6a13bf58 100644 --- a/assets/components/openebs/templates/deployment-admission-server.yaml +++ b/assets/components/openebs/templates/deployment-admission-server.yaml @@ -43,7 +43,7 @@ spec: serviceAccountName: {{ template "openebs.serviceAccountName" . }} containers: - name: admission-webhook - image: "{{ .Values.webhook.image }}:{{ .Values.webhook.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.webhook.image }}:{{ .Values.webhook.imageTag }}" imagePullPolicy: Always args: - -alsologtostderr diff --git a/assets/components/openebs/templates/deployment-local-provisioner.yaml b/assets/components/openebs/templates/deployment-local-provisioner.yaml index f5f9ee8db..ba064a790 100644 --- a/assets/components/openebs/templates/deployment-local-provisioner.yaml +++ b/assets/components/openebs/templates/deployment-local-provisioner.yaml @@ -33,7 +33,7 @@ spec: serviceAccountName: {{ template "openebs.serviceAccountName" . }} containers: - name: {{ template "openebs.name" . }}-localpv-provisioner - image: "{{ .Values.localprovisioner.image }}:{{ .Values.localprovisioner.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.localprovisioner.image }}:{{ .Values.localprovisioner.imageTag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: # OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s @@ -67,7 +67,7 @@ spec: - name: OPENEBS_IO_BASE_PATH value: "{{ .Values.localprovisioner.basePath }}" - name: OPENEBS_IO_HELPER_IMAGE - value: "{{ .Values.helper.image }}:{{ .Values.helper.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.helper.image }}:{{ .Values.helper.imageTag }}" - name: OPENEBS_IO_INSTALLER_TYPE value: "charts-helm" # Process name used for matching is limited to the 15 characters diff --git a/assets/components/openebs/templates/deployment-maya-apiserver.yaml b/assets/components/openebs/templates/deployment-maya-apiserver.yaml index 9c15096da..5f4b5884e 100644 --- a/assets/components/openebs/templates/deployment-maya-apiserver.yaml +++ b/assets/components/openebs/templates/deployment-maya-apiserver.yaml @@ -34,7 +34,7 @@ spec: serviceAccountName: {{ template "openebs.serviceAccountName" . }} containers: - name: {{ template "openebs.name" . }}-apiserver - image: "{{ .Values.apiserver.image }}:{{ .Values.apiserver.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.apiserver.image }}:{{ .Values.apiserver.imageTag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} ports: - containerPort: {{ .Values.apiserver.ports.internalPort }} @@ -110,25 +110,25 @@ spec: - name: OPENEBS_IO_BASE_DIR value: "{{ .Values.varDirectoryPath.baseDir }}" - name: OPENEBS_IO_JIVA_CONTROLLER_IMAGE - value: "{{ .Values.jiva.image }}:{{ .Values.jiva.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.jiva.image }}:{{ .Values.jiva.imageTag }}" - name: OPENEBS_IO_JIVA_REPLICA_IMAGE - value: "{{ .Values.jiva.image }}:{{ .Values.jiva.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.jiva.image }}:{{ .Values.jiva.imageTag }}" - name: OPENEBS_IO_JIVA_REPLICA_COUNT value: "{{ .Values.jiva.replicas }}" - name: OPENEBS_IO_CSTOR_TARGET_IMAGE - value: "{{ .Values.cstor.target.image }}:{{ .Values.cstor.target.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.cstor.target.image }}:{{ .Values.cstor.target.imageTag }}" - name: OPENEBS_IO_CSTOR_POOL_IMAGE - value: "{{ .Values.cstor.pool.image }}:{{ .Values.cstor.pool.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.cstor.pool.image }}:{{ .Values.cstor.pool.imageTag }}" - name: OPENEBS_IO_CSTOR_POOL_MGMT_IMAGE - value: "{{ .Values.cstor.poolMgmt.image }}:{{ .Values.cstor.poolMgmt.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.cstor.poolMgmt.image }}:{{ .Values.cstor.poolMgmt.imageTag }}" - name: OPENEBS_IO_CSTOR_VOLUME_MGMT_IMAGE - value: "{{ .Values.cstor.volumeMgmt.image }}:{{ .Values.cstor.volumeMgmt.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.cstor.volumeMgmt.image }}:{{ .Values.cstor.volumeMgmt.imageTag }}" - name: OPENEBS_IO_VOLUME_MONITOR_IMAGE - value: "{{ .Values.policies.monitoring.image }}:{{ .Values.policies.monitoring.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.policies.monitoring.image }}:{{ .Values.policies.monitoring.imageTag }}" - name: OPENEBS_IO_CSTOR_POOL_EXPORTER_IMAGE - value: "{{ .Values.policies.monitoring.image }}:{{ .Values.policies.monitoring.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.policies.monitoring.image }}:{{ .Values.policies.monitoring.imageTag }}" - name: OPENEBS_IO_HELPER_IMAGE - value: "{{ .Values.helper.image }}:{{ .Values.helper.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.helper.image }}:{{ .Values.helper.imageTag }}" # OPENEBS_IO_ENABLE_ANALYTICS if set to true sends anonymous usage # events to Google Analytics - name: OPENEBS_IO_ENABLE_ANALYTICS @@ -139,6 +139,10 @@ spec: value: "{{ .Values.analytics.pingInterval }}" - name: OPENEBS_IO_INSTALLER_TYPE value: "charts-helm" + # OPENEBS_IO_INSTALL_CRD environment variable is used to enable/disable CRD installation + # from Maya API server. By default the CRDs will be installed + - name: OPENEBS_IO_INSTALL_CRD + value: "{{ .Values.crd.enableInstall }}" livenessProbe: exec: command: diff --git a/assets/components/openebs/templates/deployment-maya-provisioner.yaml b/assets/components/openebs/templates/deployment-maya-provisioner.yaml index ebe61cc28..df917018e 100644 --- a/assets/components/openebs/templates/deployment-maya-provisioner.yaml +++ b/assets/components/openebs/templates/deployment-maya-provisioner.yaml @@ -34,7 +34,7 @@ spec: serviceAccountName: {{ template "openebs.serviceAccountName" . }} containers: - name: {{ template "openebs.name" . }}-provisioner - image: "{{ .Values.provisioner.image }}:{{ .Values.provisioner.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.provisioner.image }}:{{ .Values.provisioner.imageTag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: # OPENEBS_IO_K8S_MASTER enables openebs provisioner to connect to K8s diff --git a/assets/components/openebs/templates/deployment-maya-snapshot-operator.yaml b/assets/components/openebs/templates/deployment-maya-snapshot-operator.yaml index 27462b0f2..707986831 100644 --- a/assets/components/openebs/templates/deployment-maya-snapshot-operator.yaml +++ b/assets/components/openebs/templates/deployment-maya-snapshot-operator.yaml @@ -33,7 +33,7 @@ spec: serviceAccountName: {{ template "openebs.serviceAccountName" . }} containers: - name: {{ template "openebs.name" . }}-snapshot-controller - image: "{{ .Values.snapshotOperator.controller.image }}:{{ .Values.snapshotOperator.controller.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.snapshotOperator.controller.image }}:{{ .Values.snapshotOperator.controller.imageTag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: # OPENEBS_IO_K8S_MASTER enables openebs snapshot controller to connect to K8s @@ -75,7 +75,7 @@ spec: initialDelaySeconds: {{ .Values.snapshotOperator.healthCheck.initialDelaySeconds }} periodSeconds: {{ .Values.snapshotOperator.healthCheck.periodSeconds }} - name: {{ template "openebs.name" . }}-snapshot-provisioner - image: "{{ .Values.snapshotOperator.provisioner.image }}:{{ .Values.snapshotOperator.provisioner.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.snapshotOperator.provisioner.image }}:{{ .Values.snapshotOperator.provisioner.imageTag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} env: # OPENEBS_IO_K8S_MASTER enables openebs snapshot provisioner to connect to K8s diff --git a/assets/components/openebs/templates/deployment-ndm-operator.yaml b/assets/components/openebs/templates/deployment-ndm-operator.yaml index 98be2c325..27e61d5a0 100644 --- a/assets/components/openebs/templates/deployment-ndm-operator.yaml +++ b/assets/components/openebs/templates/deployment-ndm-operator.yaml @@ -35,7 +35,7 @@ spec: serviceAccountName: {{ template "openebs.serviceAccountName" . }} containers: - name: {{ template "openebs.fullname" . }}-ndm-operator - image: "{{ .Values.ndmOperator.image }}:{{ .Values.ndmOperator.imageTag }}" + image: "{{ .Values.image.repository }}{{ .Values.ndmOperator.image }}:{{ .Values.ndmOperator.imageTag }}" imagePullPolicy: {{ .Values.image.pullPolicy }} readinessProbe: exec: @@ -54,10 +54,18 @@ spec: valueFrom: fieldRef: fieldPath: metadata.name + - name: SERVICE_ACCOUNT + valueFrom: + fieldRef: + fieldPath: spec.serviceAccountName - name: OPERATOR_NAME value: "node-disk-operator" - name: CLEANUP_JOB_IMAGE - value: "{{ .Values.helper.image }}:{{ .Values.helper.imageTag }}" + value: "{{ .Values.image.repository }}{{ .Values.helper.image }}:{{ .Values.helper.imageTag }}" + # OPENEBS_IO_INSTALL_CRD environment variable is used to enable/disable CRD installation + # from NDM Operator. By default the CRDs will be installed + - name: OPENEBS_IO_INSTALL_CRD + value: "{{ .Values.crd.enableInstall }}" # Process name used for matching is limited to the 15 characters # present in the pgrep output. # So fullname can be used here with pgrep (cmd is < 15 chars). diff --git a/assets/components/openebs/values.yaml b/assets/components/openebs/values.yaml index f8451b75c..671c757af 100644 --- a/assets/components/openebs/values.yaml +++ b/assets/components/openebs/values.yaml @@ -13,15 +13,16 @@ serviceAccount: release: # "openebs.io/version" label for control plane components - version: "1.9.0" + version: "1.10.0" image: pullPolicy: IfNotPresent + repository: "quay.io/" apiserver: enabled: true - image: "quay.io/openebs/m-apiserver" - imageTag: "1.9.0" + image: "openebs/m-apiserver" + imageTag: "1.10.0" replicas: 1 ports: externalPort: 5656 @@ -45,8 +46,8 @@ varDirectoryPath: provisioner: enabled: true - image: "quay.io/openebs/openebs-k8s-provisioner" - imageTag: "1.9.0" + image: "openebs/openebs-k8s-provisioner" + imageTag: "1.10.0" replicas: 1 nodeSelector: {} tolerations: [] @@ -57,8 +58,8 @@ provisioner: localprovisioner: enabled: true - image: "quay.io/openebs/provisioner-localpv" - imageTag: "1.9.0" + image: "openebs/provisioner-localpv" + imageTag: "1.10.0" replicas: 1 basePath: "/var/openebs/local" nodeSelector: {} @@ -71,11 +72,11 @@ localprovisioner: snapshotOperator: enabled: true controller: - image: "quay.io/openebs/snapshot-controller" - imageTag: "1.9.0" + image: "openebs/snapshot-controller" + imageTag: "1.10.0" provisioner: - image: "quay.io/openebs/snapshot-provisioner" - imageTag: "1.9.0" + image: "openebs/snapshot-provisioner" + imageTag: "1.10.0" replicas: 1 upgradeStrategy: "Recreate" nodeSelector: {} @@ -87,14 +88,17 @@ snapshotOperator: ndm: enabled: true - image: "quay.io/openebs/node-disk-manager-amd64" - imageTag: "v0.4.9" + image: "openebs/node-disk-manager-amd64" + imageTag: "0.5.0" sparse: path: "/var/openebs/sparse" size: "10737418240" count: "0" filters: + enableOsDiskExcludeFilter: true + enableVendorFilter: true excludeVendors: "CLOUDBYT,OpenEBS" + enablePathFilter: true includePaths: "" excludePaths: "loop,fd0,sr0,/dev/ram,/dev/dm-,/dev/md" probes: @@ -107,8 +111,8 @@ ndm: ndmOperator: enabled: true - image: "quay.io/openebs/node-disk-operator-amd64" - imageTag: "v0.4.9" + image: "openebs/node-disk-operator-amd64" + imageTag: "0.5.0" replicas: 1 upgradeStrategy: Recreate nodeSelector: {} @@ -123,8 +127,8 @@ ndmOperator: webhook: enabled: true - image: "quay.io/openebs/admission-server" - imageTag: "1.9.0" + image: "openebs/admission-server" + imageTag: "1.10.0" failurePolicy: Ignore replicas: 1 healthCheck: @@ -135,34 +139,43 @@ webhook: affinity: {} jiva: - image: "quay.io/openebs/jiva" - imageTag: "1.9.0" + image: "openebs/jiva" + imageTag: "1.10.0" replicas: 3 defaultStoragePath: "/var/openebs" cstor: pool: - image: "quay.io/openebs/cstor-pool" - imageTag: "1.9.0" + image: "openebs/cstor-pool" + imageTag: "1.10.0" poolMgmt: - image: "quay.io/openebs/cstor-pool-mgmt" - imageTag: "1.9.0" + image: "openebs/cstor-pool-mgmt" + imageTag: "1.10.0" target: - image: "quay.io/openebs/cstor-istgt" - imageTag: "1.9.0" + image: "openebs/cstor-istgt" + imageTag: "1.10.0" volumeMgmt: - image: "quay.io/openebs/cstor-volume-mgmt" - imageTag: "1.9.0" + image: "openebs/cstor-volume-mgmt" + imageTag: "1.10.0" helper: - image: "quay.io/openebs/linux-utils" - imageTag: "1.9.0" + image: "openebs/linux-utils" + imageTag: "1.10.0" + +featureGates: + enabled: false + GPTBasedUUID: + enabled: false + featureGateFlag: "GPTBasedUUID" + +crd: + enableInstall: true policies: monitoring: enabled: true - image: "quay.io/openebs/m-exporter" - imageTag: "1.9.0" + image: "openebs/m-exporter" + imageTag: "1.10.0" analytics: enabled: true