Fix documentation to match new gateway-api selector syntax
This commit is contained in:
parent
3b33ffa245
commit
50f95dd909
3 changed files with 13 additions and 6 deletions
|
|
@ -325,11 +325,13 @@ kubectl create secret tls whoami-tls --cert=tls.crt --key=tls.key
|
||||||
web:
|
web:
|
||||||
port: 80
|
port: 80
|
||||||
protocol: HTTP
|
protocol: HTTP
|
||||||
namespacePolicy: All
|
namespacePolicy:
|
||||||
|
from: All
|
||||||
websecure:
|
websecure:
|
||||||
port: 443
|
port: 443
|
||||||
protocol: HTTPS
|
protocol: HTTPS
|
||||||
namespacePolicy: All
|
namespacePolicy:
|
||||||
|
from: All
|
||||||
mode: Terminate
|
mode: Terminate
|
||||||
certificateRefs:
|
certificateRefs:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
|
|
|
||||||
|
|
@ -79,7 +79,10 @@ providers:
|
||||||
kubernetesGateway:
|
kubernetesGateway:
|
||||||
enabled: true
|
enabled: true
|
||||||
gateway:
|
gateway:
|
||||||
namespacePolicy: All
|
listeners:
|
||||||
|
web:
|
||||||
|
namespacePolicy:
|
||||||
|
from: All
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
|
|
@ -106,7 +109,7 @@ helm install traefik traefik/traefik --wait \
|
||||||
--set ingressRoute.dashboard.matchRule='Host(`dashboard.localhost`)' \
|
--set ingressRoute.dashboard.matchRule='Host(`dashboard.localhost`)' \
|
||||||
--set ingressRoute.dashboard.entryPoints={web} \
|
--set ingressRoute.dashboard.entryPoints={web} \
|
||||||
--set providers.kubernetesGateway.enabled=true \
|
--set providers.kubernetesGateway.enabled=true \
|
||||||
--set gateway.namespacePolicy=All
|
--set gateway.listeners.web.namespacePolicy.from=All
|
||||||
```
|
```
|
||||||
|
|
||||||
!!! info
|
!!! info
|
||||||
|
|
|
||||||
|
|
@ -162,12 +162,14 @@ gateway:
|
||||||
web: # HTTP listener that matches entryPoint `web`
|
web: # HTTP listener that matches entryPoint `web`
|
||||||
port: 80
|
port: 80
|
||||||
protocol: HTTP
|
protocol: HTTP
|
||||||
namespacePolicy: All
|
namespacePolicy:
|
||||||
|
from: All
|
||||||
|
|
||||||
websecure: # HTTPS listener that matches entryPoint `websecure`
|
websecure: # HTTPS listener that matches entryPoint `websecure`
|
||||||
port: 443
|
port: 443
|
||||||
protocol: HTTPS # TLS terminates inside Traefik
|
protocol: HTTPS # TLS terminates inside Traefik
|
||||||
namespacePolicy: All
|
namespacePolicy:
|
||||||
|
from: All
|
||||||
mode: Terminate
|
mode: Terminate
|
||||||
certificateRefs:
|
certificateRefs:
|
||||||
- kind: Secret
|
- kind: Secret
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue