Shared Gateway Reference Grant
Grants Workspaces or Gateway Groups the ability to reference a shared Gateway.
SharedGatewayReferenceGrant
Shared Gateway Reference Grants allows sharing a Gateway with other Workspaces or Gateway Groups, so that the referencing Workspaces or Gateway Groups can apply their own configurations to the shared Gateway.
The following example creates a Shared Gateway Reference Grant for the Gateway shared-gw1
and allows the Workspace w2
to reference it and apply its own configurations. Any shared Gateway configurations that are applied to shared-gw1
in Workspace w2
will be applied to the Gateway shared-gw1
in Workspace w1
.
apiVersion: gateway.tsb.tetrate.io/v2
kind: SharedGatewayReferenceGrant
metadata:
name: shared-gw1-grant
group: g1
workspace: w1
tenant: mycompany
organization: myorg
spec:
gatewaySelectors:
- nameSelector:
name: shared-gw1
from:
fqn:
- organizations/tetrate/tenants/mycompany/workspaces/w2
Field | Description | Validation Rule |
---|---|---|
updateProtectionEnabled | bool | – |
from | tetrateio.api.tsb.gateway.v2.SharedGatewayReferenceGrant.From | – |
gatewaySelectors | List of tetrateio.api.tsb.gateway.v2.SharedGatewayReferenceGrant.GatewaySelector | repeated = { |
From
From specifies the resource that is granted access to the shared Gateway.
Field | Description | Validation Rule |
---|---|---|
fqn | List of string | repeated = { |
GatewaySelector
GatewaySelector specifies which Gateways are being shared.
Field | Description | Validation Rule |
---|---|---|
nameSelector | tetrateio.api.tsb.gateway.v2.SharedGatewayReferenceGrant.GatewaySelector.NameSelector oneof _selector_specifier | – |
appLabelSelector | tetrateio.api.tsb.gateway.v2.SharedGatewayReferenceGrant.GatewaySelector.AppLabelSelector oneof _selector_specifier | – |
AppLabelSelector
AppLabelSelector specifies the app label and namespace of the Gateway to be shared. This is used to select Gateways with a specific app label and namespace within the same Workspace or Gateway Group as the SharedGatewayReferenceGrant.
Field | Description | Validation Rule |
---|---|---|
appLabel | string | string = { |
namespace | string | string = { |
NameSelector
NameSelector specifies the name of the Gateway to be shared in the same Workspace or Gateway Group as the SharedGatewayReferenceGrant.
Field | Description | Validation Rule |
---|---|---|
name | string | string = { |