gluster-kubernetes
gluster-kubernetes copied to clipboard
[GAP] Can StorageClass RestURL be defined as $dynamic enviroment variable?
Hi there,
Maybe I am missing something but wouldn't it be ace if the RestURL be defined with a dynamic variable?
https://github.com/gluster/gluster-kubernetes/blob/master/docs/examples/hello_world/README.md
apiVersion: storage.k8s.io/v1beta1 kind: StorageClass metadata: name: gluster-heketi <1> provisioner: kubernetes.io/glusterfs <2> parameters: resturl: "http://10.42.0.0:8080" <4> restuser: "joe" <5> restuserkey: "My Secret Life" <6>
Anyone know how to make this magic happen :) I feel this is great especially if an event occurred and the whole cluster was rebooted and many IP addreses changed.
~Haji