Sidecar Configuration
Sidecar Configuration
represents boot configuration required to start
a sidecar, e.g. Istio Sidecar
.
Dir
Dir specifies a directory.
Field | Description | Validation Rule |
---|---|---|
path | string | – |
mode | int32 | – |
EnvVar
EnvVar specifies a single environment variable.
Field | Description | Validation Rule |
---|---|---|
name | string | – |
value | string | – |
valueEquality | tetrateio.api.onboarding.private.types.sidecar.v1alpha1.ContentEquality | – |
File
File specifies a configuration file.
Field | Description | Validation Rule |
---|---|---|
path | string | – |
mode | int32 | – |
content | bytes | – |
contentEquality | tetrateio.api.onboarding.private.types.sidecar.v1alpha1.ContentEquality | – |
reloadable | bool | – |
SidecarConfiguration
SidecarConfiguration represents boot configuration of a sidecar, e.g.
Istio Sidecar
.
Field | Description | Validation Rule |
---|---|---|
seed | tetrateio.api.onboarding.private.types.sidecar.v1alpha1.SidecarConfigurationSeed oneof _kind | – |
update | tetrateio.api.onboarding.private.types.sidecar.v1alpha1.SidecarConfigurationUpdate oneof _kind | – |
SidecarConfigurationSeed
SidecarConfigurationSeed represents seed configuration required to start
a sidecar, e.g. Istio Sidecar
.
Field | Description | Validation Rule |
---|---|---|
command | string Notice that E.g., | – |
args | List of string | – |
env | List of tetrateio.api.onboarding.private.types.sidecar.v1alpha1.EnvVar | – |
files | List of tetrateio.api.onboarding.private.types.sidecar.v1alpha1.File | – |
dirs | List of tetrateio.api.onboarding.private.types.sidecar.v1alpha1.Dir | – |
SidecarConfigurationUpdate
SidecarConfigurationUpdate represents an update to the already known seed configuration that can be applied without full restart of the sidecar.
Field | Description | Validation Rule |
---|---|---|
files | List of tetrateio.api.onboarding.private.types.sidecar.v1alpha1.File | – |
ContentEquality
ContentEquality specifies a strategy to compare two text-like values for equality, e.g. old and new values of a certain configuration property.
Field | Number | Description |
---|---|---|
BYTES | 0 | Compares two values as opaque byte arrays. |
JSON | 1 | Compares two values as JSON values. |