add pgadmin interface

This commit is contained in:
marcel-dempers 2020-03-06 20:29:21 +11:00
parent b279955aff
commit b7f939855d
3 changed files with 13 additions and 5 deletions

View File

@ -1,9 +1,9 @@
apiVersion: v1
kind: ConfigMap
metadata:
  name: pgadmin-config
  labels:
    app: pgadmin
name: pgadmin-config
labels:
app: pgadmin
data:
PGADMIN_DEFAULT_EMAIL: admin@admin.com
PGADMIN_DEFAULT_PASSWORD: admin123

View File

@ -6,6 +6,7 @@ Deploy our test database
```
kubectl create ns postgres
kubectl -n postgres apply -f ./hashicorp/vault/example-apps/dynamic-postgresql/postgres.yaml
kubectl -n postgres apply -f ./hashicorp/vault/example-apps/dynamic-postgresql/pgadmin.yaml
kubectl -n postgres get pods
kubectl -n postgres exec -it <podname> bash

View File

@ -100,8 +100,15 @@ Objective:
[Try it](./example-apps/basic-secret/readme.md)
### Dynamic Secrets: Postgres
Objective:
----------
* We have a Postgres Database
* Let's delegate Vault to manage life cycles of our database credentials
* Deploy an app, that automatically gets it's credentials from vault
[Try it](./example-apps/basic-secret/readme.md)