Common Object Types
ConfigMode
The configuration mode used by a traffic, security or a gateway group.
Name | Number | Description |
BRIDGED | 0 | Indicates that the configurations to be added to the group will use macro APIs that automatically generate Istio APIs under the hood. |
DIRECT | 1 | Indicates that the configurations to be added to the group will directly use Istio APIs. |
CreateIstioObjectRequest
Request to create an Istio Object
Field | Description | Validation Rule |
parent | string | string = { |
name | string | string = { |
object | tetrateio.api.tsb.types.v2.IstioObject | message = { |
DeleteIstioObjectRequest
Request to delete a Istio Object.
Field | Description | Validation Rule |
fqn | string | string = { |
GetIstioObjectRequest
Request to retrieve a Istio Object.
Field | Description | Validation Rule |
fqn | string | string = { |
IstioObject
Wrapper for Istio direct mode objects with all the details needed to add it to the TSB resource hierarchy.
Field | Description | Validation Rule |
metadata | tetrateio.api.tsb.types.v2.IstioObject.ConfigMeta | – |
spec | google.protobuf.Any | – |
ConfigMeta
Field | Description | Validation Rule |
apiVersion | string | string = { |
kind | string | string = { |
name | string | – |
namespace | string | – |
labels | map<string, string> | |
annotations | map<string, string> |
IstioObjectSpec
Contains the raw type of an Istio object. This is used to generate the documentation examples when showing the serialized form of Istio direct mode resources.
Field | Description | Validation Rule |
type | – |
ListIstioObjectsRequest
Request to list Istio Object.
Field | Description | Validation Rule |
parent | string | string = { |
ListIstioObjectsResponse
List of Istio direct mode objects
Field | Description | Validation Rule |
objects | – |
NamespaceSelector
NamespaceSelector
selects a set of namespaces across one or more
clusters in a tenant. Namespace selectors can be used at Workspace
level to carve out a chunk of resources under a tenant into an
isolated configuration domain. They can be used in a Traffic,
Security, or a Gateway group to further scope the set of namespaces
that will belong to a specific configuration group.
Field | Description | Validation Rule |
names | List of string | repeated = { |
Object
Format for all API objects in TSB as exposed in the CLI.
Field | Description | Validation Rule |
apiVersion | string | string = { |
kind | string | string = { |
metadata | – | |
spec | google.protobuf.Any | – |
status | map<string, string> |
ObjectMeta
Metadata associated with each API Object.
Field | Description | Validation Rule |
name | string | – |
namespace | string | – |
tenant | string | – |
workspace | string | – |
group | string | – |
resourceVersion | string | – |
labels | map<string, string> | |
annotations | map<string, string> | |
displayName | string | – |
description | string | – |
organization | string | – |
application | string | – |
api | string | – |
RegionalFailover
Specify the traffic failover policy across regions. Since zone and sub-zone failover is supported by default this only needs to be specified for regions when the operator needs to constrain traffic failover so that the default behavior of failing over to any endpoint globally does not apply. This is useful when failing over traffic across regions would not improve service health or may need to be restricted for other reasons like regulatory controls.
Field | Description | Validation Rule |
from | string | – |
to | string | – |
WorkloadSelector
WorkloadSelector
selects one or more workloads in a
namespace. WorkloadSelector
can be used in TrafficSetting,
SecuritySetting, and Gateway APIs in BRIDGED
mode to scope the
configuration to a specific set of workloads.
Field | Description | Validation Rule |
namespace | string | string = { |
labels | map<string, string> |