~sbaildon/cluster

ref: a0502bd1be830ed188f7dbc462e013ebe7319348 cluster/projects/crave_supply/ingress.yaml -rw-r--r-- 2.4 KiB
a0502bd1Sean Baildon production certificates 1 year, 12 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: auth-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: dashboard-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: webhooks-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