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 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
194 additions
and
58 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,11 @@ | ||
apiVersion: v2 | ||
<<<<<<< HEAD | ||
version: 3.1.1 | ||
======= | ||
version: 3.1.0 | ||
>>>>>>> 5df6763e87283308cec4b147b4e5375735801364 | ||
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 +28,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.1" | ||
version: "3.1.0" | ||
repository: "https://openebs.github.io/cstor-operators" | ||
condition: cstor.enabled | ||
- name: jiva | ||
version: "3.0.1" | ||
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.7.1" | ||
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
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.