Skip to content

Commit b09f1f2

Browse files
authored
operator hive-operator (1.2.4469-7be6433)
1 parent 27d3f84 commit b09f1f2

23 files changed

+7642
-0
lines changed

operators/hive-operator/1.2.4469-7be6433/manifests/hive-operator.v1.2.4469-7be6433.clusterserviceversion.yaml

+490
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: (devel)
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: {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,161 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: (devel)
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+
x-kubernetes-map-type: atomic
107+
type: array
108+
required:
109+
- clusterPoolName
110+
type: object
111+
status:
112+
description: ClusterClaimStatus defines the observed state of ClusterClaim.
113+
properties:
114+
conditions:
115+
description: Conditions includes more detailed status for the cluster
116+
pool.
117+
items:
118+
description: ClusterClaimCondition contains details for the current
119+
condition of a cluster claim.
120+
properties:
121+
lastProbeTime:
122+
description: LastProbeTime is the last time we probed the condition.
123+
format: date-time
124+
type: string
125+
lastTransitionTime:
126+
description: LastTransitionTime is the last time the condition
127+
transitioned from one status to another.
128+
format: date-time
129+
type: string
130+
message:
131+
description: Message is a human-readable message indicating
132+
details about last transition.
133+
type: string
134+
reason:
135+
description: Reason is a unique, one-word, CamelCase reason
136+
for the condition's last transition.
137+
type: string
138+
status:
139+
description: Status is the status of the condition.
140+
type: string
141+
type:
142+
description: Type is the type of the condition.
143+
type: string
144+
required:
145+
- status
146+
- type
147+
type: object
148+
type: array
149+
lifetime:
150+
description: Lifetime is the maximum lifetime of the claim after it
151+
is assigned a cluster. If the claim still exists when the lifetime
152+
has elapsed, the claim will be deleted by Hive.
153+
type: string
154+
type: object
155+
required:
156+
- spec
157+
type: object
158+
served: true
159+
storage: true
160+
subresources:
161+
status: {}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,131 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: (devel)
6+
creationTimestamp: null
7+
name: clusterdeploymentcustomizations.hive.openshift.io
8+
spec:
9+
group: hive.openshift.io
10+
names:
11+
kind: ClusterDeploymentCustomization
12+
listKind: ClusterDeploymentCustomizationList
13+
plural: clusterdeploymentcustomizations
14+
singular: clusterdeploymentcustomization
15+
scope: Namespaced
16+
versions:
17+
- name: v1
18+
schema:
19+
openAPIV3Schema:
20+
description: ClusterDeploymentCustomization is the Schema for clusterdeploymentcustomizations
21+
API.
22+
properties:
23+
apiVersion:
24+
description: 'APIVersion defines the versioned schema of this representation
25+
of an object. Servers should convert recognized schemas to the latest
26+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
27+
type: string
28+
kind:
29+
description: 'Kind is a string value representing the REST resource this
30+
object represents. Servers may infer this from the endpoint the client
31+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
32+
type: string
33+
metadata:
34+
type: object
35+
spec:
36+
description: ClusterDeploymentCustomizationSpec defines the desired state
37+
of ClusterDeploymentCustomization.
38+
properties:
39+
installConfigPatches:
40+
description: InstallConfigPatches is a list of patches to be applied
41+
to the install-config.
42+
items:
43+
description: PatchEntity represent a json patch (RFC 6902) to be
44+
applied to the install-config
45+
properties:
46+
from:
47+
description: From is the json path to copy or move the value
48+
from
49+
type: string
50+
op:
51+
description: 'Op is the operation to perform: add, remove, replace,
52+
move, copy, test'
53+
type: string
54+
path:
55+
description: Path is the json path to the value to be modified
56+
type: string
57+
value:
58+
description: Value is the value to be used in the operation
59+
type: string
60+
required:
61+
- op
62+
- path
63+
- value
64+
type: object
65+
type: array
66+
type: object
67+
status:
68+
description: ClusterDeploymentCustomizationStatus defines the observed
69+
state of ClusterDeploymentCustomization.
70+
properties:
71+
clusterDeploymentRef:
72+
description: ClusterDeploymentRef is a reference to the cluster deployment
73+
that this customization is applied on.
74+
properties:
75+
name:
76+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
77+
TODO: Add other useful fields. apiVersion, kind, uid?'
78+
type: string
79+
type: object
80+
x-kubernetes-map-type: atomic
81+
clusterPoolRef:
82+
description: ClusterPoolRef is the name of the current cluster pool
83+
the CDC used at.
84+
properties:
85+
name:
86+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names
87+
TODO: Add other useful fields. apiVersion, kind, uid?'
88+
type: string
89+
type: object
90+
x-kubernetes-map-type: atomic
91+
conditions:
92+
description: Conditions describes the state of the operator's reconciliation
93+
functionality.
94+
items:
95+
description: Condition represents the state of the operator's reconciliation
96+
functionality.
97+
properties:
98+
lastHeartbeatTime:
99+
format: date-time
100+
type: string
101+
lastTransitionTime:
102+
format: date-time
103+
type: string
104+
message:
105+
type: string
106+
reason:
107+
type: string
108+
status:
109+
type: string
110+
type:
111+
description: ConditionType is the state of the operator's reconciliation
112+
functionality.
113+
type: string
114+
required:
115+
- status
116+
- type
117+
type: object
118+
type: array
119+
lastAppliedConfiguration:
120+
description: LastAppliedConfiguration contains the last applied patches
121+
to the install-config. The information will retain for reference
122+
in case the customization is updated.
123+
type: string
124+
type: object
125+
required:
126+
- spec
127+
type: object
128+
served: true
129+
storage: true
130+
subresources:
131+
status: {}

0 commit comments

Comments
 (0)