Skip to content

Commit b7b223c

Browse files
Merge pull request #604 from jmprusi/jmprusi/microshift-olm
OPRUN-3063: Generate OLM microshift manifests
2 parents dc49d8f + 0e8e3ab commit b7b223c

File tree

37 files changed

+10443
-1
lines changed

37 files changed

+10443
-1
lines changed

microshift-manifests/0000_50_olm_00-catalogsources.crd.yaml

Lines changed: 742 additions & 0 deletions
Large diffs are not rendered by default.

microshift-manifests/0000_50_olm_00-clusterserviceversions.crd.yaml

Lines changed: 5351 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 267 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,267 @@
1+
apiVersion: apiextensions.k8s.io/v1
2+
kind: CustomResourceDefinition
3+
metadata:
4+
annotations:
5+
controller-gen.kubebuilder.io/version: v0.8.0
6+
include.release.openshift.io/ibm-cloud-managed: "true"
7+
include.release.openshift.io/self-managed-high-availability: "true"
8+
capability.openshift.io/name: "OperatorLifecycleManager"
9+
creationTimestamp: null
10+
name: installplans.operators.coreos.com
11+
spec:
12+
group: operators.coreos.com
13+
names:
14+
categories:
15+
- olm
16+
kind: InstallPlan
17+
listKind: InstallPlanList
18+
plural: installplans
19+
shortNames:
20+
- ip
21+
singular: installplan
22+
scope: Namespaced
23+
versions:
24+
- additionalPrinterColumns:
25+
- description: The first CSV in the list of clusterServiceVersionNames
26+
jsonPath: .spec.clusterServiceVersionNames[0]
27+
name: CSV
28+
type: string
29+
- description: The approval mode
30+
jsonPath: .spec.approval
31+
name: Approval
32+
type: string
33+
- jsonPath: .spec.approved
34+
name: Approved
35+
type: boolean
36+
name: v1alpha1
37+
schema:
38+
openAPIV3Schema:
39+
description: InstallPlan defines the installation of a set of operators.
40+
type: object
41+
required:
42+
- metadata
43+
- spec
44+
properties:
45+
apiVersion:
46+
description: 'APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
47+
type: string
48+
kind:
49+
description: 'Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
50+
type: string
51+
metadata:
52+
type: object
53+
spec:
54+
description: InstallPlanSpec defines a set of Application resources to be installed
55+
type: object
56+
required:
57+
- approval
58+
- approved
59+
- clusterServiceVersionNames
60+
properties:
61+
approval:
62+
description: Approval is the user approval policy for an InstallPlan. It must be one of "Automatic" or "Manual".
63+
type: string
64+
approved:
65+
type: boolean
66+
clusterServiceVersionNames:
67+
type: array
68+
items:
69+
type: string
70+
generation:
71+
type: integer
72+
source:
73+
type: string
74+
sourceNamespace:
75+
type: string
76+
status:
77+
description: "InstallPlanStatus represents the information about the status of steps required to complete installation. \n Status may trail the actual state of a system."
78+
type: object
79+
required:
80+
- catalogSources
81+
- phase
82+
properties:
83+
attenuatedServiceAccountRef:
84+
description: AttenuatedServiceAccountRef references the service account that is used to do scoped operator install.
85+
type: object
86+
properties:
87+
apiVersion:
88+
description: API version of the referent.
89+
type: string
90+
fieldPath:
91+
description: 'If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.'
92+
type: string
93+
kind:
94+
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
95+
type: string
96+
name:
97+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
98+
type: string
99+
namespace:
100+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
101+
type: string
102+
resourceVersion:
103+
description: 'Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
104+
type: string
105+
uid:
106+
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
107+
type: string
108+
bundleLookups:
109+
description: BundleLookups is the set of in-progress requests to pull and unpackage bundle content to the cluster.
110+
type: array
111+
items:
112+
description: BundleLookup is a request to pull and unpackage the content of a bundle to the cluster.
113+
type: object
114+
required:
115+
- catalogSourceRef
116+
- identifier
117+
- path
118+
- replaces
119+
properties:
120+
catalogSourceRef:
121+
description: CatalogSourceRef is a reference to the CatalogSource the bundle path was resolved from.
122+
type: object
123+
properties:
124+
apiVersion:
125+
description: API version of the referent.
126+
type: string
127+
fieldPath:
128+
description: 'If referring to a piece of an object instead of an entire object, this string should contain a valid JSON/Go field access statement, such as desiredState.manifest.containers[2]. For example, if the object reference is to a container within a pod, this would take on a value like: "spec.containers{name}" (where "name" refers to the name of the container that triggered the event) or if no container name is specified "spec.containers[2]" (container with index 2 in this pod). This syntax is chosen only to have some well-defined way of referencing a part of an object. TODO: this design is not final and this field is subject to change in the future.'
129+
type: string
130+
kind:
131+
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
132+
type: string
133+
name:
134+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
135+
type: string
136+
namespace:
137+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
138+
type: string
139+
resourceVersion:
140+
description: 'Specific resourceVersion to which this reference is made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
141+
type: string
142+
uid:
143+
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
144+
type: string
145+
conditions:
146+
description: Conditions represents the overall state of a BundleLookup.
147+
type: array
148+
items:
149+
type: object
150+
required:
151+
- status
152+
- type
153+
properties:
154+
lastTransitionTime:
155+
description: Last time the condition transitioned from one status to another.
156+
type: string
157+
format: date-time
158+
lastUpdateTime:
159+
description: Last time the condition was probed.
160+
type: string
161+
format: date-time
162+
message:
163+
description: A human readable message indicating details about the transition.
164+
type: string
165+
reason:
166+
description: The reason for the condition's last transition.
167+
type: string
168+
status:
169+
description: Status of the condition, one of True, False, Unknown.
170+
type: string
171+
type:
172+
description: Type of condition.
173+
type: string
174+
identifier:
175+
description: Identifier is the catalog-unique name of the operator (the name of the CSV for bundles that contain CSVs)
176+
type: string
177+
path:
178+
description: Path refers to the location of a bundle to pull. It's typically an image reference.
179+
type: string
180+
properties:
181+
description: The effective properties of the unpacked bundle.
182+
type: string
183+
replaces:
184+
description: Replaces is the name of the bundle to replace with the one found at Path.
185+
type: string
186+
catalogSources:
187+
type: array
188+
items:
189+
type: string
190+
conditions:
191+
type: array
192+
items:
193+
description: InstallPlanCondition represents the overall status of the execution of an InstallPlan.
194+
type: object
195+
properties:
196+
lastTransitionTime:
197+
type: string
198+
format: date-time
199+
lastUpdateTime:
200+
type: string
201+
format: date-time
202+
message:
203+
type: string
204+
reason:
205+
description: ConditionReason is a camelcased reason for the state transition.
206+
type: string
207+
status:
208+
type: string
209+
type:
210+
description: InstallPlanConditionType describes the state of an InstallPlan at a certain point as a whole.
211+
type: string
212+
message:
213+
description: Message is a human-readable message containing detailed information that may be important to understanding why the plan has its current status.
214+
type: string
215+
phase:
216+
description: InstallPlanPhase is the current status of a InstallPlan as a whole.
217+
type: string
218+
plan:
219+
type: array
220+
items:
221+
description: Step represents the status of an individual step in an InstallPlan.
222+
type: object
223+
required:
224+
- resolving
225+
- resource
226+
- status
227+
properties:
228+
optional:
229+
type: boolean
230+
resolving:
231+
type: string
232+
resource:
233+
description: StepResource represents the status of a resource to be tracked by an InstallPlan.
234+
type: object
235+
required:
236+
- group
237+
- kind
238+
- name
239+
- sourceName
240+
- sourceNamespace
241+
- version
242+
properties:
243+
group:
244+
type: string
245+
kind:
246+
type: string
247+
manifest:
248+
type: string
249+
name:
250+
type: string
251+
sourceName:
252+
type: string
253+
sourceNamespace:
254+
type: string
255+
version:
256+
type: string
257+
status:
258+
description: StepStatus is the current status of a particular resource an in InstallPlan
259+
type: string
260+
startTime:
261+
description: StartTime is the time when the controller began applying the resources listed in the plan to the cluster.
262+
type: string
263+
format: date-time
264+
served: true
265+
storage: true
266+
subresources:
267+
status: {}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
apiVersion: v1
2+
kind: Namespace
3+
metadata:
4+
name: openshift-operator-lifecycle-manager
5+
labels:
6+
pod-security.kubernetes.io/enforce: restricted
7+
pod-security.kubernetes.io/enforce-version: "v1.24"
8+
openshift.io/scc: ""
9+
openshift.io/cluster-monitoring: "true"
10+
annotations:
11+
openshift.io/node-selector: ""
12+
workload.openshift.io/allowed: "management"
13+
include.release.openshift.io/ibm-cloud-managed: "true"
14+
include.release.openshift.io/self-managed-high-availability: "true"
15+
capability.openshift.io/name: "OperatorLifecycleManager"
16+
---
17+
apiVersion: v1
18+
kind: Namespace
19+
metadata:
20+
name: openshift-operators
21+
labels:
22+
pod-security.kubernetes.io/enforce: privileged
23+
pod-security.kubernetes.io/enforce-version: "v1.24"
24+
openshift.io/scc: ""
25+
annotations:
26+
openshift.io/node-selector: ""
27+
workload.openshift.io/allowed: "management"
28+
include.release.openshift.io/ibm-cloud-managed: "true"
29+
include.release.openshift.io/self-managed-high-availability: "true"
30+
capability.openshift.io/name: "OperatorLifecycleManager"

0 commit comments

Comments
 (0)