fixing pomerium traefik sample (#3290)

replace policy by routes
This commit is contained in:
rgrente 2022-05-05 16:38:43 +02:00 committed by GitHub
parent 5fff3c3a7a
commit aa5e63656f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,11 +10,14 @@ config:
sharedSecret: R0+XRoGVpcoi4PfB8tMlvnrS5XUasO+D1frAEdYcYjs= sharedSecret: R0+XRoGVpcoi4PfB8tMlvnrS5XUasO+D1frAEdYcYjs=
cookieSecret: FLPCOQKigK5EQnyXlBhchl5fgzNKqi3ubtvOGt477Dg= cookieSecret: FLPCOQKigK5EQnyXlBhchl5fgzNKqi3ubtvOGt477Dg=
generateTLS: true generateTLS: true
policy: routes:
- from: https://hello.localhost.pomerium.io - from: https://hello.localhost.pomerium.io
to: http://hello-nginx to: http://hello-nginx
allowed_domains: policy:
- gmail.com - allow:
or:
- domain:
is: gmail.com
ingress: ingress:
annotations: annotations:
traefik.ingress.kubernetes.io/router.tls: "true" traefik.ingress.kubernetes.io/router.tls: "true"