Skip to content

Commit 9fbcefd

Browse files
authored
Merge pull request #50423 from windsonsea/apiv11
[zh] Update 2024-05-09-gateway-api-v1.1/index.md
2 parents 4cac2f2 + 7c86373 commit 9fbcefd

File tree

1 file changed

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

1 file changed

+10
-10
lines changed

content/zh-cn/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
@@ -233,20 +233,20 @@ metadata:
233233
spec:
234234
gatewayClassName: acme-lb
235235
listeners:
236-
name: foo-https
236+
- name: foo-https
237237
protocol: HTTPS
238238
port: 443
239239
hostname: foo.example.com
240-
tls:
241-
certificateRefs:
242-
kind: Secret
243-
group: ""
244-
name: foo-example-com-cert
245-
frontendValidation:
246-
caCertificateRefs:
247-
kind: ConfigMap
240+
tls:
241+
certificateRefs:
242+
- kind: Secret
248243
group: ""
249-
name: foo-example-com-ca-cert
244+
name: foo-example-com-cert
245+
frontendValidation:
246+
caCertificateRefs:
247+
- kind: ConfigMap
248+
group: ""
249+
name: foo-example-com-ca-cert
250250
```
251251

252252
<!--

0 commit comments

Comments
 (0)