Files
cicdTest/manifests/demo.yaml
2020-03-16 10:00:52 +01:00

25 lines
594 B
YAML

---
apiVersion: apps/v1
kind: Deployment
metadata:
name: shell-demo
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/managed-by: EventListener
app.kubernetes.io/part-of: Triggers
eventlistener: github-event-listener
template:
metadata:
labels:
app.kubernetes.io/managed-by: EventListener
app.kubernetes.io/part-of: Triggers
eventlistener: github-event-listener
spec:
containers:
- name: nginx
image: nginx
imagePullPolicy: "Always"
ports:
- containerPort: 8080