Skip to content

Commit 7ec23a8

Browse files
committed
fix: correct invalid Gateway example in v1.1 docs
1 parent fdb06cf commit 7ec23a8

File tree

1 file changed

+10
-10
lines changed
  • content/en/blog/_posts/2024-05-09-gateway-api-v1.1

1 file changed

+10
-10
lines changed

content/en/blog/_posts/2024-05-09-gateway-api-v1.1/index.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -136,20 +136,20 @@ metadata:
136136
spec:
137137
gatewayClassName: acme-lb
138138
listeners:
139-
name: foo-https
139+
- name: foo-https
140140
protocol: HTTPS
141141
port: 443
142142
hostname: foo.example.com
143-
tls:
144-
certificateRefs:
145-
kind: Secret
146-
group: ""
147-
name: foo-example-com-cert
148-
frontendValidation:
149-
caCertificateRefs:
150-
kind: ConfigMap
143+
tls:
144+
certificateRefs:
145+
- kind: Secret
151146
group: ""
152-
name: foo-example-com-ca-cert
147+
name: foo-example-com-cert
148+
frontendValidation:
149+
caCertificateRefs:
150+
- kind: ConfigMap
151+
group: ""
152+
name: foo-example-com-ca-cert
153153
```
154154

155155
#### [Session Persistence and BackendLBPolicy](https://gateway-api.sigs.k8s.io/geps/gep-1619/)

0 commit comments

Comments
 (0)