+Postgress
This commit is contained in:
parent
639278299b
commit
73c78ae875
1 changed files with 3 additions and 3 deletions
|
@ -33,11 +33,11 @@ InstallRegistry () {
|
|||
}
|
||||
InstallPGSQL () {
|
||||
helm repo add bitnami https://charts.bitnami.com/bitnami
|
||||
helm install bitnami/postgresql \
|
||||
helm install db bitnami/postgresql \
|
||||
--set postgresql.password=K8Sdemo \
|
||||
--set persistence.storageClass=hostpath \
|
||||
--set persistence.size=1Gi --name db
|
||||
# export POSTGRES_PASSWORD=$(kubectl get secret $(kubectl get svc|grep postgres|awk '{print $1}'|grep -v headless) -o jsonpath="{.data.postgresql-password}" | base64 --decode)
|
||||
--set persistence.size=1Gi
|
||||
export POSTGRES_PASSWORD=$(kubectl get secret db-postgresql -o jsonpath="{.data.postgresql-password}" | base64 --decode)
|
||||
}
|
||||
InstallIngress () {
|
||||
# Allow scheduling on our master node
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue