kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch21/todo-list/config/todo-list-secret.yaml

15 lines
368 B
YAML
Raw Normal View History

apiVersion: v1
kind: Secret
metadata:
name: todo-list-secret
labels:
kiamol: ch21
type: Opaque
stringData:
secrets.json: |-
{
"ConnectionStrings": {
"ToDoDb": "Server=todo-db;Database=todo;User Id=postgres;Password=kiamol-2*2*;",
"ToDoDb-ReadOnly": "Server=todo-db;Database=todo;User Id=postgres;Password=kiamol-2*2*;"
}
}