work in progress
This commit is contained in:
commit
5f68c259f5
17 changed files with 994 additions and 0 deletions
14
bin/update.sh
Executable file
14
bin/update.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
wget https://github.com/drone/charts/raw/master/charts/drone/values.yaml
|
||||
helm repo add drone https://charts.drone.io
|
||||
helm repo update
|
||||
helm template drone drone/drone --namespace drone --values drone-values.yaml > drone.yaml
|
||||
|
||||
|
||||
kubernetes-split-yaml drone.yaml > generated.log
|
||||
mv generated/*.yaml files/drone/
|
||||
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\)| - "\2"|'
|
||||
rm -fr generated generated.log drone.yaml
|
||||
|
||||
https://github.com/drone/charts/raw/master/charts/drone-runner-kube/values.yaml
|
||||
Loading…
Add table
Add a link
Reference in a new issue