|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.18.0 |
| 7 | + olm.operatorframework.io/generator: experimental |
| 8 | + name: clusterextensionrevisions.olm.operatorframework.io |
| 9 | +spec: |
| 10 | + group: olm.operatorframework.io |
| 11 | + names: |
| 12 | + kind: ClusterExtensionRevision |
| 13 | + listKind: ClusterExtensionRevisionList |
| 14 | + plural: clusterextensionrevisions |
| 15 | + singular: clusterextensionrevision |
| 16 | + scope: Cluster |
| 17 | + versions: |
| 18 | + - name: v1 |
| 19 | + schema: |
| 20 | + openAPIV3Schema: |
| 21 | + description: ClusterExtensionRevision is the Schema for the clusterextensionrevisions |
| 22 | + API |
| 23 | + properties: |
| 24 | + apiVersion: |
| 25 | + description: |- |
| 26 | + APIVersion defines the versioned schema of this representation of an object. |
| 27 | + Servers should convert recognized schemas to the latest internal value, and |
| 28 | + may reject unrecognized values. |
| 29 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 30 | + type: string |
| 31 | + kind: |
| 32 | + description: |- |
| 33 | + Kind is a string value representing the REST resource this object represents. |
| 34 | + Servers may infer this from the endpoint the client submits requests to. |
| 35 | + Cannot be updated. |
| 36 | + In CamelCase. |
| 37 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 38 | + type: string |
| 39 | + metadata: |
| 40 | + type: object |
| 41 | + spec: |
| 42 | + description: spec is an optional field that defines the desired state |
| 43 | + of the ClusterExtension. |
| 44 | + properties: |
| 45 | + lifecycleState: |
| 46 | + default: Active |
| 47 | + description: Specifies the lifecycle state of the ClusterExtensionRevision. |
| 48 | + enum: |
| 49 | + - Active |
| 50 | + - Paused |
| 51 | + - Archived |
| 52 | + type: string |
| 53 | + x-kubernetes-validations: |
| 54 | + - message: can not un-archive |
| 55 | + rule: oldSelf == 'Active' || oldSelf == 'Paused' || oldSelf == 'Archived' |
| 56 | + && oldSelf == self |
| 57 | + phases: |
| 58 | + items: |
| 59 | + properties: |
| 60 | + name: |
| 61 | + type: string |
| 62 | + objects: |
| 63 | + items: |
| 64 | + properties: |
| 65 | + object: |
| 66 | + type: object |
| 67 | + x-kubernetes-embedded-resource: true |
| 68 | + x-kubernetes-preserve-unknown-fields: true |
| 69 | + required: |
| 70 | + - object |
| 71 | + type: object |
| 72 | + type: array |
| 73 | + slices: |
| 74 | + items: |
| 75 | + type: string |
| 76 | + type: array |
| 77 | + required: |
| 78 | + - name |
| 79 | + - objects |
| 80 | + type: object |
| 81 | + type: array |
| 82 | + x-kubernetes-validations: |
| 83 | + - message: phases is immutable |
| 84 | + rule: self == oldSelf || oldSelf.size() == 0 |
| 85 | + previous: |
| 86 | + items: |
| 87 | + properties: |
| 88 | + name: |
| 89 | + type: string |
| 90 | + uid: |
| 91 | + description: |- |
| 92 | + UID is a type that holds unique ID values, including UUIDs. Because we |
| 93 | + don't ONLY use UUIDs, this is an alias to string. Being a type captures |
| 94 | + intent and helps make sure that UIDs and names do not get conflated. |
| 95 | + type: string |
| 96 | + required: |
| 97 | + - name |
| 98 | + - uid |
| 99 | + type: object |
| 100 | + type: array |
| 101 | + x-kubernetes-validations: |
| 102 | + - message: previous is immutable |
| 103 | + rule: self == oldSelf |
| 104 | + revision: |
| 105 | + format: int64 |
| 106 | + type: integer |
| 107 | + x-kubernetes-validations: |
| 108 | + - message: revision is immutable |
| 109 | + rule: self == oldSelf |
| 110 | + required: |
| 111 | + - phases |
| 112 | + - revision |
| 113 | + type: object |
| 114 | + status: |
| 115 | + description: status is an optional field that defines the observed state |
| 116 | + of the ClusterExtension. |
| 117 | + properties: |
| 118 | + conditions: |
| 119 | + items: |
| 120 | + description: Condition contains details for one aspect of the current |
| 121 | + state of this API Resource. |
| 122 | + properties: |
| 123 | + lastTransitionTime: |
| 124 | + description: |- |
| 125 | + lastTransitionTime is the last time the condition transitioned from one status to another. |
| 126 | + This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 127 | + format: date-time |
| 128 | + type: string |
| 129 | + message: |
| 130 | + description: |- |
| 131 | + message is a human readable message indicating details about the transition. |
| 132 | + This may be an empty string. |
| 133 | + maxLength: 32768 |
| 134 | + type: string |
| 135 | + observedGeneration: |
| 136 | + description: |- |
| 137 | + observedGeneration represents the .metadata.generation that the condition was set based upon. |
| 138 | + For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date |
| 139 | + with respect to the current state of the instance. |
| 140 | + format: int64 |
| 141 | + minimum: 0 |
| 142 | + type: integer |
| 143 | + reason: |
| 144 | + description: |- |
| 145 | + reason contains a programmatic identifier indicating the reason for the condition's last transition. |
| 146 | + Producers of specific condition types may define expected values and meanings for this field, |
| 147 | + and whether the values are considered a guaranteed API. |
| 148 | + The value should be a CamelCase string. |
| 149 | + This field may not be empty. |
| 150 | + maxLength: 1024 |
| 151 | + minLength: 1 |
| 152 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 153 | + type: string |
| 154 | + status: |
| 155 | + description: status of the condition, one of True, False, Unknown. |
| 156 | + enum: |
| 157 | + - "True" |
| 158 | + - "False" |
| 159 | + - Unknown |
| 160 | + type: string |
| 161 | + type: |
| 162 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. |
| 163 | + maxLength: 316 |
| 164 | + 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])$ |
| 165 | + type: string |
| 166 | + required: |
| 167 | + - lastTransitionTime |
| 168 | + - message |
| 169 | + - reason |
| 170 | + - status |
| 171 | + - type |
| 172 | + type: object |
| 173 | + type: array |
| 174 | + x-kubernetes-list-map-keys: |
| 175 | + - type |
| 176 | + x-kubernetes-list-type: map |
| 177 | + type: object |
| 178 | + type: object |
| 179 | + served: true |
| 180 | + storage: true |
| 181 | + subresources: |
| 182 | + status: {} |
0 commit comments