Skip to content

Commit e876311

Browse files
committed
OLM microshift manifests
Signed-off-by: Joaquim Moreno Prusi <[email protected]>
1 parent 56737cd commit e876311

33 files changed

+9932
-0
lines changed

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

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

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

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

0 commit comments

Comments
 (0)