kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch09/todo-list/db/todo-db-env.yaml

10 lines
274 B
YAML
Raw Normal View History

apiVersion: v1
kind: ConfigMap
metadata:
name: todo-db-env
labels:
kiamol: ch09
data:
POSTGRES_PRIMARY_NAME: "todo-db-0"
POSTGRES_PRIMARY_FQDN: "todo-db-0.todo-db.default.svc.cluster.local"
POSTGRES_SECONDARY_FQDN: "todo-db-1.todo-db.default.svc.cluster.local"