37 lines
832 B
YAML
37 lines
832 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
|
|
- ntfy.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
|
|
- host: ntfy.cluster.fun
|
|
http:
|
|
paths:
|
|
- path: /
|
|
pathType: ImplementationSpecific
|
|
backend:
|
|
service:
|
|
name: tailscale-proxy
|
|
port:
|
|
name: non-auth
|