19 lines
320 B
YAML
19 lines
320 B
YAML
|
apiVersion: v1
|
||
|
kind: Secret
|
||
|
metadata:
|
||
|
name: postgres-secret
|
||
|
labels:
|
||
|
app: postgres
|
||
|
type: Opaque
|
||
|
data:
|
||
|
postgres-root-username: cm9vdA==
|
||
|
postgres-root-password: bXlwYXNzd29yZA==
|
||
|
---
|
||
|
apiVersion: v1
|
||
|
kind: ConfigMap
|
||
|
metadata:
|
||
|
name: postgres-configmap
|
||
|
labels:
|
||
|
app: postgres
|
||
|
data:
|
||
|
postgres-dbname: mydb
|