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

15 lines
380 B
YAML
Raw Permalink Normal View History

apiVersion: v1
kind: Secret
metadata:
name: todo-list-secret
labels:
kiamol: ch20
type: Opaque
stringData:
secrets.json: |-
{
"ConnectionStrings": {
"ToDoDb": "server=todo-db-mysql-master;database=todo;user=root;password=kiamol-2*2*",
"ToDoDb-ReadOnly": "server=todo-db-mysql-replicas;database=todo;user=root;password=kiamol-2*2*"
}
}