Changeset - f7dea43be3a5
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 2 years ago 2022-09-15 06:16:14
drewp@bigasterisk.com
add projects.bigasterisk.com (but still fwd it to nginx)
1 file changed with 20 insertions and 0 deletions:
0 comments (0 inline, 0 general)
ingress-default.yaml
Show inline comments
 
@@ -8,12 +8,32 @@ metadata:
 
    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
 
---
 
apiVersion: networking.k8s.io/v1
 
kind: Ingress
 
metadata:
 
  name: default-projects
 
  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: "projects.bigasterisk.com"
 
      http:
 
        paths:
 
          - { pathType: Prefix, path: /, backend: { service: { name: nginx, port: { number: 11444 } } } }
 
  tls:
 
    - hosts: [projects.bigasterisk.com]
 
      secretName: projects.bigasterisk.com-tls
0 comments (0 inline, 0 general)