@@ -21,28 +21,28 @@ import (
2121)
2222
2323const (
24- ResourceKindHubManagerRobot = "HubManagerRobot "
25- ResourceHubManagerRobot = "hubmanagerrobot "
26- ResourceHubManagerRobots = "hubmanagerrobots "
24+ ResourceKindHubClusterRobot = "HubClusterRobot "
25+ ResourceHubClusterRobot = "hubclusterrobot "
26+ ResourceHubClusterRobots = "hubclusterrobots "
2727)
2828
29- // HubManagerRobot defines the schama for HubManagerRobot .
29+ // HubClusterRobot defines the schama for HubClusterRobot .
3030
3131// +genclient
3232// +genclient:skipVerbs=updateStatus
3333// +k8s:openapi-gen=true
3434// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
3535
3636// +kubebuilder:object:root=true
37- // +kubebuilder:resource:path=hubmanagerrobots ,singular=hubmanagerrobot ,categories={kubeops,appscode}
38- type HubManagerRobot struct {
37+ // +kubebuilder:resource:path=hubclusterrobots ,singular=hubclusterrobot ,categories={kubeops,appscode}
38+ type HubClusterRobot struct {
3939 metav1.TypeMeta `json:",inline,omitempty"`
4040 metav1.ObjectMeta `json:"metadata,omitempty"`
41- Spec HubManagerRobotSpec `json:"spec,omitempty"`
41+ Spec HubClusterRobotSpec `json:"spec,omitempty"`
4242}
4343
44- // HubManagerRobotSpec is the schema for Identity Server values file
45- type HubManagerRobotSpec struct {
44+ // HubClusterRobotSpec is the schema for Identity Server values file
45+ type HubClusterRobotSpec struct {
4646 //+optional
4747 NameOverride string `json:"nameOverride"`
4848 //+optional
@@ -56,10 +56,10 @@ type HubManagerRobotSpec struct {
5656
5757// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object
5858
59- // HubManagerRobotList is a list of HubManagerRobots
60- type HubManagerRobotList struct {
59+ // HubClusterRobotList is a list of HubClusterRobots
60+ type HubClusterRobotList struct {
6161 metav1.TypeMeta `json:",inline"`
6262 metav1.ListMeta `json:"metadata,omitempty"`
63- // Items is a list of HubManagerRobot CRD objects
64- Items []HubManagerRobot `json:"items,omitempty"`
63+ // Items is a list of HubClusterRobot CRD objects
64+ Items []HubClusterRobot `json:"items,omitempty"`
6565}
0 commit comments