Skip to content

Commit 7db42d6

Browse files
authored
operators hive-operator (2.5.3489-6dec9c3)
1 parent e1299f3 commit 7db42d6

22 files changed

+6731
-0
lines changed

operators/hive-operator/2.5.3489-6dec9c3/hive-operator.v2.5.3489-6dec9c3.clusterserviceversion.yaml

Lines changed: 453 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.6.0
6+
creationTimestamp: null
7+
name: checkpoints.hive.openshift.io
8+
spec:
9+
group: hive.openshift.io
10+
names:
11+
kind: Checkpoint
12+
listKind: CheckpointList
13+
plural: checkpoints
14+
singular: checkpoint
15+
scope: Namespaced
16+
versions:
17+
- name: v1
18+
schema:
19+
openAPIV3Schema:
20+
description: Checkpoint is the Schema for the backup of Hive objects.
21+
properties:
22+
apiVersion:
23+
description: 'APIVersion defines the versioned schema of this representation
24+
of an object. Servers should convert recognized schemas to the latest
25+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
26+
type: string
27+
kind:
28+
description: 'Kind is a string value representing the REST resource this
29+
object represents. Servers may infer this from the endpoint the client
30+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
31+
type: string
32+
metadata:
33+
type: object
34+
spec:
35+
description: CheckpointSpec defines the metadata around the Hive objects
36+
state in the namespace at the time of the last backup.
37+
properties:
38+
lastBackupChecksum:
39+
description: LastBackupChecksum is the checksum of all Hive objects
40+
in the namespace at the time of the last backup.
41+
type: string
42+
lastBackupRef:
43+
description: LastBackupRef is a reference to last backup object created
44+
properties:
45+
name:
46+
type: string
47+
namespace:
48+
type: string
49+
required:
50+
- name
51+
- namespace
52+
type: object
53+
lastBackupTime:
54+
description: LastBackupTime is the last time we performed a backup
55+
of the namespace
56+
format: date-time
57+
type: string
58+
required:
59+
- lastBackupChecksum
60+
- lastBackupRef
61+
- lastBackupTime
62+
type: object
63+
status:
64+
description: CheckpointStatus defines the observed state of Checkpoint
65+
type: object
66+
type: object
67+
served: true
68+
storage: true
69+
subresources:
70+
status: {}
71+
status:
72+
acceptedNames:
73+
kind: ""
74+
plural: ""
75+
conditions: []
76+
storedVersions: []
Lines changed: 166 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,166 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.6.0
6+
creationTimestamp: null
7+
name: clusterclaims.hive.openshift.io
8+
spec:
9+
group: hive.openshift.io
10+
names:
11+
kind: ClusterClaim
12+
listKind: ClusterClaimList
13+
plural: clusterclaims
14+
singular: clusterclaim
15+
scope: Namespaced
16+
versions:
17+
- additionalPrinterColumns:
18+
- jsonPath: .spec.clusterPoolName
19+
name: Pool
20+
type: string
21+
- jsonPath: .status.conditions[?(@.type=='Pending')].reason
22+
name: Pending
23+
type: string
24+
- jsonPath: .spec.namespace
25+
name: ClusterNamespace
26+
type: string
27+
- jsonPath: .status.conditions[?(@.type=='ClusterRunning')].reason
28+
name: ClusterRunning
29+
type: string
30+
- jsonPath: .metadata.creationTimestamp
31+
name: Age
32+
type: date
33+
name: v1
34+
schema:
35+
openAPIV3Schema:
36+
description: ClusterClaim represents a claim to a cluster from a cluster pool.
37+
properties:
38+
apiVersion:
39+
description: 'APIVersion defines the versioned schema of this representation
40+
of an object. Servers should convert recognized schemas to the latest
41+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
42+
type: string
43+
kind:
44+
description: 'Kind is a string value representing the REST resource this
45+
object represents. Servers may infer this from the endpoint the client
46+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
47+
type: string
48+
metadata:
49+
type: object
50+
spec:
51+
description: ClusterClaimSpec defines the desired state of the ClusterClaim.
52+
properties:
53+
clusterPoolName:
54+
description: ClusterPoolName is the name of the cluster pool from
55+
which to claim a cluster.
56+
type: string
57+
lifetime:
58+
description: 'Lifetime is the maximum lifetime of the claim after
59+
it is assigned a cluster. If the claim still exists when the lifetime
60+
has elapsed, the claim will be deleted by Hive. This is a Duration
61+
value; see https://pkg.go.dev/time#ParseDuration for accepted formats.
62+
Note: due to discrepancies in validation vs parsing, we use a Pattern
63+
instead of `Format=duration`. See https://bugzilla.redhat.com/show_bug.cgi?id=2050332
64+
https://github.com/kubernetes/apimachinery/issues/131 https://github.com/kubernetes/apiextensions-apiserver/issues/56'
65+
pattern: ^([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$
66+
type: string
67+
namespace:
68+
description: Namespace is the namespace containing the ClusterDeployment
69+
(name will match the namespace) of the claimed cluster. This field
70+
will be set as soon as a suitable cluster can be found, however
71+
that cluster may still be resuming and not yet ready for use. Wait
72+
for the ClusterRunning condition to be true to avoid this issue.
73+
type: string
74+
subjects:
75+
description: Subjects hold references to which to authorize access
76+
to the claimed cluster.
77+
items:
78+
description: Subject contains a reference to the object or user
79+
identities a role binding applies to. This can either hold a
80+
direct API object reference, or a value for non-objects such as
81+
user and group names.
82+
properties:
83+
apiGroup:
84+
description: APIGroup holds the API group of the referenced
85+
subject. Defaults to "" for ServiceAccount subjects. Defaults
86+
to "rbac.authorization.k8s.io" for User and Group subjects.
87+
type: string
88+
kind:
89+
description: Kind of object being referenced. Values defined
90+
by this API group are "User", "Group", and "ServiceAccount".
91+
If the Authorizer does not recognized the kind value, the
92+
Authorizer should report an error.
93+
type: string
94+
name:
95+
description: Name of the object being referenced.
96+
type: string
97+
namespace:
98+
description: Namespace of the referenced object. If the object
99+
kind is non-namespace, such as "User" or "Group", and this
100+
value is not empty the Authorizer should report an error.
101+
type: string
102+
required:
103+
- kind
104+
- name
105+
type: object
106+
type: array
107+
required:
108+
- clusterPoolName
109+
type: object
110+
status:
111+
description: ClusterClaimStatus defines the observed state of ClusterClaim.
112+
properties:
113+
conditions:
114+
description: Conditions includes more detailed status for the cluster
115+
pool.
116+
items:
117+
description: ClusterClaimCondition contains details for the current
118+
condition of a cluster claim.
119+
properties:
120+
lastProbeTime:
121+
description: LastProbeTime is the last time we probed the condition.
122+
format: date-time
123+
type: string
124+
lastTransitionTime:
125+
description: LastTransitionTime is the last time the condition
126+
transitioned from one status to another.
127+
format: date-time
128+
type: string
129+
message:
130+
description: Message is a human-readable message indicating
131+
details about last transition.
132+
type: string
133+
reason:
134+
description: Reason is a unique, one-word, CamelCase reason
135+
for the condition's last transition.
136+
type: string
137+
status:
138+
description: Status is the status of the condition.
139+
type: string
140+
type:
141+
description: Type is the type of the condition.
142+
type: string
143+
required:
144+
- status
145+
- type
146+
type: object
147+
type: array
148+
lifetime:
149+
description: Lifetime is the maximum lifetime of the claim after it
150+
is assigned a cluster. If the claim still exists when the lifetime
151+
has elapsed, the claim will be deleted by Hive.
152+
type: string
153+
type: object
154+
required:
155+
- spec
156+
type: object
157+
served: true
158+
storage: true
159+
subresources:
160+
status: {}
161+
status:
162+
acceptedNames:
163+
kind: ""
164+
plural: ""
165+
conditions: []
166+
storedVersions: []

0 commit comments

Comments
 (0)