~sbaildon/cluster

de63ad085f04fa7f12c29585c117d810997e83e3 — Sean Baildon a month ago e5a07ba
ingress?
1 files changed, 107 insertions(+), 0 deletions(-)

A projects/crave_supply/ingress.yaml
A projects/crave_supply/ingress.yaml => projects/crave_supply/ingress.yaml +107 -0
@@ 0,0 1,107 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: crave
  labels:
    app: crave
  annotations:
    projectcontour.io/websocket-routes: "/"
    kubernetes.io/ingress.allow-http: "false"
    ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
  ingressClassName: "contour"
  tls:
    - hosts:
        - auth.crave.supply
      secretName: auth-crave-supply-tls
  rules:
    - host: auth.crave.supply
      http:
        paths:
          - pathType: ImplementationSpecific
            backend:
              service:
                name: crave
                port:
                  name: auth
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: crave
  labels:
    app: crave
  annotations:
    projectcontour.io/websocket-routes: "/"
    kubernetes.io/ingress.allow-http: "false"
    ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
  ingressClassName: "contour"
  tls:
    - hosts:
        - dashboard.crave.supply
      secretName: dashboard-crave-supply-tls
  rules:
    - host: dashboard.crave.supply
      http:
        paths:
          - pathType: ImplementationSpecific
            backend:
              service:
                name: crave
                port:
                  name: dashboard
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: crave
  labels:
    app: crave
  annotations:
    projectcontour.io/websocket-routes: "/"
    kubernetes.io/ingress.allow-http: "false"
    ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
  ingressClassName: "contour"
  tls:
    - hosts:
        - webhooks.crave.supply
      secretName: webhooks-crave-supply-tls
  rules:
    - host: webhooks.crave.supply
      http:
        paths:
          - pathType: ImplementationSpecific
            backend:
              service:
                name: crave
                port:
                  name: webhooks
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: crave
  labels:
    app: crave
  annotations:
    projectcontour.io/websocket-routes: "/"
    kubernetes.io/ingress.allow-http: "false"
    ingress.kubernetes.io/force-ssl-redirect: "true"
spec:
  ingressClassName: "contour"
  tls:
    - hosts:
        - crave.supply
      secretName: crave-supply-tls
  rules:
    - host: crave.supply
      http:
        paths:
          - pathType: ImplementationSpecific
            backend:
              service:
                name: crave
                port:
                  name: app