Fix ingress

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
2025-06-25 15:09:08 +01:00
parent 3f78cd2d2e
commit 869e8436df

View File

@@ -59,17 +59,25 @@ apiVersion: networking.k8s.io/v1
kind: Ingress kind: Ingress
metadata: metadata:
name: yay-or-nay name: yay-or-nay
namespace: yay-or-nay
labels: labels:
app.kubernetes.io/name: yay-or-nay app.kubernetes.io/name: yay-or-nay
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec: spec:
tls:
- hosts:
- "yay-or-nay.cluster.fun"
secretName: "yay-or-nay-ingress"
rules: rules:
- host: yay-or-nay.cluster.fun - host: "yay-or-nay.cluster.fun"
http: http:
paths: paths:
- path: / - path: "/"
pathType: ImplementationSpecific pathType: ImplementationSpecific
backend: backend:
service: service:
name: yay-or-nay name: yay-or-nay
port: port:
name: web name: web