-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add missing CustomResourceDefinition
- Loading branch information
Showing
2 changed files
with
122 additions
and
122 deletions.
There are no files selected for viewing
122 changes: 0 additions & 122 deletions
122
config/crd/bases/trustyai.opendatahub.io.trustyai.opendatahub.io_trustyaiservices.yaml
This file was deleted.
Oops, something went wrong.
122 changes: 122 additions & 0 deletions
122
config/crd/bases/trustyai.opendatahub.io_trustyaiservices.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,122 @@ | ||
--- | ||
apiVersion: apiextensions.k8s.io/v1 | ||
kind: CustomResourceDefinition | ||
metadata: | ||
annotations: | ||
controller-gen.kubebuilder.io/version: v0.11.1 | ||
creationTimestamp: null | ||
name: trustyaiservices.trustyai.opendatahub.io | ||
spec: | ||
group: trustyai.opendatahub.io | ||
names: | ||
kind: TrustyAIService | ||
listKind: TrustyAIServiceList | ||
plural: trustyaiservices | ||
singular: trustyaiservice | ||
scope: Namespaced | ||
versions: | ||
- name: v1alpha1 | ||
schema: | ||
openAPIV3Schema: | ||
description: TrustyAIService is the Schema for the trustyaiservices API | ||
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: TrustyAIServiceSpec defines the desired state of TrustyAIService | ||
properties: | ||
data: | ||
properties: | ||
filename: | ||
type: string | ||
format: | ||
type: string | ||
required: | ||
- filename | ||
- format | ||
type: object | ||
metrics: | ||
properties: | ||
batchSize: | ||
type: integer | ||
schedule: | ||
type: string | ||
required: | ||
- schedule | ||
type: object | ||
replicas: | ||
description: Number of replicas | ||
format: int32 | ||
type: integer | ||
storage: | ||
properties: | ||
folder: | ||
type: string | ||
format: | ||
type: string | ||
size: | ||
type: string | ||
required: | ||
- folder | ||
- format | ||
- size | ||
type: object | ||
required: | ||
- data | ||
- metrics | ||
- storage | ||
type: object | ||
status: | ||
description: TrustyAIServiceStatus defines the observed state of TrustyAIService | ||
properties: | ||
conditions: | ||
items: | ||
description: Condition represents possible conditions of a TrustyAIServiceStatus | ||
properties: | ||
lastTransitionTime: | ||
format: date-time | ||
type: string | ||
message: | ||
type: string | ||
reason: | ||
type: string | ||
status: | ||
type: string | ||
type: | ||
type: string | ||
required: | ||
- lastTransitionTime | ||
- message | ||
- reason | ||
- status | ||
- type | ||
type: object | ||
type: array | ||
phase: | ||
description: Define your status fields here | ||
type: string | ||
ready: | ||
type: string | ||
replicas: | ||
format: int32 | ||
type: integer | ||
required: | ||
- conditions | ||
- phase | ||
- replicas | ||
type: object | ||
type: object | ||
served: true | ||
storage: true | ||
subresources: | ||
status: {} |