kubernetes-yaml/learn/learn-kubernetes-master/kiamol/ch04/todo-list/todo-web-dev-broken.yaml

25 lines
480 B
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: todo-web
spec:
selector:
matchLabels:
app: todo-web
template:
metadata:
labels:
app: todo-web
spec:
containers:
- name: web
image: kiamol/ch04-todo-list
volumeMounts:
- name: config
mountPath: "/app"
readOnly: true
volumes:
- name: config
configMap:
name: todo-web-config-dev