Skip to content

Commit d815719

Browse files
authored
operator hive-operator (1.2.4644-365f074)
1 parent 20f8500 commit d815719

23 files changed

+8593
-0
lines changed

operators/hive-operator/1.2.4644-365f074/manifests/hive-operator.v1.2.4644-365f074.clusterserviceversion.yaml

Lines changed: 495 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.1
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.1
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: {}
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.16.1
6+
name: clusterdeploymentcustomizations.hive.openshift.io
7+
spec:
8+
group: hive.openshift.io
9+
names:
10+
kind: ClusterDeploymentCustomization
11+
listKind: ClusterDeploymentCustomizationList
12+
plural: clusterdeploymentcustomizations
13+
singular: clusterdeploymentcustomization
14+
scope: Namespaced
15+
versions:
16+
- name: v1
17+
schema:
18+
openAPIV3Schema:
19+
description: ClusterDeploymentCustomization is the Schema for clusterdeploymentcustomizations
20+
API.
21+
properties:
22+
apiVersion:
23+
description: |-
24+
APIVersion defines the versioned schema of this representation of an object.
25+
Servers should convert recognized schemas to the latest internal value, and
26+
may reject unrecognized values.
27+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
28+
type: string
29+
kind:
30+
description: |-
31+
Kind is a string value representing the REST resource this object represents.
32+
Servers may infer this from the endpoint the client submits requests to.
33+
Cannot be updated.
34+
In CamelCase.
35+
More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
36+
type: string
37+
metadata:
38+
type: object
39+
spec:
40+
description: ClusterDeploymentCustomizationSpec defines the desired state
41+
of ClusterDeploymentCustomization.
42+
properties:
43+
installConfigPatches:
44+
description: InstallConfigPatches is a list of patches to be applied
45+
to the install-config.
46+
items:
47+
description: PatchEntity represent a json patch (RFC 6902) to be
48+
applied to the install-config
49+
properties:
50+
from:
51+
description: From is the json path to copy or move the value
52+
from
53+
type: string
54+
op:
55+
description: 'Op is the operation to perform: add, remove, replace,
56+
move, copy, test'
57+
type: string
58+
path:
59+
description: Path is the json path to the value to be modified
60+
type: string
61+
value:
62+
description: Value is the value to be used in the operation
63+
type: string
64+
required:
65+
- op
66+
- path
67+
- value
68+
type: object
69+
type: array
70+
type: object
71+
status:
72+
description: ClusterDeploymentCustomizationStatus defines the observed
73+
state of ClusterDeploymentCustomization.
74+
properties:
75+
clusterDeploymentRef:
76+
description: ClusterDeploymentRef is a reference to the cluster deployment
77+
that this customization is applied on.
78+
properties:
79+
name:
80+
default: ""
81+
description: |-
82+
Name of the referent.
83+
This field is effectively required, but due to backwards compatibility is
84+
allowed to be empty. Instances of this type with an empty value here are
85+
almost certainly wrong.
86+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
87+
type: string
88+
type: object
89+
x-kubernetes-map-type: atomic
90+
clusterPoolRef:
91+
description: ClusterPoolRef is the name of the current cluster pool
92+
the CDC used at.
93+
properties:
94+
name:
95+
default: ""
96+
description: |-
97+
Name of the referent.
98+
This field is effectively required, but due to backwards compatibility is
99+
allowed to be empty. Instances of this type with an empty value here are
100+
almost certainly wrong.
101+
More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
102+
type: string
103+
type: object
104+
x-kubernetes-map-type: atomic
105+
conditions:
106+
description: Conditions describes the state of the operator's reconciliation
107+
functionality.
108+
items:
109+
description: |-
110+
Condition represents the state of the operator's
111+
reconciliation functionality.
112+
properties:
113+
lastHeartbeatTime:
114+
format: date-time
115+
type: string
116+
lastTransitionTime:
117+
format: date-time
118+
type: string
119+
message:
120+
type: string
121+
reason:
122+
type: string
123+
status:
124+
type: string
125+
type:
126+
description: ConditionType is the state of the operator's reconciliation
127+
functionality.
128+
type: string
129+
required:
130+
- status
131+
- type
132+
type: object
133+
type: array
134+
lastAppliedConfiguration:
135+
description: |-
136+
LastAppliedConfiguration contains the last applied patches to the install-config.
137+
The information will retain for reference in case the customization is updated.
138+
type: string
139+
type: object
140+
required:
141+
- spec
142+
type: object
143+
served: true
144+
storage: true
145+
subresources:
146+
status: {}

0 commit comments

Comments
 (0)