secret correction

This commit is contained in:
ducoterra
2020-06-15 21:34:52 -04:00
parent 19d81fbc3f
commit caf47e38b2
9 changed files with 62 additions and 26 deletions

View File

@@ -12,10 +12,12 @@ Navigate to <http://pgadmin.local>
```bash
# first time set the secrets flag
helm install postgres ./postgres --set secrets=true
helm install postgres ./postgres --set secret=true
# To redeploy or upgrade
helm upgrade postgres ./postgres
# After uninstall secrets and pvc are not removed, reinstall without the --set secrets=true to use the old secret
```
### Get Password
@@ -31,7 +33,7 @@ echo $(kubectl get secret postgres --output=jsonpath='{.data.POSTGRES_PASSWORD}'
```bash
prefix=<custom prefix>
# first time set the secrets flag
helm template pgadmin ./pgadmin --set host=$prefix"pgadmin.apps.aws.e1.nwie.net" --set secrets=true | kubectl apply -f -
helm template pgadmin ./pgadmin --set host=$prefix"pgadmin.apps.aws.e1.nwie.net" --set secret=true | kubectl apply -f -
# To redeploy or upgrade
helm template pgadmin ./pgadmin --set host=$prefix"pgadmin.apps.aws.e1.nwie.net" | kubectl apply -f -