Skip to content

Commit 551f2fa

Browse files
authored
feat: Add User resource (#2387)
1 parent ddbf3b1 commit 551f2fa

File tree

11 files changed

+14217
-1
lines changed

11 files changed

+14217
-1
lines changed

class_generator/schema/__not-kind.txt

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,4 +787,9 @@ io.noobaa.cnpg.postgresql.v1.ClusterList
787787
io.noobaa.cnpg.postgresql.v1.ClusterImageCatalogList
788788
io.noobaa.cnpg.postgresql.v1.BackupList
789789
io.kubevirt.clone.v1beta1.VirtualMachineCloneList
790-
io.kubevirt.clone.v1alpha1.VirtualMachineClone
790+
io.kubevirt.clone.v1alpha1.VirtualMachineClone
791+
org.kubeflow.v1.JAXJobList
792+
com.jhouse.cache.v1alpha1.NFSProvisionerList
793+
io.openshift.nfd.v1alpha1.NodeFeatureGroupList
794+
io.opendatahub.platform.components.v1alpha1.FeastOperatorList
795+
io.kuadrant.authorino.v1beta3.AuthConfigList

class_generator/schema/__resources-mappings.json

Lines changed: 7009 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 160 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,160 @@
1+
{
2+
"description": "FeastOperator is the Schema for the FeastOperator API",
3+
"type": "object",
4+
"properties": {
5+
"apiVersion": {
6+
"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",
7+
"type": "string"
8+
},
9+
"kind": {
10+
"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",
11+
"type": "string"
12+
},
13+
"metadata": {
14+
"description": "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata",
15+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ObjectMeta"
16+
},
17+
"spec": {
18+
"description": "FeastOperatorSpec defines the desired state of FeastOperator",
19+
"type": "object",
20+
"properties": {
21+
"devFlags": {
22+
"description": "Add developer fields",
23+
"type": "object",
24+
"properties": {
25+
"manifests": {
26+
"description": "List of custom manifests for the given component",
27+
"type": "array",
28+
"items": {
29+
"type": "object",
30+
"properties": {
31+
"contextDir": {
32+
"description": "contextDir is the relative path to the folder containing manifests in a repository, default value \"manifests\"",
33+
"type": "string"
34+
},
35+
"sourcePath": {
36+
"description": "sourcePath is the subpath within contextDir where kustomize builds start. Examples include any sub-folder or path: `base`, `overlays/dev`, `default`, `odh` etc.",
37+
"type": "string"
38+
},
39+
"uri": {
40+
"description": "uri is the URI point to a git repo with tag/branch. e.g. https://github.com/org/repo/tarball/<tag/branch>",
41+
"type": "string"
42+
}
43+
}
44+
}
45+
}
46+
}
47+
}
48+
}
49+
},
50+
"status": {
51+
"description": "FeastOperatorStatus defines the observed state of FeastOperator",
52+
"type": "object",
53+
"properties": {
54+
"conditions": {
55+
"type": "array",
56+
"items": {
57+
"type": "object",
58+
"required": [
59+
"status",
60+
"type"
61+
],
62+
"properties": {
63+
"lastHeartbeatTime": {
64+
"description": "The last time we got an update on a given condition, this should not be set and is\npresent only for backward compatibility reasons",
65+
"type": "string",
66+
"format": "date-time"
67+
},
68+
"lastTransitionTime": {
69+
"description": "lastTransitionTime is the last time the condition transitioned from one status to another.\nThis should be when the underlying condition changed.\nIf that is not known, then using the time when the API field changed is acceptable.",
70+
"type": "string",
71+
"format": "date-time"
72+
},
73+
"message": {
74+
"description": "message is a human-readable message indicating details about the transition.",
75+
"type": "string"
76+
},
77+
"observedGeneration": {
78+
"description": "observedGeneration represents the .metadata.generation that the condition was set based upon.\nFor instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration\nis 9, the condition is out of date with respect to the current state of the instance.",
79+
"type": "integer",
80+
"format": "int64",
81+
"minimum": 0
82+
},
83+
"reason": {
84+
"description": "reason contains a programmatic identifier indicating the reason for the condition's last transition.\nThe value should be a CamelCase string.",
85+
"type": "string"
86+
},
87+
"severity": {
88+
"description": "Severity with which to treat failures of this type of condition.\nWhen this is not specified, it defaults to Error.",
89+
"type": "string"
90+
},
91+
"status": {
92+
"description": "status of the condition, one of True, False, Unknown.",
93+
"type": "string",
94+
"enum": [
95+
"True",
96+
"False",
97+
"Unknown"
98+
]
99+
},
100+
"type": {
101+
"description": "type of condition in CamelCase or in foo.example.com/CamelCase.",
102+
"type": "string",
103+
"maxLength": 316,
104+
"pattern": "^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$"
105+
}
106+
}
107+
},
108+
"x-kubernetes-list-type": "atomic"
109+
},
110+
"observedGeneration": {
111+
"description": "The generation observed by the resource controller.",
112+
"type": "integer",
113+
"format": "int64"
114+
},
115+
"phase": {
116+
"type": "string"
117+
},
118+
"releases": {
119+
"type": "array",
120+
"items": {
121+
"description": "ComponentRelease represents the detailed status of a component release.",
122+
"type": "object",
123+
"required": [
124+
"name"
125+
],
126+
"properties": {
127+
"name": {
128+
"type": "string"
129+
},
130+
"repoUrl": {
131+
"type": "string"
132+
},
133+
"version": {
134+
"type": "string"
135+
}
136+
}
137+
},
138+
"x-kubernetes-list-map-keys": [
139+
"name"
140+
],
141+
"x-kubernetes-list-type": "map"
142+
}
143+
}
144+
}
145+
},
146+
"x-kubernetes-group-version-kind": [
147+
{
148+
"group": "components.platform.opendatahub.io",
149+
"kind": "FeastOperator",
150+
"version": "v1alpha1"
151+
}
152+
],
153+
"x-kubernetes-validations": [
154+
{
155+
"message": "FeastOperator name must be 'default-feastoperator'",
156+
"rule": "self.metadata.name == 'default-feastoperator'"
157+
}
158+
],
159+
"$schema": "http://json-schema.org/schema#"
160+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"description": "FeastOperatorList is a list of FeastOperator",
3+
"type": "object",
4+
"required": [
5+
"items"
6+
],
7+
"properties": {
8+
"apiVersion": {
9+
"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",
10+
"type": "string"
11+
},
12+
"items": {
13+
"description": "List of feastoperators. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md",
14+
"type": "array",
15+
"items": {
16+
"$ref": "_definitions.json#/definitions/io.opendatahub.platform.components.v1alpha1.FeastOperator"
17+
}
18+
},
19+
"kind": {
20+
"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",
21+
"type": "string"
22+
},
23+
"metadata": {
24+
"description": "Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
25+
"$ref": "_definitions.json#/definitions/io.k8s.apimachinery.pkg.apis.meta.v1.ListMeta"
26+
}
27+
},
28+
"x-kubernetes-group-version-kind": [
29+
{
30+
"group": "components.platform.opendatahub.io",
31+
"kind": "FeastOperatorList",
32+
"version": "v1alpha1"
33+
}
34+
],
35+
"$schema": "http://json-schema.org/schema#"
36+
}

0 commit comments

Comments
 (0)