File tree 1 file changed +4
-56
lines changed
clusters/apps/env/production/games/retrom/app
1 file changed +4
-56
lines changed Original file line number Diff line number Diff line change @@ -4,56 +4,23 @@ kind: IngressRoute
4
4
metadata :
5
5
name : ${APP}
6
6
annotations :
7
- kubernetes.io/ingress.class : " traefik-external"
8
- external-dns.alpha.kubernetes.io/hostname : ${INGRESSROUTE_SUBDOMAIN}.${FAMILY_DOMAIN}
9
- external-dns.alpha.kubernetes.io/target : ${DYNAMIC_DOMAIN}
10
- external-dns/public : " true"
7
+ kubernetes.io/ingress.class : " traefik-internal"
11
8
spec :
12
9
entryPoints :
13
10
- websecure
14
11
routes :
15
12
- kind : Rule
16
13
match : " Host(`${INGRESSROUTE_SUBDOMAIN}.${FAMILY_DOMAIN}`)"
17
- middlewares :
18
- - name : oauth-auth
19
- namespace : auth-system
20
- - name : oauth-errors
21
- namespace : auth-system
22
14
priority : 10
23
15
services :
24
16
- name : ${APP}
25
17
port : 3000
26
- - kind : Rule
27
- match : " Host(`${INGRESSROUTE_SUBDOMAIN}.${FAMILY_DOMAIN}`) && PathPrefix(`/oauth2/`)"
28
- priority : 15
29
- middlewares :
30
- - name : oauth-headers
31
- namespace : auth-system
32
- services :
33
- - name : google-auth-oauth2-proxy
34
- namespace : auth-system
35
- port : 80
36
18
- kind : Rule
37
19
match : " Host(`${INGRESSROUTE_SUBDOMAIN}-backend.${FAMILY_DOMAIN}`)"
38
- middlewares :
39
- - name : oauth-auth
40
- namespace : auth-system
41
- - name : oauth-errors
42
- namespace : auth-system
43
20
priority : 10
44
21
services :
45
22
- name : ${APP}
46
23
port : 5101
47
- - kind : Rule
48
- match : " Host(`${INGRESSROUTE_SUBDOMAIN}-backend.${FAMILY_DOMAIN}`) && PathPrefix(`/oauth2/`)"
49
- priority : 15
50
- middlewares :
51
- - name : oauth-headers
52
- namespace : auth-system
53
- services :
54
- - name : google-auth-oauth2-proxy
55
- namespace : auth-system
56
- port : 80
57
24
tls :
58
25
secretName : heyjohn-wildcard-certificate
59
26
domains :
62
29
apiVersion : externaldns.k8s.io/v1alpha1
63
30
kind : DNSEndpoint
64
31
metadata :
65
- name : ${APP}-external
66
- annotations :
67
- external-dns/public : " true"
68
- spec :
69
- endpoints :
70
- - dnsName : ${INGRESSROUTE_SUBDOMAIN}.${FAMILY_DOMAIN}
71
- recordTTL : 300
72
- recordType : CNAME
73
- targets :
74
- - ${DYNAMIC_DOMAIN}
75
- - dnsName : ${INGRESSROUTE_SUBDOMAIN}-backend.${FAMILY_DOMAIN}
76
- recordTTL : 300
77
- recordType : CNAME
78
- targets :
79
- - ${DYNAMIC_DOMAIN}
80
- ---
81
- apiVersion : externaldns.k8s.io/v1alpha1
82
- kind : DNSEndpoint
83
- metadata :
84
- name : ${APP}-internal
32
+ name : ${APP}
85
33
annotations :
86
34
external-dns/private : " true"
87
35
spec :
90
38
recordTTL : 300
91
39
recordType : A
92
40
targets :
93
- - ${CLUSTER_LB_INGRESS_EXTERNAL }
41
+ - ${CLUSTER_LB_INGRESS_INTERNAL }
94
42
- dnsName : ${INGRESSROUTE_SUBDOMAIN}-backend.${FAMILY_DOMAIN}
95
43
recordTTL : 300
96
44
recordType : A
97
45
targets :
98
- - ${CLUSTER_LB_INGRESS_EXTERNAL }
46
+ - ${CLUSTER_LB_INGRESS_INTERNAL }
You can’t perform that action at this time.
0 commit comments