view ingress-default.yaml @ 18:ae78ba22c2b1

more replicas, less downtime?
author drewp@bigasterisk.com
date Sun, 09 Apr 2023 16:35:55 -0700
parents 90438c76732f
children
line wrap: on
line source

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: default
  annotations:
    cert-manager.io/cluster-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