|
| 1 | +apiVersion: apiextensions.k8s.io/v1 |
| 2 | +kind: CustomResourceDefinition |
| 3 | +metadata: |
| 4 | + annotations: |
| 5 | + controller-gen.kubebuilder.io/version: v0.14.0 |
| 6 | + creationTimestamp: null |
| 7 | + name: openstackprovisionservers.baremetal.openstack.org |
| 8 | +spec: |
| 9 | + group: baremetal.openstack.org |
| 10 | + names: |
| 11 | + kind: OpenStackProvisionServer |
| 12 | + listKind: OpenStackProvisionServerList |
| 13 | + plural: openstackprovisionservers |
| 14 | + shortNames: |
| 15 | + - osprovserver |
| 16 | + - osprovservers |
| 17 | + singular: openstackprovisionserver |
| 18 | + scope: Namespaced |
| 19 | + versions: |
| 20 | + - additionalPrinterColumns: |
| 21 | + - description: Status |
| 22 | + jsonPath: .status.conditions[0].status |
| 23 | + name: Status |
| 24 | + type: string |
| 25 | + - description: Message |
| 26 | + jsonPath: .status.conditions[0].message |
| 27 | + name: Message |
| 28 | + type: string |
| 29 | + name: v1beta1 |
| 30 | + schema: |
| 31 | + openAPIV3Schema: |
| 32 | + description: OpenStackProvisionServer used to serve custom images for baremetal |
| 33 | + provisioning with Metal3 |
| 34 | + properties: |
| 35 | + apiVersion: |
| 36 | + description: |- |
| 37 | + APIVersion defines the versioned schema of this representation of an object. |
| 38 | + Servers should convert recognized schemas to the latest internal value, and |
| 39 | + may reject unrecognized values. |
| 40 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources |
| 41 | + type: string |
| 42 | + kind: |
| 43 | + description: |- |
| 44 | + Kind is a string value representing the REST resource this object represents. |
| 45 | + Servers may infer this from the endpoint the client submits requests to. |
| 46 | + Cannot be updated. |
| 47 | + In CamelCase. |
| 48 | + More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds |
| 49 | + type: string |
| 50 | + metadata: |
| 51 | + type: object |
| 52 | + spec: |
| 53 | + description: OpenStackProvisionServerSpec defines the desired state of |
| 54 | + OpenStackProvisionServer |
| 55 | + properties: |
| 56 | + agentImageUrl: |
| 57 | + description: AgentImageURL - Container image URL for the sidecar container |
| 58 | + that discovers provisioning network IPs |
| 59 | + type: string |
| 60 | + apacheImageUrl: |
| 61 | + description: ApacheImageURL - Container image URL for the main container |
| 62 | + that serves the downloaded OS qcow2 image (osImage) |
| 63 | + type: string |
| 64 | + interface: |
| 65 | + description: Interface - An optional interface to use instead of the |
| 66 | + cluster's default provisioning interface (if any) |
| 67 | + type: string |
| 68 | + nodeSelector: |
| 69 | + additionalProperties: |
| 70 | + type: string |
| 71 | + description: NodeSelector to target subset of worker nodes running |
| 72 | + this provision server |
| 73 | + type: object |
| 74 | + osContainerImageUrl: |
| 75 | + description: OSContainerImageURL - Container image URL for init with |
| 76 | + the OS qcow2 image (osImage) |
| 77 | + type: string |
| 78 | + osImage: |
| 79 | + description: OSImage - OS qcow2 image (compressed as gz, or uncompressed) |
| 80 | + type: string |
| 81 | + osImageDir: |
| 82 | + default: /usr/local/apache2/htdocs |
| 83 | + description: OSImageDir - Directory on the container which holds the |
| 84 | + OS qcow2 image and checksum |
| 85 | + type: string |
| 86 | + port: |
| 87 | + description: Port - The port on which the Apache server should listen |
| 88 | + format: int32 |
| 89 | + maximum: 6220 |
| 90 | + minimum: 6190 |
| 91 | + type: integer |
| 92 | + preserveJobs: |
| 93 | + default: false |
| 94 | + description: PreserveJobs - do not delete jobs after they finished |
| 95 | + e.g. to check logs |
| 96 | + type: boolean |
| 97 | + resources: |
| 98 | + description: |- |
| 99 | + Resources - Compute Resources required by this provision server (Limits/Requests). |
| 100 | + https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
| 101 | + properties: |
| 102 | + claims: |
| 103 | + description: |- |
| 104 | + Claims lists the names of resources, defined in spec.resourceClaims, |
| 105 | + that are used by this container. |
| 106 | +
|
| 107 | +
|
| 108 | + This is an alpha field and requires enabling the |
| 109 | + DynamicResourceAllocation feature gate. |
| 110 | +
|
| 111 | +
|
| 112 | + This field is immutable. It can only be set for containers. |
| 113 | + items: |
| 114 | + description: ResourceClaim references one entry in PodSpec.ResourceClaims. |
| 115 | + properties: |
| 116 | + name: |
| 117 | + description: |- |
| 118 | + Name must match the name of one entry in pod.spec.resourceClaims of |
| 119 | + the Pod where this field is used. It makes that resource available |
| 120 | + inside a container. |
| 121 | + type: string |
| 122 | + required: |
| 123 | + - name |
| 124 | + type: object |
| 125 | + type: array |
| 126 | + x-kubernetes-list-map-keys: |
| 127 | + - name |
| 128 | + x-kubernetes-list-type: map |
| 129 | + limits: |
| 130 | + additionalProperties: |
| 131 | + anyOf: |
| 132 | + - type: integer |
| 133 | + - type: string |
| 134 | + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| 135 | + x-kubernetes-int-or-string: true |
| 136 | + description: |- |
| 137 | + Limits describes the maximum amount of compute resources allowed. |
| 138 | + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
| 139 | + type: object |
| 140 | + requests: |
| 141 | + additionalProperties: |
| 142 | + anyOf: |
| 143 | + - type: integer |
| 144 | + - type: string |
| 145 | + pattern: ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$ |
| 146 | + x-kubernetes-int-or-string: true |
| 147 | + description: |- |
| 148 | + Requests describes the minimum amount of compute resources required. |
| 149 | + If Requests is omitted for a container, it defaults to Limits if that is explicitly specified, |
| 150 | + otherwise to an implementation-defined value. Requests cannot exceed Limits. |
| 151 | + More info: https://kubernetes.io/docs/concepts/configuration/manage-resources-containers/ |
| 152 | + type: object |
| 153 | + type: object |
| 154 | + required: |
| 155 | + - agentImageUrl |
| 156 | + - apacheImageUrl |
| 157 | + - osContainerImageUrl |
| 158 | + - osImage |
| 159 | + - osImageDir |
| 160 | + type: object |
| 161 | + status: |
| 162 | + description: OpenStackProvisionServerStatus defines the observed state |
| 163 | + of OpenStackProvisionServer |
| 164 | + properties: |
| 165 | + conditions: |
| 166 | + description: Conditions |
| 167 | + items: |
| 168 | + description: Condition defines an observation of a API resource |
| 169 | + operational state. |
| 170 | + properties: |
| 171 | + lastTransitionTime: |
| 172 | + description: |- |
| 173 | + Last time the condition transitioned from one status to another. |
| 174 | + This should be when the underlying condition changed. If that is not known, then using the time when |
| 175 | + the API field changed is acceptable. |
| 176 | + format: date-time |
| 177 | + type: string |
| 178 | + message: |
| 179 | + description: A human readable message indicating details about |
| 180 | + the transition. |
| 181 | + type: string |
| 182 | + reason: |
| 183 | + description: The reason for the condition's last transition |
| 184 | + in CamelCase. |
| 185 | + type: string |
| 186 | + severity: |
| 187 | + description: |- |
| 188 | + Severity provides a classification of Reason code, so the current situation is immediately |
| 189 | + understandable and could act accordingly. |
| 190 | + It is meant for situations where Status=False and it should be indicated if it is just |
| 191 | + informational, warning (next reconciliation might fix it) or an error (e.g. DB create issue |
| 192 | + and no actions to automatically resolve the issue can/should be done). |
| 193 | + For conditions where Status=Unknown or Status=True the Severity should be SeverityNone. |
| 194 | + type: string |
| 195 | + status: |
| 196 | + description: Status of the condition, one of True, False, Unknown. |
| 197 | + type: string |
| 198 | + type: |
| 199 | + description: Type of condition in CamelCase. |
| 200 | + type: string |
| 201 | + required: |
| 202 | + - lastTransitionTime |
| 203 | + - status |
| 204 | + - type |
| 205 | + type: object |
| 206 | + type: array |
| 207 | + hash: |
| 208 | + additionalProperties: |
| 209 | + type: string |
| 210 | + description: Map of hashes to track e.g. job status |
| 211 | + type: object |
| 212 | + localImageChecksumUrl: |
| 213 | + description: URL of provisioning image checksum on underlying Apache |
| 214 | + web server |
| 215 | + type: string |
| 216 | + localImageUrl: |
| 217 | + description: URL of provisioning image on underlying Apache web server |
| 218 | + type: string |
| 219 | + osImageChecksumFilename: |
| 220 | + description: Filename of OSImage checksum |
| 221 | + type: string |
| 222 | + osImageChecksumType: |
| 223 | + description: OSImage checksum type |
| 224 | + enum: |
| 225 | + - md5 |
| 226 | + - sha256 |
| 227 | + - sha512 |
| 228 | + - auto |
| 229 | + type: string |
| 230 | + provisionIp: |
| 231 | + description: IP of the provisioning interface on the node running |
| 232 | + the ProvisionServer pod |
| 233 | + type: string |
| 234 | + readyCount: |
| 235 | + description: ReadyCount of provision server Apache instances |
| 236 | + format: int32 |
| 237 | + type: integer |
| 238 | + type: object |
| 239 | + type: object |
| 240 | + served: true |
| 241 | + storage: true |
| 242 | + subresources: |
| 243 | + status: {} |
| 244 | +status: |
| 245 | + acceptedNames: |
| 246 | + kind: "" |
| 247 | + plural: "" |
| 248 | + conditions: null |
| 249 | + storedVersions: null |
0 commit comments