-
Notifications
You must be signed in to change notification settings - Fork 96
unable to change localprovisioner path #203
Comments
I hope this query is related to openebs hostpath volume. kubectl get sc openebs-hostpath -o jsonpath='{.metadata.annotations.cas\.openebs\.io\/config}'
- name: StorageType
value: "hostpath"
- name: BasePath
value: /var/openebs/local There are 2 options if we want to save the data in some other place in the host.
Here is one sample storageclass apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
name: updated-openebs-hostpath
annotations:
openebs.io/cas-type: local
cas.openebs.io/config: |
- name: StorageType
value: "hostpath"
- name: BasePath
value: "/var/openebs/local"
provisioner: openebs.io/local
volumeBindingMode: WaitForFirstConsumer
reclaimPolicy: Delete |
I have tested this in |
Hi @shovanmaity -- is it possible to install the same chart with a modified value? |
Yes it is possible, like point 1 in the comment.
|
@Sam-Lin-MillersLab - do you still need a fix for this one? |
well, sorry, I haven't had a chance to test it. you can close it if you want. i will report if it doesn't work. |
Fresh installation here.
Also tried a fresh install with;
Anything else to check? |
So if you set it wrong in the first time, you can't change it. Not even uninstall the chart and reinstall it
I am using 2.7.0
The text was updated successfully, but these errors were encountered: