diff --git a/go.mod b/go.mod index 57389158c..b68c0c310 100644 --- a/go.mod +++ b/go.mod @@ -50,7 +50,7 @@ require ( kmodules.xyz/go-containerregistry v0.0.12 kmodules.xyz/monitoring-agent-api v0.30.2-0.20241001043315-b98120efea48 kmodules.xyz/offshoot-api v0.30.1 - kmodules.xyz/resource-metadata v0.19.1-0.20241016073336-1307639922b4 + kmodules.xyz/resource-metadata v0.19.1-0.20241016154015-205ef283ba59 kmodules.xyz/resource-metrics v0.30.4 kmodules.xyz/resource-metrics/utils v0.30.4 kmodules.xyz/sets v0.29.0 diff --git a/go.sum b/go.sum index 1f35833af..f80ae7760 100644 --- a/go.sum +++ b/go.sum @@ -934,8 +934,8 @@ kmodules.xyz/monitoring-agent-api v0.30.2-0.20241001043315-b98120efea48 h1:kJdO7 kmodules.xyz/monitoring-agent-api v0.30.2-0.20241001043315-b98120efea48/go.mod h1:oR3tk5O4koYar4cD9N3AjbBFr9XTwBU3sw9qD2NdNQc= kmodules.xyz/offshoot-api v0.30.1 h1:TrulAYO+oBsXe9sZZGTmNWIuI8qD2izMpgcTSPvgAmI= kmodules.xyz/offshoot-api v0.30.1/go.mod h1:T3mpjR6fui0QzOcmQvIuANytW48fe9ytmy/1cgx6D4g= -kmodules.xyz/resource-metadata v0.19.1-0.20241016073336-1307639922b4 h1:k8JQX4XDUU/ULvscjx5ENBb4qNJdWFMcf2V79c+LIcI= -kmodules.xyz/resource-metadata v0.19.1-0.20241016073336-1307639922b4/go.mod h1:ZVjgAj622Fp+8bdmAgHv6PNQHkXXqhR6aQpJg3lO8Bo= +kmodules.xyz/resource-metadata v0.19.1-0.20241016154015-205ef283ba59 h1:0gErwOLp26ErRgl1K91e0MD+k+NRfp4gCTEDArQyTEM= +kmodules.xyz/resource-metadata v0.19.1-0.20241016154015-205ef283ba59/go.mod h1:ZVjgAj622Fp+8bdmAgHv6PNQHkXXqhR6aQpJg3lO8Bo= kmodules.xyz/resource-metrics v0.30.4 h1:8HBPtYmo9ETY91gsc55JE8Z986+3ZuRq57M0wZ9npqI= kmodules.xyz/resource-metrics v0.30.4/go.mod h1:w9+rz7/s/kGP1GWzYSuRdCn+l7EwpesmESSEHkLBnIQ= kmodules.xyz/resource-metrics/utils v0.30.4 h1:bJS/x0Qr7N1FFdxugFbzZ/Es6HVs4ptsFlhkmgj3jac= diff --git a/pkg/registry/meta/clusterprofile/storage.go b/pkg/registry/meta/clusterprofile/storage.go index 232d5151b..8a5b02406 100644 --- a/pkg/registry/meta/clusterprofile/storage.go +++ b/pkg/registry/meta/clusterprofile/storage.go @@ -30,6 +30,7 @@ import ( "k8s.io/apimachinery/pkg/runtime/schema" "k8s.io/apiserver/pkg/registry/rest" "kmodules.xyz/resource-metadata/apis/meta" + rsapi "kmodules.xyz/resource-metadata/apis/meta/v1alpha1" uiapi "kmodules.xyz/resource-metadata/apis/ui/v1alpha1" "kmodules.xyz/resource-metadata/hub/clusterprofiles" "sigs.k8s.io/controller-runtime/pkg/client" @@ -53,14 +54,14 @@ func NewStorage(kc client.Reader) *Storage { return &Storage{ kc: kc, convertor: rest.NewDefaultTableConvertor(schema.GroupResource{ - Group: uiapi.SchemeGroupVersion.Group, + Group: rsapi.SchemeGroupVersion.Group, Resource: uiapi.ResourceClusterProfiles, }), } } func (r *Storage) GroupVersionKind(_ schema.GroupVersion) schema.GroupVersionKind { - return uiapi.SchemeGroupVersion.WithKind(uiapi.ResourceKindClusterProfile) + return rsapi.SchemeGroupVersion.WithKind(uiapi.ResourceKindClusterProfile) } func (r *Storage) NamespaceScoped() bool { @@ -73,7 +74,7 @@ func (r *Storage) GetSingularName() string { // Getter func (r *Storage) New() runtime.Object { - return &uiapi.ClusterProfile{} + return &rsapi.ClusterProfile{} } func (r *Storage) Destroy() {} @@ -83,12 +84,15 @@ func (r *Storage) Get(ctx context.Context, name string, options *metav1.GetOptio if err != nil { return nil, kerr.NewNotFound(schema.GroupResource{Group: meta.GroupName, Resource: uiapi.ResourceKindClusterProfile}, name) } - return obj, err + return &rsapi.ClusterProfile{ + ObjectMeta: obj.ObjectMeta, + Spec: obj.Spec, + }, err } // Lister func (r *Storage) NewList() runtime.Object { - return &uiapi.ClusterProfileList{} + return &rsapi.ClusterProfileList{} } func (r *Storage) List(ctx context.Context, options *metainternalversion.ListOptions) (runtime.Object, error) { @@ -114,15 +118,18 @@ func (r *Storage) List(ctx context.Context, options *metainternalversion.ListOpt objs = objs[:options.Limit] } - items := make([]uiapi.ClusterProfile, 0, len(objs)) + items := make([]rsapi.ClusterProfile, 0, len(objs)) for _, obj := range objs { if options.LabelSelector != nil && !options.LabelSelector.Matches(labels.Set(obj.GetLabels())) { continue } - items = append(items, obj) + items = append(items, rsapi.ClusterProfile{ + ObjectMeta: obj.ObjectMeta, + Spec: obj.Spec, + }) } - return &uiapi.ClusterProfileList{Items: items}, nil + return &rsapi.ClusterProfileList{Items: items}, nil } func (r *Storage) ConvertToTable(ctx context.Context, object runtime.Object, tableOptions runtime.Object) (*metav1.Table, error) { diff --git a/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/clusterprofile_types.go b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/clusterprofile_types.go new file mode 100644 index 000000000..221b542d8 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/clusterprofile_types.go @@ -0,0 +1,49 @@ +/* +Copyright AppsCode Inc. and Contributors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + +package v1alpha1 + +import ( + uiapi "kmodules.xyz/resource-metadata/apis/ui/v1alpha1" + + metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" +) + +// +genclient +// +genclient:nonNamespaced +// +genclient:skipVerbs=updateStatus +// +k8s:openapi-gen=true +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:object:root=true +// +kubebuilder:subresource:status +// +kubebuilder:resource:scope=Cluster +// +kubebuilder:printcolumn:name="Status",type="string",JSONPath=".status.phase" +// +kubebuilder:printcolumn:name="Age",type="date",JSONPath=".metadata.creationTimestamp" +type ClusterProfile struct { + metav1.TypeMeta `json:",inline"` + // +optional + metav1.ObjectMeta `json:"metadata,omitempty"` + Spec uiapi.ClusterProfileSpec `json:"spec,omitempty"` +} + +// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object +// +kubebuilder:object:root=true + +type ClusterProfileList struct { + metav1.TypeMeta `json:",inline"` + metav1.ListMeta `json:"metadata,omitempty"` + Items []ClusterProfile `json:"items,omitempty"` +} diff --git a/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/openapi_generated.go b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/openapi_generated.go index ab3132068..fa553458b 100644 --- a/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/openapi_generated.go +++ b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/openapi_generated.go @@ -357,6 +357,8 @@ func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenA "kmodules.xyz/offshoot-api/api/v1.VolumeSource": schema_kmodulesxyz_offshoot_api_api_v1_VolumeSource(ref), "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.AttributeDefinition": schema_resource_metadata_apis_meta_v1alpha1_AttributeDefinition(ref), "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ChartPresetQuery": schema_resource_metadata_apis_meta_v1alpha1_ChartPresetQuery(ref), + "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ClusterProfile": schema_resource_metadata_apis_meta_v1alpha1_ClusterProfile(ref), + "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ClusterProfileList": schema_resource_metadata_apis_meta_v1alpha1_ClusterProfileList(ref), "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ClusterStatus": schema_resource_metadata_apis_meta_v1alpha1_ClusterStatus(ref), "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ClusterStatusResponse": schema_resource_metadata_apis_meta_v1alpha1_ClusterStatusResponse(ref), "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ColorDefinition": schema_resource_metadata_apis_meta_v1alpha1_ColorDefinition(ref), @@ -18887,6 +18889,93 @@ func schema_resource_metadata_apis_meta_v1alpha1_ChartPresetQuery(ref common.Ref } } +func schema_resource_metadata_apis_meta_v1alpha1_ClusterProfile(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"), + }, + }, + "spec": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/resource-metadata/apis/ui/v1alpha1.ClusterProfileSpec"), + }, + }, + }, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta", "kmodules.xyz/resource-metadata/apis/ui/v1alpha1.ClusterProfileSpec"}, + } +} + +func schema_resource_metadata_apis_meta_v1alpha1_ClusterProfileList(ref common.ReferenceCallback) common.OpenAPIDefinition { + return common.OpenAPIDefinition{ + Schema: spec.Schema{ + SchemaProps: spec.SchemaProps{ + Type: []string{"object"}, + Properties: map[string]spec.Schema{ + "kind": { + SchemaProps: spec.SchemaProps{ + Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds", + Type: []string{"string"}, + Format: "", + }, + }, + "apiVersion": { + SchemaProps: spec.SchemaProps{ + Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources", + Type: []string{"string"}, + Format: "", + }, + }, + "metadata": { + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"), + }, + }, + "items": { + SchemaProps: spec.SchemaProps{ + Type: []string{"array"}, + Items: &spec.SchemaOrArray{ + Schema: &spec.Schema{ + SchemaProps: spec.SchemaProps{ + Default: map[string]interface{}{}, + Ref: ref("kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ClusterProfile"), + }, + }, + }, + }, + }, + }, + }, + }, + Dependencies: []string{ + "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta", "kmodules.xyz/resource-metadata/apis/meta/v1alpha1.ClusterProfile"}, + } +} + func schema_resource_metadata_apis_meta_v1alpha1_ClusterStatus(ref common.ReferenceCallback) common.OpenAPIDefinition { return common.OpenAPIDefinition{ Schema: spec.Schema{ diff --git a/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/register.go b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/register.go index 1141f71e2..30a8cb7ac 100644 --- a/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/register.go +++ b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/register.go @@ -50,6 +50,8 @@ func Resource(resource string) schema.GroupResource { func addKnownTypes(scheme *runtime.Scheme) error { scheme.AddKnownTypes(SchemeGroupVersion, &ChartPresetQuery{}, + &ClusterProfile{}, + &ClusterProfileList{}, &ClusterStatus{}, &ResourceCalculator{}, &ResourceDescriptor{}, diff --git a/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/zz_generated.deepcopy.go b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/zz_generated.deepcopy.go index 25268f160..b0b4686ea 100644 --- a/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/zz_generated.deepcopy.go +++ b/vendor/kmodules.xyz/resource-metadata/apis/meta/v1alpha1/zz_generated.deepcopy.go @@ -89,6 +89,66 @@ func (in *ChartPresetQuery) DeepCopyObject() runtime.Object { return nil } +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterProfile) DeepCopyInto(out *ClusterProfile) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ObjectMeta.DeepCopyInto(&out.ObjectMeta) + in.Spec.DeepCopyInto(&out.Spec) + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProfile. +func (in *ClusterProfile) DeepCopy() *ClusterProfile { + if in == nil { + return nil + } + out := new(ClusterProfile) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterProfile) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + +// DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. +func (in *ClusterProfileList) DeepCopyInto(out *ClusterProfileList) { + *out = *in + out.TypeMeta = in.TypeMeta + in.ListMeta.DeepCopyInto(&out.ListMeta) + if in.Items != nil { + in, out := &in.Items, &out.Items + *out = make([]ClusterProfile, len(*in)) + for i := range *in { + (*in)[i].DeepCopyInto(&(*out)[i]) + } + } + return +} + +// DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new ClusterProfileList. +func (in *ClusterProfileList) DeepCopy() *ClusterProfileList { + if in == nil { + return nil + } + out := new(ClusterProfileList) + in.DeepCopyInto(out) + return out +} + +// DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object. +func (in *ClusterProfileList) DeepCopyObject() runtime.Object { + if c := in.DeepCopy(); c != nil { + return c + } + return nil +} + // DeepCopyInto is an autogenerated deepcopy function, copying the receiver, writing into out. in must be non-nil. func (in *ClusterStatus) DeepCopyInto(out *ClusterStatus) { *out = *in diff --git a/vendor/kmodules.xyz/resource-metadata/crds/meta.k8s.appscode.com_ClusterProfiles.yaml b/vendor/kmodules.xyz/resource-metadata/crds/meta.k8s.appscode.com_ClusterProfiles.yaml new file mode 100644 index 000000000..ce427e85c --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/crds/meta.k8s.appscode.com_ClusterProfiles.yaml @@ -0,0 +1,63 @@ + +--- +apiVersion: apiextensions.k8s.io/v1 +kind: CustomResourceDefinition +metadata: + creationTimestamp: null + name: clusterprofiles.meta.k8s.appscode.com +spec: + group: meta.k8s.appscode.com + names: + kind: ClusterProfile + listKind: ClusterProfileList + plural: clusterprofiles + singular: clusterprofile + scope: Cluster + versions: + - additionalPrinterColumns: + - jsonPath: .status.phase + name: Status + type: string + - jsonPath: .metadata.creationTimestamp + name: Age + type: date + name: v1alpha1 + schema: + openAPIV3Schema: + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + type: object + spec: + description: ClusterProfileSpec defines the desired state of ClusterProfile + properties: + description: + type: string + provider: + type: string + requiredFeatureSets: + additionalProperties: + items: + type: string + type: array + type: object + title: + type: string + required: + - description + - title + type: object + type: object + served: true + storage: true + subresources: + status: {} diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml new file mode 100644 index 000000000..03aa4d7a1 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcedescriptors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml @@ -0,0 +1,75 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceDescriptor +metadata: + creationTimestamp: null + labels: + k8s.io/group: meta.k8s.appscode.com + k8s.io/kind: ClusterProfile + k8s.io/resource: ClusterProfiles + k8s.io/version: v1alpha1 + name: meta.k8s.appscode.com-v1alpha1-ClusterProfiles +spec: + resource: + group: meta.k8s.appscode.com + kind: ClusterProfile + name: ClusterProfiles + scope: Cluster + version: v1alpha1 + validation: + openAPIV3Schema: + properties: + apiVersion: + description: 'APIVersion defines the versioned schema of this representation + of an object. Servers should convert recognized schemas to the latest + internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' + type: string + kind: + description: 'Kind is a string value representing the REST resource this + object represents. Servers may infer this from the endpoint the client + submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' + type: string + metadata: + properties: + name: + description: 'Name must be unique within a namespace. Is required when + creating resources, although some resources may allow a client to + request the generation of an appropriate name automatically. Name + is primarily intended for creation idempotence and configuration definition. + Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names' + type: string + labels: + additionalProperties: + type: string + description: 'Map of string keys and values that can be used to organize + and categorize (scope and select) objects. May match selectors of + replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels' + type: object + annotations: + additionalProperties: + type: string + description: 'Annotations is an unstructured key value map stored with + a resource that may be set by external tools to store and retrieve + arbitrary metadata. They are not queryable and should be preserved + when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations' + type: object + type: object + spec: + description: ClusterProfileSpec defines the desired state of ClusterProfile + properties: + description: + type: string + provider: + type: string + requiredFeatureSets: + additionalProperties: + items: + type: string + type: array + type: object + title: + type: string + required: + - description + - title + type: object + type: object diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml new file mode 100644 index 000000000..42e40f5f4 --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourceeditors/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml @@ -0,0 +1,17 @@ +apiVersion: ui.k8s.appscode.com/v1alpha1 +kind: ResourceEditor +metadata: + creationTimestamp: null + labels: + k8s.io/group: meta.k8s.appscode.com + k8s.io/kind: ClusterProfile + k8s.io/resource: ClusterProfiles + k8s.io/version: v1alpha1 + name: meta.k8s.appscode.com-v1alpha1-ClusterProfiles +spec: + resource: + group: meta.k8s.appscode.com + kind: ClusterProfile + name: ClusterProfiles + scope: Cluster + version: v1alpha1 diff --git a/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml new file mode 100644 index 000000000..ce2d4bd7b --- /dev/null +++ b/vendor/kmodules.xyz/resource-metadata/hub/resourcetabledefinitions/meta.k8s.appscode.com/v1alpha1/ClusterProfiles.yaml @@ -0,0 +1,18 @@ +apiVersion: meta.k8s.appscode.com/v1alpha1 +kind: ResourceTableDefinition +metadata: + creationTimestamp: null + labels: + k8s.io/group: meta.k8s.appscode.com + k8s.io/kind: ClusterProfile + k8s.io/resource: ClusterProfiles + k8s.io/version: v1alpha1 + name: meta.k8s.appscode.com-v1alpha1-ClusterProfiles +spec: + defaultView: true + resource: + group: meta.k8s.appscode.com + kind: ClusterProfile + name: ClusterProfiles + scope: Cluster + version: v1alpha1 diff --git a/vendor/modules.txt b/vendor/modules.txt index 7557d3aa9..83ce7b956 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -2041,7 +2041,7 @@ kmodules.xyz/monitoring-agent-api/client ## explicit; go 1.22.0 kmodules.xyz/offshoot-api/api/v1 kmodules.xyz/offshoot-api/api/v2 -# kmodules.xyz/resource-metadata v0.19.1-0.20241016073336-1307639922b4 +# kmodules.xyz/resource-metadata v0.19.1-0.20241016154015-205ef283ba59 ## explicit; go 1.22.1 kmodules.xyz/resource-metadata/apis/core/install kmodules.xyz/resource-metadata/apis/core/v1alpha1