Configured separate ingress for webhook

This commit is contained in:
Marcin-Ramotowski
2025-08-01 22:58:02 +02:00
parent c9ffa1c420
commit 77884b291d
4 changed files with 57 additions and 1 deletions

View File

@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argo-ingress
namespace: argo
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
ingressClassName: nginx
rules:
- host: argo.marcin00.pl
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: argo-server
port:
number: 2746

View File

@ -0,0 +1,16 @@
apiVersion: v1
kind: Service
metadata:
name: webhook-eventsource-svc
namespace: argo-events
spec:
type: ClusterIP
ports:
- name: default
port: 12000
protocol: TCP
targetPort: 12000
selector:
controller: eventsource-controller
eventsource-name: webhook
owner-name: webhook

View File

@ -10,6 +10,6 @@ spec:
targetPort: 12000
webhook:
test-hook:
endpoint: /example
endpoint: /gitea-hook
method: POST
port: "12000"

View File

@ -0,0 +1,20 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: argo-ingress
namespace: argo-events
annotations:
nginx.ingress.kubernetes.io/ssl-redirect: "false"
spec:
ingressClassName: nginx
rules:
- host: argo-hook.marcin00.pl
http:
paths:
- path: /gitea-hook
pathType: Prefix
backend:
service:
name: webhook-eventsource-svc
port:
number: 12000