Mercurial > code > home > repos > photoprism
view ingress.yaml @ 8:55a0dc78fc3a default tip
user fix
author | drewp@bigasterisk.com |
---|---|
date | Sat, 25 Mar 2023 15:24:14 -0700 |
parents | 9dc67ae8b507 |
children |
line wrap: on
line source
apiVersion: networking.k8s.io/v1 kind: Ingress metadata: name: photoprism annotations: cert-manager.io/cluster-issuer: letsencrypt-prod ingress.pomerium.io/allow_public_unauthenticated_access: "false" ingress.pomerium.io/pass_identity_headers: "true" ingress.pomerium.io/preserve_host_header: "true" ingress.pomerium.io/policy: | allow: or: - { email: { is: "drewpca@gmail.com" }} - { email: { is: "kelsimp@gmail.com" }} ingress.pomerium.io/prefix_rewrite: "/photoprism/" ingress.pomerium.io/allow_websockets: "true" spec: ingressClassName: pomerium rules: - host: "bigasterisk.com" http: paths: - pathType: Prefix path: /photoprism/ backend: { service: { name: photoprism, port: { number: 80 } } } tls: - hosts: [bigasterisk.com] secretName: bigasterisk.com-tls