Fix Headers middleware documentation, usage of proper bool
This commit is contained in:
parent
e5e46bf4ed
commit
8d827f98da
1 changed files with 3 additions and 3 deletions
|
@ -151,8 +151,8 @@ metadata:
|
|||
name: testHeader
|
||||
spec:
|
||||
headers:
|
||||
frameDeny: "true"
|
||||
sslRedirect: "true"
|
||||
frameDeny: true
|
||||
sslRedirect: true
|
||||
```
|
||||
|
||||
```yaml tab="Consul Catalog"
|
||||
|
@ -217,7 +217,7 @@ spec:
|
|||
- "https://foo.bar.org"
|
||||
- "https://example.org"
|
||||
accessControlMaxAge: 100
|
||||
addVaryHeader: "true"
|
||||
addVaryHeader: true
|
||||
```
|
||||
|
||||
```yaml tab="Consul Catalog"
|
||||
|
|
Loading…
Reference in a new issue