mirror of https://github.com/status-im/consul.git
Update website/content/docs/api-gateway/consul-api-gateway-install.mdx
This commit is contained in:
parent
be5ff8095f
commit
d5eed9dff3
|
@ -247,7 +247,7 @@ spec:
|
||||||
For a listener's `certificateRef` to reference a secret in a different namespace, you must also create a [ReferencePolicy](https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io/v1alpha2.ReferencePolicy).
|
For a listener's `certificateRef` to reference a secret in a different namespace, you must also create a [ReferencePolicy](https://gateway-api.sigs.k8s.io/v1alpha2/references/spec/#gateway.networking.k8s.io/v1alpha2.ReferencePolicy).
|
||||||
|
|
||||||
The following example creates a `Gateway` named `example-gateway` in `gateway-namespace`. This `Gateway` has a `certificateRef` in `secret-namespace`.
|
The following example creates a `Gateway` named `example-gateway` in `gateway-namespace`. This `Gateway` has a `certificateRef` in `secret-namespace`.
|
||||||
The reference is allowed because `reference-policy` in `secret-namespace` lets `Gateways` in `gateway-namespace` to reference `Secrets` in `secret-namespace`.
|
The reference is allowed because `reference-policy` in `secret-namespace` lets `Gateways` in `gateway-namespace` reference `Secrets` in `secret-namespace`.
|
||||||
|
|
||||||
<CodeBlockConfig filename="gateway_with_referencepolicy.yaml">
|
<CodeBlockConfig filename="gateway_with_referencepolicy.yaml">
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue