local-path-provisioner change default version to v0.0.19 and update config template (#7238)
* update local-path-storage config template to version v0.0.19 * changes local_path_provisioner image tag to v0.0.19 * removes copy paste example from rancher local-path-provisioner repopull/7245/head
parent
699fbd64ab
commit
1f84d6344b
|
@ -26,7 +26,7 @@ local_path_provisioner_enabled: false
|
||||||
# local_path_provisioner_claim_root: /opt/local-path-provisioner/
|
# local_path_provisioner_claim_root: /opt/local-path-provisioner/
|
||||||
# local_path_provisioner_debug: false
|
# local_path_provisioner_debug: false
|
||||||
# local_path_provisioner_image_repo: "rancher/local-path-provisioner"
|
# local_path_provisioner_image_repo: "rancher/local-path-provisioner"
|
||||||
# local_path_provisioner_image_tag: "v0.0.14"
|
# local_path_provisioner_image_tag: "v0.0.19"
|
||||||
# local_path_provisioner_helper_image_repo: "busybox"
|
# local_path_provisioner_helper_image_repo: "busybox"
|
||||||
# local_path_provisioner_helper_image_tag: "latest"
|
# local_path_provisioner_helper_image_tag: "latest"
|
||||||
|
|
||||||
|
|
|
@ -14,3 +14,46 @@ data:
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
setup: |-
|
||||||
|
#!/bin/sh
|
||||||
|
while getopts "m:s:p:" opt
|
||||||
|
do
|
||||||
|
case $opt in
|
||||||
|
p)
|
||||||
|
absolutePath=$OPTARG
|
||||||
|
;;
|
||||||
|
s)
|
||||||
|
sizeInBytes=$OPTARG
|
||||||
|
;;
|
||||||
|
m)
|
||||||
|
volMode=$OPTARG
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
mkdir -m 0777 -p ${absolutePath}
|
||||||
|
teardown: |-
|
||||||
|
#!/bin/sh
|
||||||
|
while getopts "m:s:p:" opt
|
||||||
|
do
|
||||||
|
case $opt in
|
||||||
|
p)
|
||||||
|
absolutePath=$OPTARG
|
||||||
|
;;
|
||||||
|
s)
|
||||||
|
sizeInBytes=$OPTARG
|
||||||
|
;;
|
||||||
|
m)
|
||||||
|
volMode=$OPTARG
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
done
|
||||||
|
rm -rf ${absolutePath}
|
||||||
|
helperPod.yaml: |-
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
|
metadata:
|
||||||
|
name: helper-pod
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: helper-pod
|
||||||
|
image: busybox
|
||||||
|
|
Loading…
Reference in New Issue