Fix Headers middleware documentation, usage of proper bool

This commit is contained in:
Romain 2020-06-17 10:22:03 +02:00 committed by GitHub
parent e5e46bf4ed
commit 8d827f98da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,8 +151,8 @@ metadata:
name: testHeader name: testHeader
spec: spec:
headers: headers:
frameDeny: "true" frameDeny: true
sslRedirect: "true" sslRedirect: true
``` ```
```yaml tab="Consul Catalog" ```yaml tab="Consul Catalog"
@ -217,7 +217,7 @@ spec:
- "https://foo.bar.org" - "https://foo.bar.org"
- "https://example.org" - "https://example.org"
accessControlMaxAge: 100 accessControlMaxAge: 100
addVaryHeader: "true" addVaryHeader: true
``` ```
```yaml tab="Consul Catalog" ```yaml tab="Consul Catalog"