Skip to content

Commit c70b8ef

Browse files
operator kaoto-operator (2.4.0) (redhat-openshift-ecosystem#5788)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent b77748d commit c70b8ef

File tree

4 files changed

+502
-0
lines changed

4 files changed

+502
-0
lines changed
Lines changed: 158 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,158 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.14.0
6+
creationTimestamp: null
7+
name: kaotoes.designer.kaoto.io
8+
spec:
9+
group: designer.kaoto.io
10+
names:
11+
categories:
12+
- integration
13+
- camel
14+
kind: Kaoto
15+
listKind: KaotoList
16+
plural: kaotoes
17+
shortNames:
18+
- kd
19+
singular: kaoto
20+
scope: Namespaced
21+
versions:
22+
- additionalPrinterColumns:
23+
- description: The phase
24+
jsonPath: .status.phase
25+
name: Phase
26+
type: string
27+
- description: The endpoint
28+
jsonPath: .status.endpoint
29+
name: Endpoint
30+
type: string
31+
name: v1alpha1
32+
schema:
33+
openAPIV3Schema:
34+
description: Kaoto is the Schema for the kaotoes API.
35+
properties:
36+
apiVersion:
37+
description: |-
38+
APIVersion defines the versioned schema of this representation of an object.
39+
Servers should convert recognized schemas to the latest internal value, and
40+
may reject unrecognized values.
41+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
42+
type: string
43+
kind:
44+
description: |-
45+
Kind is a string value representing the REST resource this object represents.
46+
Servers may infer this from the endpoint the client submits requests to.
47+
Cannot be updated.
48+
In CamelCase.
49+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
50+
type: string
51+
metadata:
52+
type: object
53+
spec:
54+
description: KaotoSpec defines the desired state of Kaoto.
55+
properties:
56+
image:
57+
type: string
58+
ingress:
59+
properties:
60+
host:
61+
type: string
62+
path:
63+
type: string
64+
type: object
65+
type: object
66+
status:
67+
description: KaotoStatus defines the observed state of Kaoto.
68+
properties:
69+
conditions:
70+
items:
71+
description: "Condition contains details for one aspect of the current
72+
state of this API Resource.\n---\nThis struct is intended for
73+
direct use as an array at the field path .status.conditions. For
74+
example,\n\n\n\ttype FooStatus struct{\n\t // Represents the
75+
observations of a foo's current state.\n\t // Known .status.conditions.type
76+
are: \"Available\", \"Progressing\", and \"Degraded\"\n\t //
77+
+patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
78+
\ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\"conditions,omitempty\"
79+
patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"`\n\n\n\t
80+
\ // other fields\n\t}"
81+
properties:
82+
lastTransitionTime:
83+
description: |-
84+
lastTransitionTime is the last time the condition transitioned from one status to another.
85+
This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable.
86+
format: date-time
87+
type: string
88+
message:
89+
description: |-
90+
message is a human readable message indicating details about the transition.
91+
This may be an empty string.
92+
maxLength: 32768
93+
type: string
94+
observedGeneration:
95+
description: |-
96+
observedGeneration represents the .metadata.generation that the condition was set based upon.
97+
For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date
98+
with respect to the current state of the instance.
99+
format: int64
100+
minimum: 0
101+
type: integer
102+
reason:
103+
description: |-
104+
reason contains a programmatic identifier indicating the reason for the condition's last transition.
105+
Producers of specific condition types may define expected values and meanings for this field,
106+
and whether the values are considered a guaranteed API.
107+
The value should be a CamelCase string.
108+
This field may not be empty.
109+
maxLength: 1024
110+
minLength: 1
111+
pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$
112+
type: string
113+
status:
114+
description: status of the condition, one of True, False, Unknown.
115+
enum:
116+
- "True"
117+
- "False"
118+
- Unknown
119+
type: string
120+
type:
121+
description: |-
122+
type of condition in CamelCase or in foo.example.com/CamelCase.
123+
---
124+
Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
125+
useful (see .node.status.conditions), the ability to deconflict is important.
126+
The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
127+
maxLength: 316
128+
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])$
129+
type: string
130+
required:
131+
- lastTransitionTime
132+
- message
133+
- reason
134+
- status
135+
- type
136+
type: object
137+
type: array
138+
endpoint:
139+
type: string
140+
observedGeneration:
141+
format: int64
142+
type: integer
143+
phase:
144+
type: string
145+
required:
146+
- phase
147+
type: object
148+
type: object
149+
served: true
150+
storage: true
151+
subresources:
152+
status: {}
153+
status:
154+
acceptedNames:
155+
kind: ""
156+
plural: ""
157+
conditions: null
158+
storedVersions: null

0 commit comments

Comments
 (0)