github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-cluster-operator/crds/clusters.verrazzano.io_ocneociquickcreates.yaml (about) 1 # Copyright (c) 2023, Oracle and/or its affiliates. 2 # Licensed under the Universal Permissive License v 1.0 as shown at https://oss.oracle.com/licenses/upl. 3 --- 4 apiVersion: apiextensions.k8s.io/v1 5 kind: CustomResourceDefinition 6 metadata: 7 annotations: 8 controller-gen.kubebuilder.io/version: v0.9.2 9 creationTimestamp: null 10 name: ocneociquickcreates.clusters.verrazzano.io 11 spec: 12 group: clusters.verrazzano.io 13 names: 14 kind: OCNEOCIQuickCreate 15 listKind: OCNEOCIQuickCreateList 16 plural: ocneociquickcreates 17 singular: ocneociquickcreate 18 scope: Namespaced 19 versions: 20 - name: v1alpha1 21 schema: 22 openAPIV3Schema: 23 description: OCNEOCIQuickCreate specifies the API for quick-create OCI OCNE 24 clusters. 25 properties: 26 apiVersion: 27 description: 'APIVersion defines the versioned schema of this representation 28 of an object. Servers should convert recognized schemas to the latest 29 internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources' 30 type: string 31 kind: 32 description: 'Kind is a string value representing the REST resource this 33 object represents. Servers may infer this from the endpoint the client 34 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 35 type: string 36 metadata: 37 type: object 38 spec: 39 description: The desired state of an OCNEOCIQuickCreate resource. 40 properties: 41 identityRef: 42 description: Reference for cloud authentication. 43 properties: 44 name: 45 description: Name of the ref. 46 maxLength: 63 47 minLength: 1 48 type: string 49 namespace: 50 description: Namespace of the ref. 51 maxLength: 63 52 minLength: 1 53 type: string 54 required: 55 - name 56 - namespace 57 type: object 58 kubernetes: 59 default: 60 clusterNetwork: 61 podCIDR: 10.244.0.0/16 62 serviceCIDR: 10.96.0.0/16 63 description: Kubernetes settings. 64 properties: 65 clusterNetwork: 66 default: 67 podCIDR: 10.244.0.0/16 68 serviceCIDR: 10.96.0.0/16 69 description: Kubernetes network settings. 70 properties: 71 podCIDR: 72 description: IP range for Kubernetes pods. The default is 73 `10.244.0.0/16` 74 pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))$ 75 type: string 76 serviceCIDR: 77 description: IP range for Kubernetes service addresses. The 78 default is `10.96.0.0/16`. 79 pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))$ 80 type: string 81 type: object 82 type: object 83 oci: 84 description: OCI infrastructure settings. 85 properties: 86 cloudInitScript: 87 description: Cloud-init script to run during node startup. 88 items: 89 type: string 90 type: array 91 compartment: 92 description: OCI Compartment OCID where the cluster will be created 93 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 94 type: string 95 controlPlane: 96 description: Control Plane node settings. 97 properties: 98 bootVolumeGbs: 99 description: Size of node boot volume, in gigabytes. 100 maximum: 32000 101 minimum: 50 102 type: integer 103 memoryGbs: 104 description: Amount of memory per node, in gigabytes, when 105 using flex shapes. 106 maximum: 999 107 minimum: 1 108 type: integer 109 ocpus: 110 description: Number of OCPUs per node, when using flex shapes. 111 maximum: 999 112 minimum: 1 113 type: integer 114 replicas: 115 description: Number of nodes to create. 116 maximum: 999 117 minimum: 1 118 type: integer 119 shape: 120 description: Node pool Shape. 121 type: string 122 required: 123 - replicas 124 - shape 125 type: object 126 imageId: 127 description: Node image OCID. The default is the latest OL8 image 128 in the provided compartment. 129 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 130 type: string 131 network: 132 default: 133 createVCN: false 134 description: OCI Network settings. 135 properties: 136 createVCN: 137 default: false 138 description: If true, a new VCN is created for the cluster. 139 The default is false. 140 type: boolean 141 subnets: 142 description: List of existing subnets that will be used by 143 the cluster. 144 items: 145 properties: 146 id: 147 description: The ID of the subnet. 148 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 149 type: string 150 role: 151 description: Role of subnet within the cluster. 152 type: string 153 required: 154 - id 155 - role 156 type: object 157 type: array 158 vcn: 159 description: OCID of an existing VCN to create the cluster 160 inside. 161 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 162 type: string 163 type: object 164 region: 165 description: OCI region where the cluster will be created. 166 type: string 167 sshPublicKey: 168 description: SSH public key for node ssh. 169 type: string 170 workers: 171 description: List of worker nodes. 172 items: 173 properties: 174 bootVolumeGbs: 175 description: Size of node boot volume, in gigabytes. 176 maximum: 32000 177 minimum: 50 178 type: integer 179 memoryGbs: 180 description: Amount of memory per node, in gigabytes, when 181 using flex shapes. 182 maximum: 999 183 minimum: 1 184 type: integer 185 name: 186 type: string 187 ocpus: 188 description: Number of OCPUs per node, when using flex shapes. 189 maximum: 999 190 minimum: 1 191 type: integer 192 replicas: 193 description: Number of nodes to create. 194 maximum: 999 195 minimum: 1 196 type: integer 197 shape: 198 description: Node pool Shape. 199 type: string 200 required: 201 - name 202 - replicas 203 - shape 204 type: object 205 type: array 206 required: 207 - controlPlane 208 type: object 209 ocne: 210 description: OCNE settings. 211 properties: 212 dependencies: 213 default: 214 skipInstall: false 215 description: OCNE dependency settings. 216 properties: 217 skipInstall: 218 default: false 219 description: Whether to skip OCNE dependency installation. 220 The default is `false`. 221 type: boolean 222 type: object 223 version: 224 description: OCNE Version. 225 type: string 226 required: 227 - version 228 type: object 229 privateRegistry: 230 description: Private Registry settings for the workload cluster. 231 properties: 232 credentialSecret: 233 description: Reference to private registry credentials secret. 234 properties: 235 name: 236 description: Name of the ref. 237 maxLength: 63 238 minLength: 1 239 type: string 240 namespace: 241 description: Namespace of the ref. 242 maxLength: 63 243 minLength: 1 244 type: string 245 required: 246 - name 247 - namespace 248 type: object 249 url: 250 description: Private registry URL. 251 type: string 252 required: 253 - url 254 type: object 255 proxy: 256 description: HTTP Proxy settings. 257 properties: 258 httpProxy: 259 description: HTTP Proxy string. 260 type: string 261 httpsProxy: 262 description: HTTPS Proxy string. 263 type: string 264 noProxy: 265 description: No Proxy string. 266 type: string 267 required: 268 - httpProxy 269 - httpsProxy 270 type: object 271 required: 272 - identityRef 273 - oci 274 - ocne 275 type: object 276 status: 277 description: The observed state of an OCNEOCIQuickCreate resource. 278 properties: 279 phase: 280 type: string 281 required: 282 - phase 283 type: object 284 type: object 285 served: true 286 storage: true 287 subresources: 288 status: {}