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

16 lines
390 B
YAML
Raw Normal View History

apiVersion: v1
kind: Secret
metadata:
name: todo-list-secret
namespace: todo
labels:
kiamol: ch21-lab
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*;"
}
}