k8s/manifests/00-system-stuff/pg-secret.yaml

19 lines
320 B
YAML
Raw Normal View History

2023-12-14 19:27:10 +10:00
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