Skip to content

Commit 62561ef

Browse files
authored
operator hive-operator (1.2.4902-4929f16)
1 parent 9da7adc commit 62561ef

24 files changed

+9481
-0
lines changed

operators/hive-operator/1.2.4902-4929f16/manifests/hive-operator.v1.2.4902-4929f16.clusterserviceversion.yaml

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

0 commit comments

Comments
 (0)