Skip to content

Commit

Permalink
Merge pull request kubevirt#10187 from lyarwood/remove-flavor-rbac
Browse files Browse the repository at this point in the history
virt-operator: Remove flavor.kubevirt.io RBAC
  • Loading branch information
kubevirt-bot authored Aug 4, 2023
2 parents 5d0c33e + afb7065 commit bf40f86
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 47 deletions.
16 changes: 0 additions & 16 deletions manifests/generated/operator-csv.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -330,22 +330,6 @@ spec:
- list
- watch
- patch
- apiGroups:
- flavor.kubevirt.io
resources:
- virtualmachineflavors
- virtualmachineclusterflavors
- virtualmachinepreferences
- virtualmachineclusterpreferences
verbs:
- get
- delete
- create
- update
- patch
- list
- watch
- deletecollection
- apiGroups:
- ""
resources:
Expand Down
16 changes: 0 additions & 16 deletions manifests/generated/rbac-operator.authorization.k8s.yaml.in
Original file line number Diff line number Diff line change
Expand Up @@ -270,22 +270,6 @@ rules:
- list
- watch
- patch
- apiGroups:
- flavor.kubevirt.io
resources:
- virtualmachineflavors
- virtualmachineclusterflavors
- virtualmachinepreferences
- virtualmachineclusterpreferences
verbs:
- get
- delete
- create
- update
- patch
- list
- watch
- deletecollection
- apiGroups:
- ""
resources:
Expand Down
15 changes: 0 additions & 15 deletions pkg/virt-operator/resource/generate/rbac/operator.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,21 +313,6 @@ func NewOperatorClusterRole() *rbacv1.ClusterRole {
"patch",
},
},
// FIXME - Keep the flavor (now renamed instancetype) permissions around until v0.56 to allow the operator to update from v0.54.
{
APIGroups: []string{
"flavor.kubevirt.io",
},
Resources: []string{
"virtualmachineflavors",
"virtualmachineclusterflavors",
"virtualmachinepreferences",
"virtualmachineclusterpreferences",
},
Verbs: []string{
"get", "delete", "create", "update", "patch", "list", "watch", "deletecollection",
},
},
},
}

Expand Down

0 comments on commit bf40f86

Please sign in to comment.