This commit is contained in:
2020-03-16 10:00:52 +01:00
parent 68921748f0
commit 1f3a134e52
3 changed files with 29 additions and 18 deletions

25
manifests/demo.yaml Normal file
View File

@@ -0,0 +1,25 @@
---
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