First release

This commit is contained in:
Adrien Reslinger 2020-03-16 15:34:32 +01:00
parent f9305cfab1
commit adca04dadf
13 changed files with 260 additions and 0 deletions

6
bin/gen_list.sh Executable file
View 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