mirror of
https://github.com/pomerium/pomerium.git
synced 2025-04-30 10:56:28 +02:00
24 lines
567 B
YAML
24 lines
567 B
YAML
apiVersion: networking.k8s.io/v1
|
|
kind: Ingress
|
|
metadata:
|
|
name: hello
|
|
annotations:
|
|
cert-manager.io/issuer: pomerium-issuer
|
|
ingress.pomerium.io/policy: '[{"allow":{"and":[{"domain":{"is":"example.com"}}]}}]'
|
|
spec:
|
|
ingressClassName: pomerium
|
|
rules:
|
|
- host: hello.localhost.pomerium.io
|
|
http:
|
|
paths:
|
|
- backend:
|
|
service:
|
|
name: nginx
|
|
port:
|
|
name: http
|
|
path: /
|
|
pathType: Prefix
|
|
tls:
|
|
- hosts:
|
|
- hello.localhost.pomerium.io
|
|
secretName: hello.localhost.pomerium.io-tls
|