mirror of
https://github.com/status-im/consul.git
synced 2025-01-26 21:51:39 +00:00
Update website/content/docs/api-gateway/configuration/gateway.mdx
This commit is contained in:
parent
022c155660
commit
226bfa8203
@ -187,7 +187,7 @@ tls:
|
||||
|
||||
The following example creates a `Gateway` named `example-gateway` in namespace `gateway-namespace` (lines 2-4). The gateway has a `certificateRef` in namespace `secret-namespace` (lines 16-18). The reference is allowed because the `ReferenceGrant` configuration, named `reference-grant` in namespace `secret-namespace` (lines 23-26), allows `Gateways` in `gateway-namespace` to reference `Secrets` in `secret-namespace` (lines 30-34).
|
||||
|
||||
<CodeBlockConfig filename="gateway_with_referencegrant.yaml" lineNumbers=true highlight="2-4","16-18","23-26","30-34">
|
||||
<CodeBlockConfig filename="gateway_with_referencegrant.yaml" lineNumbers highlight="2-4,16-18,23-26,30-34">
|
||||
|
||||
```yaml
|
||||
apiVersion: gateway.networking.k8s.io/v1beta1
|
||||
|
Loading…
x
Reference in New Issue
Block a user