-
Notifications
You must be signed in to change notification settings - Fork 190
Expand file tree
/
Copy pathgateway-6.yaml
More file actions
43 lines (43 loc) · 870 Bytes
/
gateway-6.yaml
File metadata and controls
43 lines (43 loc) · 870 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
33
34
35
36
37
38
39
40
41
42
43
apiVersion: gateway.networking.k8s.io/v1
kind: Gateway
metadata:
name: gateway
spec:
gatewayClassName: nginx
infrastructure:
annotations:
networking.gke.io/load-balancer-type: Internal
listeners:
- name: http
port: 80
protocol: HTTP
hostname: "cafe.example.com"
- name: http-2
port: 80
protocol: HTTP
hostname: "2.example.com"
- name: http-3
port: 80
protocol: HTTP
hostname: "3.example.com"
- name: http-4
port: 80
protocol: HTTP
hostname: "4.example.com"
- name: http-5
port: 80
protocol: HTTP
hostname: "5.example.com"
- name: http-6
port: 80
protocol: HTTP
hostname: "6.example.com"
- name: https
port: 443
protocol: HTTPS
hostname: "*.example.com"
tls:
mode: Terminate
certificateRefs:
- kind: Secret
name: cafe-secret