-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathingress-frontend.yaml
More file actions
32 lines (32 loc) · 849 Bytes
/
ingress-frontend.yaml
File metadata and controls
32 lines (32 loc) · 849 Bytes
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
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: boa-frontend-ing
namespace: default # or $NS
annotations:
kubernetes.io/ingress.class: "gce"
kubernetes.io/ingress.global-static-ip-name: "boa-global-ip"
networking.gke.io/managed-certificates: "boa-frontend-cert"
networking.gke.io/v1beta1.FrontendConfig: "boa-https-redirect"
spec:
rules:
- host: spend-guardian.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: frontend # your Service name
port:
number: 80
- host: www.spend-guardian.com
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: frontend
port:
number: 80