cluster.fun/manifests/auth-proxy/non-auth-ingress.yaml
Marcus Noble 0e692eaf30
Use implicit mapping for external domains
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
2024-03-30 17:14:51 +00:00

26 lines
585 B
YAML

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: non-auth-proxy
namespace: auth-proxy
annotations:
cert-manager.io/cluster-issuer: letsencrypt
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
ingressClassName: nginx
tls:
- hosts:
- hello-world.cluster.fun
secretName: non-auth-proxy-ingress
rules:
- host: hello-world.cluster.fun
http:
paths:
- path: /
pathType: ImplementationSpecific
backend:
service:
name: tailscale-proxy
port:
name: non-auth