fix: use the name flux-webhook for ingress

Signed-off-by: Devin Buhl <devin@buhl.casa>
This commit is contained in:
Devin Buhl committed 2023-01-01 20:03:21 -05:00
1 parent 17a3fc3586
commit b0413fffe0
2 files changed
+5 -5

No files matched your search

@@ -2,7 +2,7 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: webhook-receiver
name: flux-webhook
namespace: flux-system
annotations:
cert-manager.io/cluster-issuer: letsencrypt-staging
@@ -12,7 +12,7 @@ metadata:
spec:
ingressClassName: nginx
rules:
- host: &host "flux-receiver.${SECRET_DOMAIN}"
- host: &host "flux-webhook.${SECRET_DOMAIN}"
http:
paths:
- path: /hook/
@@ -25,4 +25,4 @@ spec:
tls:
- hosts:
- *host
secretName: flux-receiver-tls
secretName: flux-webhook-tls