v0 of node that listens for the gitea push trigger.
This commit is contained in:
parent
32588270b1
commit
ab48384d8d
|
|
@ -0,0 +1,22 @@
|
||||||
|
---
|
||||||
|
apiVersion: apps/v1
|
||||||
|
kind: Deployment
|
||||||
|
metadata:
|
||||||
|
name: limbo-gitea-trigger-deployment
|
||||||
|
labels:
|
||||||
|
app: limbo-gitea-trigger
|
||||||
|
spec:
|
||||||
|
replicas: 1
|
||||||
|
selector:
|
||||||
|
matchLabels:
|
||||||
|
app: limbo-gitea-trigger
|
||||||
|
template:
|
||||||
|
metadata:
|
||||||
|
labels:
|
||||||
|
app: limbo-gitea-trigger
|
||||||
|
spec:
|
||||||
|
containers:
|
||||||
|
- name: limbo-gitea-trigger
|
||||||
|
image: harbor.internal.jpace121.net/k8s/j7s-gitea-push-listener:latest
|
||||||
|
command: ["/j7s-gitea-push-listener"]
|
||||||
|
args: ["-postUrl", "el-limbo-pipeline-listener.j7s-ci.svc.cluster.local:8080"]
|
||||||
|
|
@ -0,0 +1,5 @@
|
||||||
|
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||||
|
kind: Kustomization
|
||||||
|
resources:
|
||||||
|
- deployment.yaml
|
||||||
|
- service.yaml
|
||||||
|
|
@ -0,0 +1,12 @@
|
||||||
|
---
|
||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: limbo-gitea-trigger-service
|
||||||
|
spec:
|
||||||
|
selector:
|
||||||
|
app: limbo-gitea-trigger
|
||||||
|
ports:
|
||||||
|
- protocol: TCP
|
||||||
|
targetPort: 8080
|
||||||
|
port: 8080
|
||||||
Loading…
Reference in New Issue