github.com/operator-framework/operator-lifecycle-manager@v0.30.0/deploy/chart/crds/0000_50_olm_00-operatorconditions.crd.yaml (about) 1 apiVersion: apiextensions.k8s.io/v1 2 kind: CustomResourceDefinition 3 metadata: 4 annotations: 5 controller-gen.kubebuilder.io/version: v0.16.1 6 name: operatorconditions.operators.coreos.com 7 spec: 8 group: operators.coreos.com 9 names: 10 categories: 11 - olm 12 kind: OperatorCondition 13 listKind: OperatorConditionList 14 plural: operatorconditions 15 shortNames: 16 - condition 17 singular: operatorcondition 18 scope: Namespaced 19 versions: 20 - name: v1 21 schema: 22 openAPIV3Schema: 23 description: OperatorCondition is a Custom Resource of type `OperatorCondition` which is used to convey information to OLM about the state of an operator. 24 type: object 25 required: 26 - metadata 27 properties: 28 apiVersion: 29 description: |- 30 APIVersion defines the versioned schema of this representation of an object. 31 Servers should convert recognized schemas to the latest internal value, and 32 may reject unrecognized values. 33 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources 34 type: string 35 kind: 36 description: |- 37 Kind is a string value representing the REST resource this object represents. 38 Servers may infer this from the endpoint the client submits requests to. 39 Cannot be updated. 40 In CamelCase. 41 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds 42 type: string 43 metadata: 44 type: object 45 spec: 46 description: OperatorConditionSpec allows a cluster admin to convey information about the state of an operator to OLM, potentially overriding state reported by the operator. 47 type: object 48 properties: 49 deployments: 50 type: array 51 items: 52 type: string 53 overrides: 54 type: array 55 items: 56 description: Condition contains details for one aspect of the current state of this API Resource. 57 type: object 58 required: 59 - message 60 - reason 61 - status 62 - type 63 properties: 64 lastTransitionTime: 65 description: |- 66 lastTransitionTime is the last time the condition transitioned from one status to another. 67 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. 68 type: string 69 format: date-time 70 message: 71 description: |- 72 message is a human readable message indicating details about the transition. 73 This may be an empty string. 74 type: string 75 maxLength: 32768 76 observedGeneration: 77 description: |- 78 observedGeneration represents the .metadata.generation that the condition was set based upon. 79 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date 80 with respect to the current state of the instance. 81 type: integer 82 format: int64 83 minimum: 0 84 reason: 85 description: |- 86 reason contains a programmatic identifier indicating the reason for the condition's last transition. 87 Producers of specific condition types may define expected values and meanings for this field, 88 and whether the values are considered a guaranteed API. 89 The value should be a CamelCase string. 90 This field may not be empty. 91 type: string 92 maxLength: 1024 93 minLength: 1 94 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 95 status: 96 description: status of the condition, one of True, False, Unknown. 97 type: string 98 enum: 99 - "True" 100 - "False" 101 - Unknown 102 type: 103 description: type of condition in CamelCase or in foo.example.com/CamelCase. 104 type: string 105 maxLength: 316 106 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 107 serviceAccounts: 108 type: array 109 items: 110 type: string 111 status: 112 description: |- 113 OperatorConditionStatus allows an operator to convey information its state to OLM. The status may trail the actual 114 state of a system. 115 type: object 116 properties: 117 conditions: 118 type: array 119 items: 120 description: Condition contains details for one aspect of the current state of this API Resource. 121 type: object 122 required: 123 - lastTransitionTime 124 - message 125 - reason 126 - status 127 - type 128 properties: 129 lastTransitionTime: 130 description: |- 131 lastTransitionTime is the last time the condition transitioned from one status to another. 132 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. 133 type: string 134 format: date-time 135 message: 136 description: |- 137 message is a human readable message indicating details about the transition. 138 This may be an empty string. 139 type: string 140 maxLength: 32768 141 observedGeneration: 142 description: |- 143 observedGeneration represents the .metadata.generation that the condition was set based upon. 144 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date 145 with respect to the current state of the instance. 146 type: integer 147 format: int64 148 minimum: 0 149 reason: 150 description: |- 151 reason contains a programmatic identifier indicating the reason for the condition's last transition. 152 Producers of specific condition types may define expected values and meanings for this field, 153 and whether the values are considered a guaranteed API. 154 The value should be a CamelCase string. 155 This field may not be empty. 156 type: string 157 maxLength: 1024 158 minLength: 1 159 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 160 status: 161 description: status of the condition, one of True, False, Unknown. 162 type: string 163 enum: 164 - "True" 165 - "False" 166 - Unknown 167 type: 168 description: type of condition in CamelCase or in foo.example.com/CamelCase. 169 type: string 170 maxLength: 316 171 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 172 served: true 173 storage: false 174 subresources: 175 status: {} 176 - name: v2 177 schema: 178 openAPIV3Schema: 179 description: OperatorCondition is a Custom Resource of type `OperatorCondition` which is used to convey information to OLM about the state of an operator. 180 type: object 181 required: 182 - metadata 183 properties: 184 apiVersion: 185 description: |- 186 APIVersion defines the versioned schema of this representation of an object. 187 Servers should convert recognized schemas to the latest internal value, and 188 may reject unrecognized values. 189 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources 190 type: string 191 kind: 192 description: |- 193 Kind is a string value representing the REST resource this object represents. 194 Servers may infer this from the endpoint the client submits requests to. 195 Cannot be updated. 196 In CamelCase. 197 More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds 198 type: string 199 metadata: 200 type: object 201 spec: 202 description: |- 203 OperatorConditionSpec allows an operator to report state to OLM and provides 204 cluster admin with the ability to manually override state reported by the operator. 205 type: object 206 properties: 207 conditions: 208 type: array 209 items: 210 description: Condition contains details for one aspect of the current state of this API Resource. 211 type: object 212 required: 213 - lastTransitionTime 214 - message 215 - reason 216 - status 217 - type 218 properties: 219 lastTransitionTime: 220 description: |- 221 lastTransitionTime is the last time the condition transitioned from one status to another. 222 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. 223 type: string 224 format: date-time 225 message: 226 description: |- 227 message is a human readable message indicating details about the transition. 228 This may be an empty string. 229 type: string 230 maxLength: 32768 231 observedGeneration: 232 description: |- 233 observedGeneration represents the .metadata.generation that the condition was set based upon. 234 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date 235 with respect to the current state of the instance. 236 type: integer 237 format: int64 238 minimum: 0 239 reason: 240 description: |- 241 reason contains a programmatic identifier indicating the reason for the condition's last transition. 242 Producers of specific condition types may define expected values and meanings for this field, 243 and whether the values are considered a guaranteed API. 244 The value should be a CamelCase string. 245 This field may not be empty. 246 type: string 247 maxLength: 1024 248 minLength: 1 249 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 250 status: 251 description: status of the condition, one of True, False, Unknown. 252 type: string 253 enum: 254 - "True" 255 - "False" 256 - Unknown 257 type: 258 description: type of condition in CamelCase or in foo.example.com/CamelCase. 259 type: string 260 maxLength: 316 261 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 262 deployments: 263 type: array 264 items: 265 type: string 266 overrides: 267 type: array 268 items: 269 description: Condition contains details for one aspect of the current state of this API Resource. 270 type: object 271 required: 272 - message 273 - reason 274 - status 275 - type 276 properties: 277 lastTransitionTime: 278 description: |- 279 lastTransitionTime is the last time the condition transitioned from one status to another. 280 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. 281 type: string 282 format: date-time 283 message: 284 description: |- 285 message is a human readable message indicating details about the transition. 286 This may be an empty string. 287 type: string 288 maxLength: 32768 289 observedGeneration: 290 description: |- 291 observedGeneration represents the .metadata.generation that the condition was set based upon. 292 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date 293 with respect to the current state of the instance. 294 type: integer 295 format: int64 296 minimum: 0 297 reason: 298 description: |- 299 reason contains a programmatic identifier indicating the reason for the condition's last transition. 300 Producers of specific condition types may define expected values and meanings for this field, 301 and whether the values are considered a guaranteed API. 302 The value should be a CamelCase string. 303 This field may not be empty. 304 type: string 305 maxLength: 1024 306 minLength: 1 307 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 308 status: 309 description: status of the condition, one of True, False, Unknown. 310 type: string 311 enum: 312 - "True" 313 - "False" 314 - Unknown 315 type: 316 description: type of condition in CamelCase or in foo.example.com/CamelCase. 317 type: string 318 maxLength: 316 319 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 320 serviceAccounts: 321 type: array 322 items: 323 type: string 324 status: 325 description: OperatorConditionStatus allows OLM to convey which conditions have been observed. 326 type: object 327 properties: 328 conditions: 329 type: array 330 items: 331 description: Condition contains details for one aspect of the current state of this API Resource. 332 type: object 333 required: 334 - lastTransitionTime 335 - message 336 - reason 337 - status 338 - type 339 properties: 340 lastTransitionTime: 341 description: |- 342 lastTransitionTime is the last time the condition transitioned from one status to another. 343 This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. 344 type: string 345 format: date-time 346 message: 347 description: |- 348 message is a human readable message indicating details about the transition. 349 This may be an empty string. 350 type: string 351 maxLength: 32768 352 observedGeneration: 353 description: |- 354 observedGeneration represents the .metadata.generation that the condition was set based upon. 355 For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date 356 with respect to the current state of the instance. 357 type: integer 358 format: int64 359 minimum: 0 360 reason: 361 description: |- 362 reason contains a programmatic identifier indicating the reason for the condition's last transition. 363 Producers of specific condition types may define expected values and meanings for this field, 364 and whether the values are considered a guaranteed API. 365 The value should be a CamelCase string. 366 This field may not be empty. 367 type: string 368 maxLength: 1024 369 minLength: 1 370 pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ 371 status: 372 description: status of the condition, one of True, False, Unknown. 373 type: string 374 enum: 375 - "True" 376 - "False" 377 - Unknown 378 type: 379 description: type of condition in CamelCase or in foo.example.com/CamelCase. 380 type: string 381 maxLength: 316 382 pattern: ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$ 383 served: true 384 storage: true 385 subresources: 386 status: {}