Skip to content
This repository has been archived by the owner on May 8, 2024. It is now read-only.

Commit

Permalink
chore(charts): update helm chart to v3.0.0 (#283)
Browse files Browse the repository at this point in the history
* Update helm chart to v3.0.0 and update dependent charts
* Correct m-exporter image tag in README
* Disabling legacy components
* Update NOTES.txt

Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih authored Sep 24, 2021
1 parent fbafc34 commit 15ad1cc
Show file tree
Hide file tree
Showing 6 changed files with 84 additions and 66 deletions.
14 changes: 7 additions & 7 deletions charts/openebs/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
version: 2.12.9
version: 3.0.0
name: openebs
appVersion: 2.12.2
appVersion: 3.0.0
description: Containerized Attached Storage for Kubernetes
icon: https://raw.githubusercontent.com/cncf/artwork/HEAD/projects/openebs/icon/color/openebs-icon-color.png
home: http://www.openebs.io/
Expand All @@ -24,27 +24,27 @@ maintainers:
email: [email protected]
dependencies:
- name: openebs-ndm
version: "1.6.1"
version: "1.7.1"
repository: "https://openebs.github.io/node-disk-manager"
condition: openebs-ndm.enabled
- name: localpv-provisioner
version: "2.12.1"
version: "3.0.1"
repository: "https://openebs.github.io/dynamic-localpv-provisioner"
condition: localpv-provisioner.enabled
- name: cstor
version: "2.12.1"
version: "3.0.1"
repository: "https://openebs.github.io/cstor-operators"
condition: cstor.enabled
- name: jiva
version: "2.12.2"
version: "3.0.1"
repository: "https://openebs.github.io/jiva-operator"
condition: jiva.enabled
- name: zfs-localpv
version: "1.9.8"
repository: "https://openebs.github.io/zfs-localpv"
condition: zfs-localpv.enabled
- name: lvm-localpv
version: "0.8.4"
version: "0.8.5"
repository: "https://openebs.github.io/lvm-localpv"
condition: lvm-localpv.enabled
- name: nfs-provisioner
Expand Down
30 changes: 15 additions & 15 deletions charts/openebs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,34 +95,34 @@ The following table lists the common configurable parameters of the OpenEBS char
| ----------------------------------------| --------------------------------------------- | ----------------------------------------- |
| `apiserver.enabled` | Enable API Server | `true` |
| `apiserver.image` | Image for API Server | `openebs/m-apiserver` |
| `apiserver.imageTag` | Image Tag for API Server | `2.12.0` |
| `apiserver.imageTag` | Image Tag for API Server | `2.12.2` |
| `cleanup.image.registry` | Cleanup pre hook image registry | `nil` |
| `cleanup.image.repository` | Cleanup pre hook image repository | `"bitnami/kubectl"` |
| `cleanup.image.tag` | Cleanup pre hook image tag | `if not provided determined by the k8s version` |
| `crd.enableInstall` | Enable installation of CRDs by OpenEBS | `true` |
| `cstor.pool.image` | Image for cStor Pool | `openebs/cstor-pool` |
| `cstor.pool.imageTag` | Image Tag for cStor Pool | `2.12.0` |
| `cstor.pool.imageTag` | Image Tag for cStor Pool | `2.12.2` |
| `cstor.poolMgmt.image` | Image for cStor Pool Management | `openebs/cstor-pool-mgmt` |
| `cstor.poolMgmt.imageTag` | Image Tag for cStor Pool Management | `2.12.0` |
| `cstor.poolMgmt.imageTag` | Image Tag for cStor Pool Management | `2.12.2` |
| `cstor.target.image` | Image for cStor Target | `openebs/cstor-istgt` |
| `cstor.target.imageTag` | Image Tag for cStor Target | `2.12.0` |
| `cstor.target.imageTag` | Image Tag for cStor Target | `2.12.2` |
| `cstor.volumeMgmt.image` | Image for cStor Volume Management | `openebs/cstor-volume-mgmt` |
| `cstor.volumeMgmt.imageTag` | Image Tag for cStor Volume Management | `2.12.0` |
| `cstor.volumeMgmt.imageTag` | Image Tag for cStor Volume Management | `2.12.2` |
| `defaultStorageConfig.enabled` | Enable default storage class installation | `true` |
| `healthCheck.initialDelaySeconds` | Delay before liveness probe is initiated | `30` |
| `healthCheck.periodSeconds` | How often to perform the liveness probe | `60` |
| `helper.image` | Image for helper | `openebs/linux-utils` |
| `helper.imageTag` | Image Tag for helper | `2.12.0` |
| `helper.imageTag` | Image Tag for helper | `3.0.0` |
| `image.pullPolicy` | Container pull policy | `IfNotPresent` |
| `image.repository` | Specify which docker registry to use | `""` |
| `jiva.defaultStoragePath` | hostpath used by default Jiva StorageClass | `/var/openebs` |
| `jiva.image` | Image for Jiva | `openebs/jiva` |
| `jiva.imageTag` | Image Tag for Jiva | `2.12.1` |
| `jiva.imageTag` | Image Tag for Jiva | `2.12.2` |
| `jiva.replicas` | Number of Jiva Replicas | `3` |
| `localprovisioner.basePath` | BasePath for hostPath volumes on Nodes | `/var/openebs/local` |
| `localprovisioner.enabled` | Enable localProvisioner | `true` |
| `localprovisioner.image` | Image for localProvisioner | `openebs/provisioner-localpv` |
| `localprovisioner.imageTag` | Image Tag for localProvisioner | `2.12.0` |
| `localprovisioner.imageTag` | Image Tag for localProvisioner | `3.0.0` |
| `ndm.enabled` | Enable Node Disk Manager | `true` |
| `ndm.filters.enableOsDiskExcludeFilter` | Enable filters of OS disk exclude | `true` |
| `ndm.filters.enablePathFilter` | Enable filters of paths | `true` |
Expand All @@ -132,29 +132,29 @@ The following table lists the common configurable parameters of the OpenEBS char
| `ndm.filters.includePaths` | Include devices with specified path patterns | `""` |
| `ndm.filters.osDiskExcludePaths` | Paths/Mounts to be excluded by OS Disk Filter | `/,/etc/hosts,/boot` |
| `ndm.image` | Image for Node Disk Manager | `openebs/node-disk-manager` |
| `ndm.imageTag` | Image Tag for Node Disk Manager | `1.6.1` |
| `ndm.imageTag` | Image Tag for Node Disk Manager | `1.7.0` |
| `ndmOperator.enabled` | Enable NDM Operator | `true` |
| `ndmOperator.image` | Image for NDM Operator | `openebs/node-disk-operator` |
| `ndmOperator.imageTag` | Image Tag for NDM Operator | `1.6.1` |
| `ndmOperator.imageTag` | Image Tag for NDM Operator | `1.7.0` |
| `ndm.probes.enableSeachest` | Enable Seachest probe for NDM | `false` |
| `policies.monitoring.image` | Image for Prometheus Exporter | `openebs/m-exporter` |
| `policies.monitoring.imageTag` | Image Tag for Prometheus Exporter | `2.12.0` |
| `policies.monitoring.imageTag` | Image Tag for Prometheus Exporter | `2.12.2` |
| `provisioner.enabled` | Enable Provisioner | `true` |
| `provisioner.image` | Image for Provisioner | `openebs/openebs-k8s-provisioner` |
| `provisioner.imageTag` | Image Tag for Provisioner | `2.12.0` |
| `provisioner.imageTag` | Image Tag for Provisioner | `2.12.2` |
| `rbac.create` | Enable RBAC Resources | `true` |
| `rbac.kyvernoEnabled` | Create Kyverno policy resources | `false` |
| `rbac.pspEnabled` | Create pod security policy resources | `false` |
| `snapshotOperator.controller.image` | Image for Snapshot Controller | `openebs/snapshot-controller` |
| `snapshotOperator.controller.imageTag` | Image Tag for Snapshot Controller | `2.12.0` |
| `snapshotOperator.controller.imageTag` | Image Tag for Snapshot Controller | `2.12.2` |
| `snapshotOperator.enabled` | Enable Snapshot Provisioner | `true` |
| `snapshotOperator.provisioner.image` | Image for Snapshot Provisioner | `openebs/snapshot-provisioner` |
| `snapshotOperator.provisioner.imageTag` | Image Tag for Snapshot Provisioner | `2.12.0` |
| `snapshotOperator.provisioner.imageTag` | Image Tag for Snapshot Provisioner | `2.12.2` |
| `varDirectoryPath.baseDir` | To store debug info of OpenEBS containers | `/var/openebs` |
| `webhook.enabled` | Enable admission server | `true` |
| `webhook.hostNetwork` | Use hostNetwork in admission server | `false` |
| `webhook.image` | Image for admission server | `openebs/admission-server` |
| `webhook.imageTag` | Image Tag for admission server | `2.12.0` |
| `webhook.imageTag` | Image Tag for admission server | `2.12.2` |

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`.

Expand Down
25 changes: 18 additions & 7 deletions charts/openebs/templates/NOTES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,31 @@ Successfully installed OpenEBS.

Check the status by running: kubectl get pods -n {{ .Release.Namespace }}

The default values enables OpenEBS hostpath, device and jiva engines along with
their default storage classes. Use `kubectl get sc` to see the list of installed
OpenEBS StorageClasses.
The default values will install NDM and enable OpenEBS hostpath and device
storage engines along with their default StorageClasses. Use `kubectl get sc`
to see the list of installed OpenEBS StorageClasses.

**Note**: If you are upgrading from the older helm chart that was using cStor
and Jiva (non-csi) volumes, you will have to run the following command to include
the older provisioners:

helm upgrade {{ .Release.Name }} openebs/openebs \
--namespace {{ .Release.Namespace }} \
--set legacy.enabled=true \
--reuse-values

For other engines, you will need to perform a few more additional steps to
enable the engine, configure the engines (like creating pools) and create
storage classes.
enable the engine, configure the engines (e.g. creating pools) and create
StorageClasses.

For example, cStor can be enabled using commands like:

helm upgrade {{ .Release.Name }} openebs/openebs --set cstor.enabled=true --reuse-values --namespace {{ .Release.Namespace }}
helm upgrade {{ .Release.Name }} openebs/openebs \
--namespace {{ .Release.Namespace }} \
--set cstor.enabled=true \
--reuse-values

For more information,
- view the online documentation at https://openebs.io/ or
- connect with an active community on Kubernetes slack #openebs channel.


Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ metadata:
value: "hostpath"
{{- if .Values.localprovisioner.basePath }}
- name: BasePath
value: {{ .Values.localprovisioner.basePath }}
value: "{{ .Values.localprovisioner.basePath }}"
{{- end }}
provisioner: openebs.io/local
volumeBindingMode: WaitForFirstConsumer
Expand Down
4 changes: 2 additions & 2 deletions charts/openebs/templates/ndm/daemonset-ndm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ spec:
{{- if .Values.featureGates.UseOSDisk.enabled }}
- --feature-gates={{ .Values.featureGates.UseOSDisk.featureGateFlag }}
{{- end}}
{{- if .Values.featureGates.MountChangeDetection.enabled }}
- --feature-gates={{ .Values.featureGates.MountChangeDetection.featureGateFlag }}
{{- if .Values.featureGates.ChangeDetection.enabled }}
- --feature-gates={{ .Values.featureGates.ChangeDetection.featureGateFlag }}
{{- end}}
{{- end}}
imagePullPolicy: {{ .Values.image.pullPolicy }}
Expand Down
Loading

0 comments on commit 15ad1cc

Please sign in to comment.