kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch09/todo-list/web/todo-web-secret.yaml

15 lines
439 B
YAML
Raw Normal View History

apiVersion: v1
kind: Secret
metadata:
name: todo-web-secret
labels:
kiamol: ch09
type: Opaque
stringData:
secrets.json: |-
{
"ConnectionStrings": {
"ToDoDb": "Server=todo-db-0.todo-db.default.svc.cluster.local;Database=todo;User Id=postgres;Password=kiamol-2*2*;",
"ToDoDb-ReadOnly": "Server=todo-db-1.todo-db.default.svc.cluster.local;Database=todo;User Id=postgres;Password=kiamol-2*2*;"
}
}