github.com/verrazzano/verrazzano@v1.7.0/platform-operator/helm_config/charts/verrazzano-cluster-operator/crds/clusters.verrazzano.io_okequickcreates.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: okequickcreates.clusters.verrazzano.io 11 spec: 12 group: clusters.verrazzano.io 13 names: 14 kind: OKEQuickCreate 15 listKind: OKEQuickCreateList 16 plural: okequickcreates 17 singular: okequickcreate 18 scope: Namespaced 19 versions: 20 - name: v1alpha1 21 schema: 22 openAPIV3Schema: 23 description: OKEQuickCreate specifies the API for quick-create OKE clusters. 24 properties: 25 apiVersion: 26 description: 'APIVersion defines the versioned schema of this representation 27 of an object. Servers should convert recognized schemas to the latest 28 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 32 object represents. Servers may infer this from the endpoint the client 33 submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds' 34 type: string 35 metadata: 36 type: object 37 spec: 38 description: The desired state of an OCNEOCIQuickCreate resource. 39 properties: 40 identityRef: 41 description: Reference for cloud authentication. 42 properties: 43 name: 44 description: Name of the ref. 45 maxLength: 63 46 minLength: 1 47 type: string 48 namespace: 49 description: Namespace of the ref. 50 maxLength: 63 51 minLength: 1 52 type: string 53 required: 54 - name 55 - namespace 56 type: object 57 kubernetes: 58 description: Kubernetes settings. 59 properties: 60 clusterNetwork: 61 default: 62 podCIDR: 10.244.0.0/16 63 serviceCIDR: 10.96.0.0/16 64 description: Kubernetes network settings. 65 properties: 66 podCIDR: 67 description: IP range for Kubernetes pods. The default is 68 `10.244.0.0/16` 69 pattern: ^([0-9]{1,3}\.){3}[0-9]{1,3}(\/([0-9]|[1-2][0-9]|3[0-2]))$ 70 type: string 71 serviceCIDR: 72 description: IP range for Kubernetes service addresses. The 73 default is `10.96.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 type: object 77 version: 78 description: Kubernetes version. 79 pattern: ^v([0-9]+\.){2}[0-9]+$ 80 type: string 81 required: 82 - version 83 type: object 84 oke: 85 description: OKE cluster settings. 86 properties: 87 cloudInitScript: 88 description: Cloud-init script to run during node startup. 89 items: 90 type: string 91 type: array 92 compartment: 93 description: OCI Compartment OCID where the cluster will be created 94 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 95 type: string 96 imageId: 97 description: Node image OCID. The default is the latest OL8 image 98 in the provided compartment. 99 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 100 type: string 101 network: 102 description: Network settings for the OKE cluster. 103 properties: 104 cniType: 105 description: CNI Type for cluster networking. May be FLANNEL_OVERLAY 106 or OCI_VCN_IP_NATIVE. 107 type: string 108 config: 109 description: VCN and subnet settings for existing networks. 110 properties: 111 createVCN: 112 default: false 113 description: If true, a new VCN is created for the cluster. 114 The default is false. 115 type: boolean 116 subnets: 117 description: List of existing subnets that will be used 118 by the cluster. 119 items: 120 properties: 121 id: 122 description: The ID of the subnet. 123 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 124 type: string 125 role: 126 description: Role of subnet within the cluster. 127 type: string 128 required: 129 - id 130 - role 131 type: object 132 type: array 133 vcn: 134 description: OCID of an existing VCN to create the cluster 135 inside. 136 pattern: ^([0-9a-zA-Z-_]+[.:])([0-9a-zA-Z-_]*[.:]){3,}([0-9a-zA-Z-_]+)$ 137 type: string 138 type: object 139 required: 140 - cniType 141 type: object 142 nodePools: 143 description: List of Node pools. 144 items: 145 properties: 146 bootVolumeGbs: 147 description: Size of node boot volume, in gigabytes. 148 maximum: 32000 149 minimum: 50 150 type: integer 151 memoryGbs: 152 description: Amount of memory per node, in gigabytes, when 153 using flex shapes. 154 maximum: 999 155 minimum: 1 156 type: integer 157 name: 158 type: string 159 ocpus: 160 description: Number of OCPUs per node, when using flex shapes. 161 maximum: 999 162 minimum: 1 163 type: integer 164 replicas: 165 description: Number of nodes to create. 166 maximum: 999 167 minimum: 1 168 type: integer 169 shape: 170 description: Node pool Shape. 171 type: string 172 required: 173 - name 174 - replicas 175 - shape 176 type: object 177 type: array 178 region: 179 description: OCI region where the cluster will be created. 180 type: string 181 sshPublicKey: 182 description: SSH public key for node ssh. 183 type: string 184 virtualNodePools: 185 description: List of Virtual Node pools. 186 items: 187 properties: 188 name: 189 type: string 190 replicas: 191 type: integer 192 required: 193 - name 194 - replicas 195 type: object 196 type: array 197 type: object 198 required: 199 - identityRef 200 - kubernetes 201 type: object 202 status: 203 description: The observed state of an OCNEOCIQuickCreate resource. 204 properties: 205 phase: 206 type: string 207 required: 208 - phase 209 type: object 210 type: object 211 served: true 212 storage: true 213 subresources: 214 status: {}