mirror of
https://github.com/marcel-dempers/docker-development-youtube-series.git
synced 2025-06-04 16:56:56 +00:00
add pgadmin interface
This commit is contained in:
parent
b279955aff
commit
b7f939855d
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user