Skip to content

Commit

Permalink
Merge pull request #1074 from akrejcir/remove-instance-types
Browse files Browse the repository at this point in the history
Remove instance types and preferences
  • Loading branch information
kubevirt-bot authored Sep 20, 2024
2 parents 1b4e457 + 129e1f3 commit e2dd4b9
Show file tree
Hide file tree
Showing 357 changed files with 180 additions and 111,199 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
4 changes: 0 additions & 4 deletions config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -236,20 +236,16 @@ rules:
resources:
- virtualmachineclusterinstancetypes
verbs:
- create
- delete
- list
- update
- watch
- apiGroups:
- instancetype.kubevirt.io
resources:
- virtualmachineclusterpreferences
verbs:
- create
- delete
- list
- update
- watch
- apiGroups:
- kubevirt.io
Expand Down
Loading

0 comments on commit e2dd4b9

Please sign in to comment.