FEAT(argocd): add webhook ingress without Authelia
- Add separate ingress for /api/webhook path - Exclude Authelia middleware for GitHub webhook - Enable automatic refresh on git push events
This commit is contained in:
@@ -23,3 +23,28 @@ spec:
|
|||||||
name: argocd-server
|
name: argocd-server
|
||||||
port:
|
port:
|
||||||
number: 80
|
number: 80
|
||||||
|
---
|
||||||
|
apiVersion: networking.k8s.io/v1
|
||||||
|
kind: Ingress
|
||||||
|
metadata:
|
||||||
|
name: argocd-webhook-ingress
|
||||||
|
namespace: argocd
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/cluster-issuer: "letsencrypt-prod"
|
||||||
|
spec:
|
||||||
|
ingressClassName: traefik
|
||||||
|
tls:
|
||||||
|
- hosts:
|
||||||
|
- argocd0213.kro.kr
|
||||||
|
secretName: argocd-server-tls
|
||||||
|
rules:
|
||||||
|
- host: argocd0213.kro.kr
|
||||||
|
http:
|
||||||
|
paths:
|
||||||
|
- path: /api/webhook
|
||||||
|
pathType: Prefix
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: argocd-server
|
||||||
|
port:
|
||||||
|
number: 80
|
||||||
|
|||||||
Reference in New Issue
Block a user