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