First release
This commit is contained in:
parent
f9305cfab1
commit
adca04dadf
13 changed files with 260 additions and 0 deletions
6
bin/gen_list.sh
Executable file
6
bin/gen_list.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
wget https://raw.githubusercontent.com/rancher/local-path-provisioner/master/deploy/local-path-storage.yaml
|
||||
kubernetes-split-yaml local-path-storage.yaml > generated.log
|
||||
mv generated local
|
||||
cat generated.log | while read LIGNE; do if [ $(echo "${LIGNE}" | grep -c ^File) -eq 1 ]; then echo -n "${LIGNE} "; else echo "${LIGNE}"; fi; done | grep ^File | sort -V | sed 's|.*\(generated/\)\(.*\.yaml\)| - "local/\2"|'
|
||||
sed 's|/opt/local-path-provisioner|/mnt/shared|' -i local/local-path-config-ConfigMap.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue