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

View File

@@ -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"