Skip to content

Commit e9f458d

Browse files
authored
operator hive-operator (1.2.4953-c248a51)
1 parent b82c22b commit e9f458d

24 files changed

+9273
-0
lines changed

operators/hive-operator/1.2.4953-c248a51/manifests/hive-operator.v1.2.4953-c248a51.clusterserviceversion.yaml

Lines changed: 503 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
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 state in the namespace at the time of the last backup.
40+
properties:
41+
lastBackupChecksum:
42+
description: LastBackupChecksum is the checksum of all Hive objects in the namespace at the time of the last backup.
43+
type: string
44+
lastBackupRef:
45+
description: LastBackupRef is a reference to last backup object created
46+
properties:
47+
name:
48+
type: string
49+
namespace:
50+
type: string
51+
required:
52+
- name
53+
- namespace
54+
type: object
55+
lastBackupTime:
56+
description: LastBackupTime is the last time we performed a backup of the namespace
57+
format: date-time
58+
type: string
59+
required:
60+
- lastBackupChecksum
61+
- lastBackupRef
62+
- lastBackupTime
63+
type: object
64+
status:
65+
description: CheckpointStatus defines the observed state of Checkpoint
66+
type: object
67+
type: object
68+
served: true
69+
storage: true
70+
subresources:
71+
status: {}
Lines changed: 157 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,157 @@
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 which to claim a cluster.
59+
type: string
60+
lifetime:
61+
description: |-
62+
Lifetime is the maximum lifetime of the claim after it is assigned a cluster. If the claim still exists
63+
when the lifetime has elapsed, the claim will be deleted by Hive.
64+
This is a Duration value; see https://pkg.go.dev/time#ParseDuration for accepted formats.
65+
Note: due to discrepancies in validation vs parsing, we use a Pattern instead of `Format=duration`. See
66+
https://bugzilla.redhat.com/show_bug.cgi?id=2050332
67+
https://github.com/kubernetes/apimachinery/issues/131
68+
https://github.com/kubernetes/apiextensions-apiserver/issues/56
69+
pattern: ^([0-9]+(\.[0-9]+)?(ns|us|µs|ms|s|m|h))+$
70+
type: string
71+
namespace:
72+
description: |-
73+
Namespace is the namespace containing the ClusterDeployment (name will match the namespace) of the claimed cluster.
74+
This field will be set as soon as a suitable cluster can be found, however that cluster may still be
75+
resuming and not yet ready for use. Wait for the ClusterRunning condition to be true to avoid this issue.
76+
type: string
77+
subjects:
78+
description: Subjects hold references to which to authorize access to the claimed cluster.
79+
items:
80+
description: |-
81+
Subject contains a reference to the object or user identities a role binding applies to. This can either hold a direct API object reference,
82+
or a value for non-objects such as user and group names.
83+
properties:
84+
apiGroup:
85+
description: |-
86+
APIGroup holds the API group of the referenced subject.
87+
Defaults to "" for ServiceAccount subjects.
88+
Defaults to "rbac.authorization.k8s.io" for User and Group subjects.
89+
type: string
90+
kind:
91+
description: |-
92+
Kind of object being referenced. Values defined by this API group are "User", "Group", and "ServiceAccount".
93+
If the Authorizer does not recognized the kind value, the Authorizer should report an error.
94+
type: string
95+
name:
96+
description: Name of the object being referenced.
97+
type: string
98+
namespace:
99+
description: |-
100+
Namespace of the referenced object. If the object kind is non-namespace, such as "User" or "Group", and this value is not empty
101+
the Authorizer should report an error.
102+
type: string
103+
required:
104+
- kind
105+
- name
106+
type: object
107+
x-kubernetes-map-type: atomic
108+
type: array
109+
required:
110+
- clusterPoolName
111+
type: object
112+
status:
113+
description: ClusterClaimStatus defines the observed state of ClusterClaim.
114+
properties:
115+
conditions:
116+
description: Conditions includes more detailed status for the cluster pool.
117+
items:
118+
description: ClusterClaimCondition contains details for the current 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 transitioned from one status to another.
126+
format: date-time
127+
type: string
128+
message:
129+
description: Message is a human-readable message indicating details about last transition.
130+
type: string
131+
reason:
132+
description: Reason is a unique, one-word, CamelCase reason for the condition's last transition.
133+
type: string
134+
status:
135+
description: Status is the status of the condition.
136+
type: string
137+
type:
138+
description: Type is the type of the condition.
139+
type: string
140+
required:
141+
- status
142+
- type
143+
type: object
144+
type: array
145+
lifetime:
146+
description: |-
147+
Lifetime is the maximum lifetime of the claim after it is assigned a cluster. If the claim still exists
148+
when the lifetime has elapsed, the claim will be deleted by Hive.
149+
type: string
150+
type: object
151+
required:
152+
- spec
153+
type: object
154+
served: true
155+
storage: true
156+
subresources:
157+
status: {}

0 commit comments

Comments
 (0)