21 lines
412 B
YAML
21 lines
412 B
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: user-controller
|
|
labels:
|
|
kiamol: ch20
|
|
spec:
|
|
selector:
|
|
matchLabels:
|
|
app: user-controller
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: user-controller
|
|
spec:
|
|
serviceAccountName: user-controller
|
|
automountServiceAccountToken: true
|
|
containers:
|
|
- image: kiamol/ch20-user-controller
|
|
name: controller
|