diff --git a/api/v1alpha1/values_types.gen.go b/api/v1alpha1/values_types.gen.go index 386432eaa..c2eea6744 100644 --- a/api/v1alpha1/values_types.gen.go +++ b/api/v1alpha1/values_types.gen.go @@ -1015,6 +1015,11 @@ type CNIGlobalConfig struct { // Default k8s resources settings for all Istio co Tag *string `json:"tag,omitempty"` // The variant of the Istio container images to use. Options are "debug" or "distroless". Unset will use the default for the given version. Variant *string `json:"variant,omitempty"` + + // Platform in which Istio is deployed. Possible values are: "openshift" and "gcp" + // An empty value means it is a vanilla Kubernetes distribution, therefore no special + // treatment will be considered. + Platform *string `json:"platform,omitempty"` } // Resource describes the source of configuration diff --git a/api/v1alpha1/zz_generated.deepcopy.go b/api/v1alpha1/zz_generated.deepcopy.go index c41ccd16e..6587fcd95 100644 --- a/api/v1alpha1/zz_generated.deepcopy.go +++ b/api/v1alpha1/zz_generated.deepcopy.go @@ -297,6 +297,11 @@ func (in *CNIGlobalConfig) DeepCopyInto(out *CNIGlobalConfig) { *out = new(string) **out = **in } + if in.Platform != nil { + in, out := &in.Platform, &out.Platform + *out = new(string) + **out = **in + } } // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new CNIGlobalConfig. diff --git a/bundle/manifests/sailoperator.io_istiocnis.yaml b/bundle/manifests/sailoperator.io_istiocnis.yaml index 6ad4e92b2..c6c600566 100644 --- a/bundle/manifests/sailoperator.io_istiocnis.yaml +++ b/bundle/manifests/sailoperator.io_istiocnis.yaml @@ -1393,6 +1393,12 @@ spec: If empty, default scope and level will be used as configured in code type: string type: object + platform: + description: |- + Platform in which Istio is deployed. Possible values are: "openshift" and "gcp" + An empty value means it is a vanilla Kubernetes distribution, therefore no special + treatment will be considered. + type: string tag: description: Specifies the tag for the Istio docker images. type: string diff --git a/chart/crds/sailoperator.io_istiocnis.yaml b/chart/crds/sailoperator.io_istiocnis.yaml index 4b2873749..c7de57ddd 100644 --- a/chart/crds/sailoperator.io_istiocnis.yaml +++ b/chart/crds/sailoperator.io_istiocnis.yaml @@ -1393,6 +1393,12 @@ spec: If empty, default scope and level will be used as configured in code type: string type: object + platform: + description: |- + Platform in which Istio is deployed. Possible values are: "openshift" and "gcp" + An empty value means it is a vanilla Kubernetes distribution, therefore no special + treatment will be considered. + type: string tag: description: Specifies the tag for the Istio docker images. type: string diff --git a/docs/api-reference/sailoperator.io.md b/docs/api-reference/sailoperator.io.md index eda6e2f09..0d28e3335 100644 --- a/docs/api-reference/sailoperator.io.md +++ b/docs/api-reference/sailoperator.io.md @@ -139,6 +139,7 @@ _Appears in:_ | `logging` _[GlobalLoggingConfig](#globalloggingconfig)_ | Specifies the global logging level settings for the Istio control plane components. | | | | `tag` _string_ | Specifies the tag for the Istio docker images. | | | | `variant` _string_ | The variant of the Istio container images to use. Options are "debug" or "distroless". Unset will use the default for the given version. | | | +| `platform` _string_ | Platform in which Istio is deployed. Possible values are: "openshift" and "gcp" An empty value means it is a vanilla Kubernetes distribution, therefore no special treatment will be considered. | | | #### CNIRepairConfig diff --git a/hack/api_transformer/transform.yaml b/hack/api_transformer/transform.yaml index f7437ed7f..6b77497ae 100644 --- a/hack/api_transformer/transform.yaml +++ b/hack/api_transformer/transform.yaml @@ -129,6 +129,7 @@ inputFiles: - ImagePullSecrets - LogAsJson - Logging + - Platform - Tag - Variant addComments: