Skip to content

Commit

Permalink
renamed InternalHubComponent to InternalEngineComponent
Browse files Browse the repository at this point in the history
Signed-off-by: Nathaniel Graham <[email protected]>
  • Loading branch information
ngraham20 committed Aug 22, 2024
1 parent eb41b7c commit af7956f
Show file tree
Hide file tree
Showing 8 changed files with 104 additions and 104 deletions.
14 changes: 7 additions & 7 deletions api/v1/multiclusterengine_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,23 +251,23 @@ type MultiClusterEngineList struct {
}

// +kubebuilder:object:root=true
// +operator-sdk:csv:customresourcedefinitions:displayName="InternalHubComponent"
type InternalHubComponent struct {
// +operator-sdk:csv:customresourcedefinitions:displayName="InternalEngineComponent"
type InternalEngineComponent struct {
metav1.TypeMeta `json:",inline"`
metav1.ObjectMeta `json:"metadata,omitempty"`
Spec InternalHubComponentSpec `json:"spec,omitempty"`
Spec InternalEngineComponentSpec `json:"spec,omitempty"`
}

// +kubebuilder:object:root=true
type InternalHubComponentList struct {
type InternalEngineComponentList struct {
metav1.TypeMeta `json:",inline"`
metav1.ListMeta `json:"metadata,omitempty"`
Items []InternalHubComponent `json:"items"`
Items []InternalEngineComponent `json:"items"`
}

type InternalHubComponentSpec struct{}
type InternalEngineComponentSpec struct{}

func init() {
SchemeBuilder.Register(&MultiClusterEngine{}, &MultiClusterEngineList{})
SchemeBuilder.Register(&InternalHubComponent{}, &InternalHubComponentList{})
SchemeBuilder.Register(&InternalEngineComponent{}, &InternalEngineComponentList{})
}
30 changes: 15 additions & 15 deletions api/v1/zz_generated.deepcopy.go

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

Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
- apiGroups:
- multicluster.openshift.io
resources:
- internalhubcomponents
- internalenginecomponents
verbs:
- create
- get
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.15.0
name: internalhubcomponents.multicluster.openshift.io
name: internalenginecomponents.multicluster.openshift.io
spec:
group: multicluster.openshift.io
names:
kind: InternalHubComponent
listKind: InternalHubComponentList
plural: internalhubcomponents
singular: internalhubcomponent
kind: InternalEngineComponent
listKind: InternalEngineComponentList
plural: internalenginecomponents
singular: internalenginecomponent
scope: Namespaced
versions:
- name: v1
Expand Down
2 changes: 1 addition & 1 deletion config/rbac/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2044,7 +2044,7 @@ rules:
- apiGroups:
- multicluster.openshift.io
resources:
- internalhubcomponents
- internalenginecomponents
verbs:
- create
- delete
Expand Down
Loading

0 comments on commit af7956f

Please sign in to comment.