Skip to content

Commit

Permalink
api: Deprecate instance types feature gate and spec field
Browse files Browse the repository at this point in the history
The feature gate and configuration fields are no longer used.

Signed-off-by: Andrej Krejcir <[email protected]>
  • Loading branch information
akrejcir committed Sep 12, 2024
1 parent abb9272 commit 129e1f3
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 20 deletions.
9 changes: 5 additions & 4 deletions api/v1beta2/ssp_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ type SSPSpec struct {
// TokenGenerationService configures the service for generating tokens to access VNC for a VM.
TokenGenerationService *TokenGenerationService `json:"tokenGenerationService,omitempty"`

// CommonInstancetypes is the configuration of the common-instancetypes operand
//
// Deprecated: This functionality will be removed in a future release.
// CommonInstancetypes is ignored.
// +kubebuilder:deprecatedversion:warning="commonInstancetypes filed is ignored"
// Deprecated: This field is ignored.
CommonInstancetypes *CommonInstancetypes `json:"commonInstancetypes,omitempty"`

// TektonPipelines is the configuration of the tekton-pipelines operand
Expand Down Expand Up @@ -123,7 +123,8 @@ type FeatureGates struct {
// Deprecated: This field is ignored.
DeployVmConsoleProxy bool `json:"deployVmConsoleProxy,omitempty"`

// Enables deployment of the common-instancetypes bundles, defaults to true.
// +kubebuilder:deprecatedversion:warning="instance types and preferences are no longer deployed by SSP"
// Deprecated: This field is ignored.
DeployCommonInstancetypes *bool `json:"deployCommonInstancetypes,omitempty"`
}

Expand Down
9 changes: 3 additions & 6 deletions config/crd/bases/ssp.kubevirt.io_ssps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3300,10 +3300,8 @@ spec:
properties:
commonInstancetypes:
description: |-
CommonInstancetypes is the configuration of the common-instancetypes operand
Deprecated: This functionality will be removed in a future release.
CommonInstancetypes is ignored.
Deprecated: This field is ignored.
properties:
url:
description: |-
Expand Down Expand Up @@ -4187,8 +4185,7 @@ spec:
description: FeatureGates for SSP
properties:
deployCommonInstancetypes:
description: Enables deployment of the common-instancetypes bundles,
defaults to true.
description: 'Deprecated: This field is ignored.'
type: boolean
deployTektonTaskResources:
description: 'Deprecated: This field is ignored.'
Expand Down
9 changes: 3 additions & 6 deletions data/crd/ssp.kubevirt.io_ssps.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3302,10 +3302,8 @@ spec:
properties:
commonInstancetypes:
description: |-
CommonInstancetypes is the configuration of the common-instancetypes operand
Deprecated: This functionality will be removed in a future release.
CommonInstancetypes is ignored.
Deprecated: This field is ignored.
properties:
url:
description: |-
Expand Down Expand Up @@ -4189,8 +4187,7 @@ spec:
description: FeatureGates for SSP
properties:
deployCommonInstancetypes:
description: Enables deployment of the common-instancetypes bundles,
defaults to true.
description: 'Deprecated: This field is ignored.'
type: boolean
deployTektonTaskResources:
description: 'Deprecated: This field is ignored.'
Expand Down
9 changes: 5 additions & 4 deletions vendor/kubevirt.io/ssp-operator/api/v1beta2/ssp_types.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 129e1f3

Please sign in to comment.