This repository has been archived by the owner on May 8, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 95
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release(helm-chart): changes for OpenEBS v3.1.0 helm chart (#299)
* release(helm-chart): changes for OpenEBS v3.1.0 helm chart Signed-off-by: Niladri Halder <[email protected]> * add NDM PartitionTableUUID changes Signed-off-by: Niladri Halder <[email protected]> * Fix typo remove-->removed Signed-off-by: Niladri Halder <[email protected]> * Fix typo OR-->AND Signed-off-by: Niladri Halder <[email protected]> * simplify deviceClass/hostpathClass enable/disable template logic Signed-off-by: Niladri Halder <[email protected]> * Update README.md default image version values Signed-off-by: Niladri Halder <[email protected]> * Fix localpvprovisioner file comment indentation Signed-off-by: Niladri Halder <[email protected]> * Link reclaimPolicy and name parameters to templates for LocalPV storageClasses Signed-off-by: Niladri Halder <[email protected]> * Remove 3 trailing space characters Signed-off-by: Niladri Halder <[email protected]> * Remove 1 trailing space character Signed-off-by: Niladri Halder <[email protected]>
- Loading branch information
Showing
8 changed files
with
183 additions
and
56 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
apiVersion: v2 | ||
version: 3.0.6 | ||
version: 3.1.0 | ||
name: openebs | ||
appVersion: 3.0.1 | ||
appVersion: 3.1.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/ | ||
|
@@ -24,30 +24,30 @@ maintainers: | |
email: [email protected] | ||
dependencies: | ||
- name: openebs-ndm | ||
version: "1.7.1" | ||
version: "1.8.0" | ||
repository: "https://openebs.github.io/node-disk-manager" | ||
condition: openebs-ndm.enabled | ||
- name: localpv-provisioner | ||
version: "3.0.1" | ||
version: "3.1.0" | ||
repository: "https://openebs.github.io/dynamic-localpv-provisioner" | ||
condition: localpv-provisioner.enabled | ||
- name: cstor | ||
version: "3.0.2" | ||
version: "3.1.0" | ||
repository: "https://openebs.github.io/cstor-operators" | ||
condition: cstor.enabled | ||
- name: jiva | ||
version: "3.0.5" | ||
version: "3.1.0" | ||
repository: "https://openebs.github.io/jiva-operator" | ||
condition: jiva.enabled | ||
- name: zfs-localpv | ||
version: "1.9.8" | ||
version: "2.0.0" | ||
repository: "https://openebs.github.io/zfs-localpv" | ||
condition: zfs-localpv.enabled | ||
- name: lvm-localpv | ||
version: "0.8.5" | ||
version: "0.8.6" | ||
repository: "https://openebs.github.io/lvm-localpv" | ||
condition: lvm-localpv.enabled | ||
- name: nfs-provisioner | ||
version: "0.8.0" | ||
version: "0.9.0" | ||
repository: "https://openebs.github.io/dynamic-nfs-provisioner" | ||
condition: nfs-provisioner.enabled |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 22 additions & 3 deletions
25
charts/openebs/templates/localprovisioner/device-class.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,38 @@ | ||
{{- if .Values.localprovisioner.enabled }} | ||
{{- $localpvprovisionerValues := index .Values "localpv-provisioner" }} | ||
{{- if not $localpvprovisionerValues.enabled }} | ||
{{- if .Values.localprovisioner.enableDeviceClass }} | ||
# The second operand in the AND operation can be removed | ||
# when enableDeviceClass is deprecated. | ||
{{- if and .Values.localprovisioner.deviceClass.enabled .Values.localprovisioner.enableDeviceClass }} | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: openebs-device | ||
name: {{ .Values.localprovisioner.deviceClass.name }} | ||
annotations: | ||
openebs.io/cas-type: local | ||
cas.openebs.io/config: | | ||
- name: StorageType | ||
value: "device" | ||
{{- if .Values.localprovisioner.deviceClass.fsType }} | ||
- name: FSType | ||
value: {{ .Values.localprovisioner.deviceClass.fsType | quote }} | ||
{{- end }} | ||
{{- if .Values.localprovisioner.deviceClass.blockDeviceSelectors }} | ||
- name: BlockDeviceSelectors | ||
data: | ||
{{ toYaml .Values.localprovisioner.deviceClass.blockDeviceSelectors | indent 10 }} | ||
{{- end }} | ||
{{- if .Values.localprovisioner.deviceClass.nodeAffinityLabels }} | ||
- name: NodeAffinityLabels | ||
list: | ||
{{ toYaml .Values.localprovisioner.deviceClass.nodeAffinityLabels | indent 10 }} | ||
{{- end }} | ||
{{- if .Values.localprovisioner.deviceClass.isDefaultClass }} | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
{{- end }} | ||
provisioner: openebs.io/local | ||
volumeBindingMode: WaitForFirstConsumer | ||
reclaimPolicy: Delete | ||
reclaimPolicy: {{ .Values.localprovisioner.deviceClass.reclaimPolicy }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
20 changes: 15 additions & 5 deletions
20
charts/openebs/templates/localprovisioner/hostpath-class.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,33 @@ | ||
{{- if .Values.localprovisioner.enabled }} | ||
{{- $localpvprovisionerValues := index .Values "localpv-provisioner" }} | ||
{{- if not $localpvprovisionerValues.enabled }} | ||
{{- if .Values.localprovisioner.enableHostpathClass }} | ||
# The second operand in the AND operation can be removed | ||
# when enableHostpathClass is deprecated. | ||
{{- if and .Values.localprovisioner.hostpathClass.enabled .Values.localprovisioner.enableHostpathClass }} | ||
apiVersion: storage.k8s.io/v1 | ||
kind: StorageClass | ||
metadata: | ||
name: openebs-hostpath | ||
name: {{ .Values.localprovisioner.hostpathClass.name }} | ||
annotations: | ||
openebs.io/cas-type: local | ||
cas.openebs.io/config: | | ||
- name: StorageType | ||
value: "hostpath" | ||
{{- if .Values.localprovisioner.basePath }} | ||
{{- if or .Values.localprovisioner.basePath .Values.localprovisioner.hostpathClass.basePath }} | ||
- name: BasePath | ||
value: "{{ .Values.localprovisioner.basePath }}" | ||
value: {{ .Values.localprovisioner.hostpathClass.basePath | default .Values.localprovisioner.basePath | quote }} | ||
{{- end }} | ||
{{- if .Values.localprovisioner.hostpathClass.nodeAffinityLabels }} | ||
- name: NodeAffinityLabels | ||
list: | ||
{{ toYaml .Values.localprovisioner.hostpathClass.nodeAffinityLabels | indent 10 }} | ||
{{- end }} | ||
{{- if .Values.localprovisioner.hostpathClass.isDefaultClass }} | ||
storageclass.kubernetes.io/is-default-class: "true" | ||
{{- end }} | ||
provisioner: openebs.io/local | ||
volumeBindingMode: WaitForFirstConsumer | ||
reclaimPolicy: Delete | ||
reclaimPolicy: {{ .Values.localprovisioner.hostpathClass.reclaimPolicy }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.