26 lines
585 B
YAML
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
|