CleanUp+Werf
This commit is contained in:
parent
7c8239b942
commit
76170f973d
94 changed files with 119 additions and 5498 deletions
|
@ -22,7 +22,6 @@ k8sDeploy () {
|
|||
fi
|
||||
sleep 10
|
||||
done
|
||||
cd ${groot}/contrib
|
||||
}
|
||||
InstallCSI () {
|
||||
helm repo add rimusz https://charts.rimusz.net
|
||||
|
@ -40,7 +39,7 @@ InstallPGSQL () {
|
|||
helm install db bitnami/postgresql \
|
||||
--set persistence.storageClass=hostpath \
|
||||
--set persistence.size=1Gi
|
||||
export POSTGRES_PASSWORD=$(kubectl get secret db-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)
|
||||
POSTGRES_PASSWORD=$(kubectl get secret db-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)
|
||||
}
|
||||
InstallIngress () {
|
||||
# Allow scheduling on our master node
|
||||
|
@ -51,6 +50,10 @@ InstallIngress () {
|
|||
# Fix external IP for LB...
|
||||
kubectl patch svc $(kubectl get svc -n kube-system|grep nginx-ingress|awk '{print $1}') -n kube-system --patch "$(cat ${groot}/contrib/ymls/ingress.fix.yaml)"
|
||||
}
|
||||
InstallApp () {
|
||||
cd ${groot}
|
||||
werf deploy --env production --set 'DBPwd=$(kubectl get secret db-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode'
|
||||
}
|
||||
|
||||
if [ ! -f ${bootflag} ]; then
|
||||
touch ${bootflag}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue