fix helm crd can not generete errortags/v0.7.0
| @@ -183,6 +183,7 @@ e2e: | |||||
| .PHONY: crds controller-gen | .PHONY: crds controller-gen | ||||
| crds: controller-gen | crds: controller-gen | ||||
| $(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./pkg/apis/sedna/v1alpha1" output:crd:artifacts:config=build/crds | $(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./pkg/apis/sedna/v1alpha1" output:crd:artifacts:config=build/crds | ||||
| $(CONTROLLER_GEN) $(CRD_OPTIONS) paths="./pkg/apis/sedna/v1alpha1" output:crd:artifacts:config=build/helm/sedna/crds | |||||
| # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) | # Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set) | ||||
| ifeq (,$(shell go env GOBIN)) | ifeq (,$(shell go env GOBIN)) | ||||
| @@ -1,11 +1,9 @@ | |||||
| --- | --- | ||||
| apiVersion: apiextensions.k8s.io/v1 | apiVersion: apiextensions.k8s.io/v1 | ||||
| kind: CustomResourceDefinition | kind: CustomResourceDefinition | ||||
| metadata: | metadata: | ||||
| annotations: | annotations: | ||||
| controller-gen.kubebuilder.io/version: v0.6.2 | |||||
| creationTimestamp: null | |||||
| controller-gen.kubebuilder.io/version: v0.15.0 | |||||
| name: datasets.sedna.io | name: datasets.sedna.io | ||||
| spec: | spec: | ||||
| group: sedna.io | group: sedna.io | ||||
| @@ -19,14 +17,27 @@ spec: | |||||
| - name: v1alpha1 | - name: v1alpha1 | ||||
| schema: | schema: | ||||
| openAPIV3Schema: | openAPIV3Schema: | ||||
| description: Dataset describes the data that a dataset resource should have | |||||
| properties: | properties: | ||||
| apiVersion: | 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 | type: string | ||||
| kind: | 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 | type: string | ||||
| metadata: | metadata: | ||||
| type: object | type: object | ||||
| spec: | spec: | ||||
| description: DatasetSpec is a description of a dataset | |||||
| properties: | properties: | ||||
| credentialName: | credentialName: | ||||
| type: string | type: string | ||||
| @@ -42,6 +53,9 @@ spec: | |||||
| - url | - url | ||||
| type: object | type: object | ||||
| status: | status: | ||||
| description: |- | |||||
| DatasetStatus represents information about the status of a dataset | |||||
| including the time a dataset updated, and number of samples in a dataset | |||||
| properties: | properties: | ||||
| numberOfSamples: | numberOfSamples: | ||||
| type: integer | type: integer | ||||
| @@ -58,9 +72,3 @@ spec: | |||||
| storage: true | storage: true | ||||
| subresources: | subresources: | ||||
| status: {} | status: {} | ||||
| status: | |||||
| acceptedNames: | |||||
| kind: "" | |||||
| plural: "" | |||||
| conditions: [] | |||||
| storedVersions: [] | |||||
| @@ -1,11 +1,9 @@ | |||||
| --- | --- | ||||
| apiVersion: apiextensions.k8s.io/v1 | apiVersion: apiextensions.k8s.io/v1 | ||||
| kind: CustomResourceDefinition | kind: CustomResourceDefinition | ||||
| metadata: | metadata: | ||||
| annotations: | annotations: | ||||
| controller-gen.kubebuilder.io/version: v0.6.2 | |||||
| creationTimestamp: null | |||||
| controller-gen.kubebuilder.io/version: v0.15.0 | |||||
| name: models.sedna.io | name: models.sedna.io | ||||
| spec: | spec: | ||||
| group: sedna.io | group: sedna.io | ||||
| @@ -19,14 +17,27 @@ spec: | |||||
| - name: v1alpha1 | - name: v1alpha1 | ||||
| schema: | schema: | ||||
| openAPIV3Schema: | openAPIV3Schema: | ||||
| description: Model describes the data that a model resource should have | |||||
| properties: | properties: | ||||
| apiVersion: | 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 | type: string | ||||
| kind: | 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 | type: string | ||||
| metadata: | metadata: | ||||
| type: object | type: object | ||||
| spec: | spec: | ||||
| description: ModelSpec is a description of a model | |||||
| properties: | properties: | ||||
| credentialName: | credentialName: | ||||
| type: string | type: string | ||||
| @@ -43,9 +54,14 @@ spec: | |||||
| - url | - url | ||||
| type: object | type: object | ||||
| status: | status: | ||||
| description: |- | |||||
| ModelStatus represents information about the status of a model | |||||
| including the time a model updated, and metrics in a model | |||||
| properties: | properties: | ||||
| metrics: | metrics: | ||||
| items: | items: | ||||
| description: Metric describes the data that a resource model metric | |||||
| should have | |||||
| properties: | properties: | ||||
| key: | key: | ||||
| type: string | type: string | ||||
| @@ -67,9 +83,3 @@ spec: | |||||
| storage: true | storage: true | ||||
| subresources: | subresources: | ||||
| status: {} | status: {} | ||||
| status: | |||||
| acceptedNames: | |||||
| kind: "" | |||||
| plural: "" | |||||
| conditions: [] | |||||
| storedVersions: [] | |||||