view ingress-default.yaml @ 1:9d3a9e524ad3

fuss with ns and stuff to get it working. forward all (over http) to nginx at first
author drewp@bigasterisk.com
date Tue, 13 Sep 2022 22:32:50 -0700
parents
children f7dea43be3a5
line wrap: on
line source

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: default
  annotations:
    cert-manager.io/issuer: letsencrypt-prod
    ingress.pomerium.io/allow_public_unauthenticated_access: "true"
    ingress.pomerium.io/pass_identity_headers: "true"
    ingress.pomerium.io/preserve_host_header: "true"
spec:
  ingressClassName: pomerium
  rules:
    - host: "bigasterisk.com"
      http:
        paths:
          - { pathType: Prefix, path: /, backend: { service: { name: nginx, port: { number: 11444 } } } }
  tls:
    - hosts: [bigasterisk.com]
      secretName: bigasterisk.com-tls