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