|
| 1 | +--- |
| 2 | +apiVersion: apiextensions.k8s.io/v1 |
| 3 | +kind: CustomResourceDefinition |
| 4 | +metadata: |
| 5 | + annotations: |
| 6 | + controller-gen.kubebuilder.io/version: v0.12.0 |
| 7 | + name: extensions.olm.operatorframework.io |
| 8 | +spec: |
| 9 | + group: olm.operatorframework.io |
| 10 | + names: |
| 11 | + kind: Extension |
| 12 | + listKind: ExtensionList |
| 13 | + plural: extensions |
| 14 | + singular: extension |
| 15 | + scope: Namespaced |
| 16 | + versions: |
| 17 | + - additionalPrinterColumns: |
| 18 | + - description: The current reconciliation state of this extension |
| 19 | + jsonPath: .status.paused |
| 20 | + name: Paused |
| 21 | + type: string |
| 22 | + name: v1alpha1 |
| 23 | + schema: |
| 24 | + openAPIV3Schema: |
| 25 | + description: Extension is the Schema for the extensions API |
| 26 | + properties: |
| 27 | + apiVersion: |
| 28 | + 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' |
| 29 | + type: string |
| 30 | + kind: |
| 31 | + 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' |
| 32 | + type: string |
| 33 | + metadata: |
| 34 | + type: object |
| 35 | + spec: |
| 36 | + description: ExtensionSpec defines the desired state of Extension |
| 37 | + properties: |
| 38 | + paused: |
| 39 | + description: paused controls the management state of the extension. If the extension is paused, it will be ignored by the extension controller. |
| 40 | + type: boolean |
| 41 | + serviceAccountName: |
| 42 | + description: serviceAccountName is the name of a service account in the Extension's namespace that will be used to manage the installation and lifecycle of the extension. |
| 43 | + maxLength: 253 |
| 44 | + pattern: ^[a-z0-9]+([\.-][a-z0-9]+)*$ |
| 45 | + type: string |
| 46 | + source: |
| 47 | + description: source of Extension to be installed |
| 48 | + properties: |
| 49 | + package: |
| 50 | + description: package defines a reference for a bundle in a catalog defined by a name and a version and/or channel |
| 51 | + properties: |
| 52 | + channel: |
| 53 | + description: channel constraint definition |
| 54 | + maxLength: 48 |
| 55 | + pattern: ^[a-z0-9]+([\.-][a-z0-9]+)*$ |
| 56 | + type: string |
| 57 | + name: |
| 58 | + description: name specifies the name of the name of the package |
| 59 | + maxLength: 48 |
| 60 | + pattern: ^[a-z0-9]+(-[a-z0-9]+)*$ |
| 61 | + type: string |
| 62 | + upgradeConstraintPolicy: |
| 63 | + default: Enforce |
| 64 | + description: upgradeConstraintPolicy Defines the policy for how to handle upgrade constraints |
| 65 | + enum: |
| 66 | + - Enforce |
| 67 | + - Ignore |
| 68 | + type: string |
| 69 | + version: |
| 70 | + description: "Version is an optional semver constraint on the package version. If not specified, the latest version available of the package will be installed. If specified, the specific version of the package will be installed so long as it is available in any of the content sources available. Examples: 1.2.3, 1.0.0-alpha, 1.0.0-rc.1 \n For more information on semver, please see https://semver.org/ version constraint definition" |
| 71 | + maxLength: 64 |
| 72 | + pattern: ^(\s*(=||!=|>|<|>=|=>|<=|=<|~|~>|\^)\s*(v?(0|[1-9]\d*|[x|X|\*])(\.(0|[1-9]\d*|x|X|\*]))?(\.(0|[1-9]\d*|x|X|\*))?(-([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?(\+([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?)\s*)((?:\s+|,\s*|\s*\|\|\s*)(=||!=|>|<|>=|=>|<=|=<|~|~>|\^)\s*(v?(0|[1-9]\d*|x|X|\*])(\.(0|[1-9]\d*|x|X|\*))?(\.(0|[1-9]\d*|x|X|\*]))?(-([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?(\+([0-9A-Za-z\-]+(\.[0-9A-Za-z\-]+)*))?)\s*)*$ |
| 73 | + type: string |
| 74 | + required: |
| 75 | + - name |
| 76 | + type: object |
| 77 | + sourceType: |
| 78 | + description: sourceType is the discriminator for the source type |
| 79 | + enum: |
| 80 | + - package |
| 81 | + type: string |
| 82 | + required: |
| 83 | + - sourceType |
| 84 | + type: object |
| 85 | + x-kubernetes-validations: |
| 86 | + - message: sourceType must match populated union field |
| 87 | + rule: self.sourceType=='package' && has(self.__package__) |
| 88 | + required: |
| 89 | + - serviceAccountName |
| 90 | + - source |
| 91 | + type: object |
| 92 | + status: |
| 93 | + description: ExtensionStatus defines the observed state of Extension |
| 94 | + properties: |
| 95 | + conditions: |
| 96 | + items: |
| 97 | + description: "Condition contains details for one aspect of the current state of this API Resource. --- This struct is intended for direct use as an array at the field path .status.conditions. For example, \n type FooStatus struct{ // Represents the observations of a foo's current state. // Known .status.conditions.type are: \"Available\", \"Progressing\", and \"Degraded\" // +patchMergeKey=type // +patchStrategy=merge // +listType=map // +listMapKey=type Conditions []metav1.Condition `json:\"conditions,omitempty\" patchStrategy:\"merge\" patchMergeKey:\"type\" protobuf:\"bytes,1,rep,name=conditions\"` \n // other fields }" |
| 98 | + properties: |
| 99 | + lastTransitionTime: |
| 100 | + description: lastTransitionTime is the last time the condition transitioned from one status to another. This should be when the underlying condition changed. If that is not known, then using the time when the API field changed is acceptable. |
| 101 | + format: date-time |
| 102 | + type: string |
| 103 | + message: |
| 104 | + description: message is a human readable message indicating details about the transition. This may be an empty string. |
| 105 | + maxLength: 32768 |
| 106 | + type: string |
| 107 | + observedGeneration: |
| 108 | + description: observedGeneration represents the .metadata.generation that the condition was set based upon. For instance, if .metadata.generation is currently 12, but the .status.conditions[x].observedGeneration is 9, the condition is out of date with respect to the current state of the instance. |
| 109 | + format: int64 |
| 110 | + minimum: 0 |
| 111 | + type: integer |
| 112 | + reason: |
| 113 | + description: reason contains a programmatic identifier indicating the reason for the condition's last transition. Producers of specific condition types may define expected values and meanings for this field, and whether the values are considered a guaranteed API. The value should be a CamelCase string. This field may not be empty. |
| 114 | + maxLength: 1024 |
| 115 | + minLength: 1 |
| 116 | + pattern: ^[A-Za-z]([A-Za-z0-9_,:]*[A-Za-z0-9_])?$ |
| 117 | + type: string |
| 118 | + status: |
| 119 | + description: status of the condition, one of True, False, Unknown. |
| 120 | + enum: |
| 121 | + - "True" |
| 122 | + - "False" |
| 123 | + - Unknown |
| 124 | + type: string |
| 125 | + type: |
| 126 | + description: type of condition in CamelCase or in foo.example.com/CamelCase. --- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be useful (see .node.status.conditions), the ability to deconflict is important. The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) |
| 127 | + maxLength: 316 |
| 128 | + 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])$ |
| 129 | + type: string |
| 130 | + required: |
| 131 | + - lastTransitionTime |
| 132 | + - message |
| 133 | + - reason |
| 134 | + - status |
| 135 | + - type |
| 136 | + type: object |
| 137 | + type: array |
| 138 | + x-kubernetes-list-map-keys: |
| 139 | + - type |
| 140 | + x-kubernetes-list-type: map |
| 141 | + installedBundleResource: |
| 142 | + type: string |
| 143 | + paused: |
| 144 | + description: paused indicates the current reconciliation state of this extension |
| 145 | + type: boolean |
| 146 | + resolvedBundleResource: |
| 147 | + type: string |
| 148 | + required: |
| 149 | + - paused |
| 150 | + type: object |
| 151 | + type: object |
| 152 | + served: true |
| 153 | + storage: true |
| 154 | + subresources: |
| 155 | + status: {} |
0 commit comments