You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Represents a plan to install and resolve dependencies for Cluster Services
7
+
description: Represents a plan to install and resolve dependencies for Cluster
8
+
Services
8
9
spec:
9
10
group: operators.coreos.com
10
11
version: v1alpha1
@@ -39,36 +40,165 @@ spec:
39
40
status: {}
40
41
validation:
41
42
openAPIV3Schema:
42
-
description: Represents a plan to install and resolve dependencies for Cluster Services.
43
+
description: InstallPlan defines the installation of a set of operators.
44
+
type: object
45
+
required:
46
+
- metadata
47
+
- spec
43
48
properties:
49
+
apiVersion:
50
+
description: 'APIVersion defines the versioned schema of this representation
51
+
of an object. Servers should convert recognized schemas to the latest
52
+
internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources'
53
+
type: string
54
+
kind:
55
+
description: 'Kind is a string value representing the REST resource this
56
+
object represents. Servers may infer this from the endpoint the client
57
+
submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
58
+
type: string
59
+
metadata:
60
+
type: object
44
61
spec:
62
+
description: InstallPlanSpec defines a set of Application resources to be
63
+
installed
45
64
type: object
46
-
description: Spec for an InstallPlan
47
65
required:
48
-
- clusterServiceVersionNames
49
66
- approval
67
+
- approved
68
+
- clusterServiceVersionNames
50
69
properties:
70
+
approval:
71
+
description: Approval is the user approval policy for an InstallPlan.
72
+
type: string
73
+
approved:
74
+
type: boolean
75
+
clusterServiceVersionNames:
76
+
type: array
77
+
items:
78
+
type: string
51
79
source:
52
80
type: string
53
-
description: Name of the preferred CatalogSource
54
81
sourceNamespace:
55
82
type: string
56
-
description: Namespace that contains the preffered CatalogSource
57
-
clusterServiceVersionNames:
83
+
status:
84
+
description: "InstallPlanStatus represents the information about the status
85
+
of steps required to complete installation. \n Status may trail the actual
86
+
state of a system."
87
+
type: object
88
+
required:
89
+
- catalogSources
90
+
- phase
91
+
properties:
92
+
attenuatedServiceAccountRef:
93
+
description: AttenuatedServiceAccountRef references the service account
94
+
that is used to do scoped operator install.
95
+
type: object
96
+
properties:
97
+
apiVersion:
98
+
description: API version of the referent.
99
+
type: string
100
+
fieldPath:
101
+
description: 'If referring to a piece of an object instead of an
102
+
entire object, this string should contain a valid JSON/Go field
103
+
access statement, such as desiredState.manifest.containers[2].
104
+
For example, if the object reference is to a container within
105
+
a pod, this would take on a value like: "spec.containers{name}"
106
+
(where "name" refers to the name of the container that triggered
107
+
the event) or if no container name is specified "spec.containers[2]"
108
+
(container with index 2 in this pod). This syntax is chosen only
109
+
to have some well-defined way of referencing a part of an object.
110
+
TODO: this design is not final and this field is subject to change
111
+
in the future.'
112
+
type: string
113
+
kind:
114
+
description: 'Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds'
115
+
type: string
116
+
name:
117
+
description: 'Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names'
118
+
type: string
119
+
namespace:
120
+
description: 'Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/'
121
+
type: string
122
+
resourceVersion:
123
+
description: 'Specific resourceVersion to which this reference is
124
+
made, if any. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency'
125
+
type: string
126
+
uid:
127
+
description: 'UID of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#uids'
128
+
type: string
129
+
catalogSources:
58
130
type: array
59
-
description: A list of the names of the Cluster Services
60
131
items:
61
132
type: string
62
-
anyOf:
63
-
- properties:
64
-
approval:
65
-
enum:
66
-
- Manual
67
-
approved:
68
-
type: boolean
69
-
required:
70
-
- approved
71
-
- properties:
72
-
approval:
73
-
enum:
74
-
- Automatic
133
+
conditions:
134
+
type: array
135
+
items:
136
+
description: InstallPlanCondition represents the overall status of
137
+
the execution of an InstallPlan.
138
+
type: object
139
+
properties:
140
+
lastTransitionTime:
141
+
type: string
142
+
format: date-time
143
+
lastUpdateTime:
144
+
type: string
145
+
format: date-time
146
+
message:
147
+
type: string
148
+
reason:
149
+
description: ConditionReason is a camelcased reason for the state
150
+
transition.
151
+
type: string
152
+
status:
153
+
type: string
154
+
type:
155
+
description: InstallPlanConditionType describes the state of an
156
+
InstallPlan at a certain point as a whole.
157
+
type: string
158
+
phase:
159
+
description: InstallPlanPhase is the current status of a InstallPlan
160
+
as a whole.
161
+
type: string
162
+
plan:
163
+
type: array
164
+
items:
165
+
description: Step represents the status of an individual step in an
166
+
InstallPlan.
167
+
type: object
168
+
required:
169
+
- resolving
170
+
- resource
171
+
- status
172
+
properties:
173
+
resolving:
174
+
type: string
175
+
resource:
176
+
description: StepResource represents the status of a resource
177
+
to be tracked by an InstallPlan.
178
+
type: object
179
+
required:
180
+
- group
181
+
- kind
182
+
- name
183
+
- sourceName
184
+
- sourceNamespace
185
+
- version
186
+
properties:
187
+
group:
188
+
type: string
189
+
kind:
190
+
type: string
191
+
manifest:
192
+
type: string
193
+
name:
194
+
type: string
195
+
sourceName:
196
+
type: string
197
+
sourceNamespace:
198
+
type: string
199
+
version:
200
+
type: string
201
+
status:
202
+
description: StepStatus is the current status of a particular
0 commit comments