Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix helm crd can not generete error #472

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,7 @@ e2e:
.PHONY: 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/helm/sedna/crds

# Get the currently used golang install path (in GOPATH/bin, unless GOBIN is set)
ifeq (,$(shell go env GOBIN))
Expand Down
Binary file removed build/helm/sedna.tgz
Binary file not shown.
26 changes: 17 additions & 9 deletions build/helm/sedna/crds/sedna.io_datasets.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.2
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.15.0
name: datasets.sedna.io
spec:
group: sedna.io
Expand All @@ -19,14 +17,27 @@ spec:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Dataset describes the data that a dataset resource should have
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: DatasetSpec is a description of a dataset
properties:
credentialName:
type: string
Expand All @@ -42,6 +53,9 @@ spec:
- url
type: object
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:
numberOfSamples:
type: integer
Expand All @@ -58,9 +72,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
5,125 changes: 5,116 additions & 9 deletions build/helm/sedna/crds/sedna.io_featureextractionservices.yaml

Large diffs are not rendered by default.

10,274 changes: 10,255 additions & 19 deletions build/helm/sedna/crds/sedna.io_federatedlearningjobs.yaml

Large diffs are not rendered by default.

15,302 changes: 15,286 additions & 16 deletions build/helm/sedna/crds/sedna.io_incrementallearningjobs.yaml

Large diffs are not rendered by default.

11,522 changes: 11,468 additions & 54 deletions build/helm/sedna/crds/sedna.io_jointinferenceservices.yaml

Large diffs are not rendered by default.

15,290 changes: 15,274 additions & 16 deletions build/helm/sedna/crds/sedna.io_lifelonglearningjobs.yaml

Large diffs are not rendered by default.

28 changes: 19 additions & 9 deletions build/helm/sedna/crds/sedna.io_models.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@

---
apiVersion: apiextensions.k8s.io/v1
kind: CustomResourceDefinition
metadata:
annotations:
controller-gen.kubebuilder.io/version: v0.6.2
creationTimestamp: null
controller-gen.kubebuilder.io/version: v0.15.0
name: models.sedna.io
spec:
group: sedna.io
Expand All @@ -19,14 +17,27 @@ spec:
- name: v1alpha1
schema:
openAPIV3Schema:
description: Model describes the data that a model resource should have
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: ModelSpec is a description of a model
properties:
credentialName:
type: string
Expand All @@ -43,9 +54,14 @@ spec:
- url
type: object
status:
description: |-
ModelStatus represents information about the status of a model
including the time a model updated, and metrics in a model
properties:
metrics:
items:
description: Metric describes the data that a resource model metric
should have
properties:
key:
type: string
Expand All @@ -67,9 +83,3 @@ spec:
storage: true
subresources:
status: {}
status:
acceptedNames:
kind: ""
plural: ""
conditions: []
storedVersions: []
Loading
Loading