mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 22:40:12 +01:00
feat(chart): add helm chart for zfs local pv (#247)
Signed-off-by: shubham <shubham.bajpai@mayadata.io>
This commit is contained in:
parent
90ecfe9c73
commit
bd6df9b31d
19 changed files with 2555 additions and 1 deletions
17
deploy/helm/charts/templates/configmap.yaml
Normal file
17
deploy/helm/charts/templates/configmap.yaml
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
kind: ConfigMap
|
||||
apiVersion: v1
|
||||
metadata:
|
||||
name: openebs-zfspv-bin
|
||||
namespace: {{ .Release.Namespace }} # should be the same namespace where it is getting mounted
|
||||
labels:
|
||||
{{- include "zfslocalpv.zfsNode.labels" . | nindent 4 }}
|
||||
data:
|
||||
zfs: |
|
||||
#!/bin/sh
|
||||
if [ -x /host/sbin/zfs ]; then
|
||||
chroot /host /sbin/zfs "$@"
|
||||
elif [ -x /host/usr/sbin/zfs ]; then
|
||||
chroot /host /usr/sbin/zfs "$@"
|
||||
else
|
||||
chroot /host zfs "$@"
|
||||
fi
|
||||
Loading…
Add table
Add a link
Reference in a new issue