k8c.io/api/v3@v3.0.0-20230904060738-b0a93889c0b6/crd/community/kubermatic.k8c.io_presets.yaml (about) 1 # This file has been generated by hack/update-codegen.sh, DO NOT EDIT. 2 3 apiVersion: apiextensions.k8s.io/v1 4 kind: CustomResourceDefinition 5 metadata: 6 annotations: 7 controller-gen.kubebuilder.io/version: v0.12.0 8 name: presets.kubermatic.k8c.io 9 spec: 10 group: kubermatic.k8c.io 11 names: 12 kind: Preset 13 listKind: PresetList 14 plural: presets 15 singular: preset 16 scope: Cluster 17 versions: 18 - additionalPrinterColumns: 19 - jsonPath: .metadata.creationTimestamp 20 name: Age 21 type: date 22 name: v1 23 schema: 24 openAPIV3Schema: 25 description: Presets are preconfigured cloud provider credentials that can be applied to new clusters. This frees end users from having to know the actual credentials used for their clusters. 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: Presets specifies default presets for supported providers. 37 properties: 38 aks: 39 properties: 40 clientID: 41 type: string 42 clientSecret: 43 type: string 44 datacenter: 45 description: If datacenter is set, this preset is only applicable to the configured datacenter. 46 type: string 47 enabled: 48 description: Only enabled presets will be available in the KKP dashboard. 49 type: boolean 50 subscriptionID: 51 type: string 52 tenantID: 53 type: string 54 required: 55 - clientID 56 - clientSecret 57 - subscriptionID 58 - tenantID 59 type: object 60 alibaba: 61 properties: 62 accessKeyID: 63 description: Access Key ID to authenticate against Alibaba. 64 type: string 65 accessKeySecret: 66 description: Access Key Secret to authenticate against Alibaba. 67 type: string 68 datacenter: 69 description: If datacenter is set, this preset is only applicable to the configured datacenter. 70 type: string 71 enabled: 72 description: Only enabled presets will be available in the KKP dashboard. 73 type: boolean 74 required: 75 - accessKeyID 76 - accessKeySecret 77 type: object 78 anexia: 79 properties: 80 datacenter: 81 description: If datacenter is set, this preset is only applicable to the configured datacenter. 82 type: string 83 enabled: 84 description: Only enabled presets will be available in the KKP dashboard. 85 type: boolean 86 token: 87 description: Token is used to authenticate with the Anexia API. 88 type: string 89 required: 90 - token 91 type: object 92 aws: 93 properties: 94 accessKeyID: 95 description: Access Key ID to authenticate against AWS. 96 type: string 97 assumeRoleARN: 98 type: string 99 assumeRoleExternalID: 100 type: string 101 datacenter: 102 description: If datacenter is set, this preset is only applicable to the configured datacenter. 103 type: string 104 enabled: 105 description: Only enabled presets will be available in the KKP dashboard. 106 type: boolean 107 instanceProfileName: 108 description: Instance profile to use. This can be configured, but if left empty will be automatically filled in during reconciliation. 109 type: string 110 roleARN: 111 description: ARN to use. This can be configured, but if left empty will be automatically filled in during reconciliation. 112 type: string 113 routeTableID: 114 description: Route table to use. This can be configured, but if left empty will be automatically filled in during reconciliation. 115 type: string 116 secretAccessKey: 117 description: Secret Access Key to authenticate against AWS. 118 type: string 119 securityGroupID: 120 description: Security group to use. This can be configured, but if left empty will be automatically filled in during reconciliation. 121 type: string 122 vpcID: 123 description: AWS VPC to use. Must be configured. 124 type: string 125 required: 126 - accessKeyID 127 - secretAccessKey 128 type: object 129 azure: 130 properties: 131 clientID: 132 type: string 133 clientSecret: 134 type: string 135 datacenter: 136 description: If datacenter is set, this preset is only applicable to the configured datacenter. 137 type: string 138 enabled: 139 description: Only enabled presets will be available in the KKP dashboard. 140 type: boolean 141 loadBalancerSKU: 142 description: LoadBalancerSKU sets the LB type that will be used for the Azure cluster; if empty, "basic" will be used. 143 enum: 144 - standard 145 - basic 146 type: string 147 resourceGroup: 148 type: string 149 routeTable: 150 type: string 151 securityGroup: 152 type: string 153 subnet: 154 type: string 155 subscriptionID: 156 type: string 157 tenantID: 158 type: string 159 vnet: 160 type: string 161 vnetResourceGroup: 162 type: string 163 required: 164 - clientID 165 - clientSecret 166 - loadBalancerSKU 167 - subscriptionID 168 - tenantID 169 type: object 170 digitalocean: 171 properties: 172 datacenter: 173 description: If datacenter is set, this preset is only applicable to the configured datacenter. 174 type: string 175 enabled: 176 description: Only enabled presets will be available in the KKP dashboard. 177 type: boolean 178 token: 179 description: Token is used to authenticate with the DigitalOcean API. 180 type: string 181 required: 182 - token 183 type: object 184 eks: 185 properties: 186 accessKeyID: 187 type: string 188 assumeRoleARN: 189 type: string 190 assumeRoleExternalID: 191 type: string 192 datacenter: 193 description: If datacenter is set, this preset is only applicable to the configured datacenter. 194 type: string 195 enabled: 196 description: Only enabled presets will be available in the KKP dashboard. 197 type: boolean 198 secretAccessKey: 199 type: string 200 required: 201 - accessKeyID 202 - secretAccessKey 203 type: object 204 enabled: 205 description: Only enabled presets will be available in the KKP dashboard. 206 type: boolean 207 fake: 208 properties: 209 datacenter: 210 description: If datacenter is set, this preset is only applicable to the configured datacenter. 211 type: string 212 enabled: 213 description: Only enabled presets will be available in the KKP dashboard. 214 type: boolean 215 token: 216 type: string 217 required: 218 - token 219 type: object 220 gcp: 221 properties: 222 datacenter: 223 description: If datacenter is set, this preset is only applicable to the configured datacenter. 224 type: string 225 enabled: 226 description: Only enabled presets will be available in the KKP dashboard. 227 type: boolean 228 network: 229 type: string 230 serviceAccount: 231 type: string 232 subnetwork: 233 type: string 234 required: 235 - serviceAccount 236 type: object 237 gke: 238 properties: 239 datacenter: 240 description: If datacenter is set, this preset is only applicable to the configured datacenter. 241 type: string 242 enabled: 243 description: Only enabled presets will be available in the KKP dashboard. 244 type: boolean 245 serviceAccount: 246 type: string 247 required: 248 - serviceAccount 249 type: object 250 hetzner: 251 properties: 252 datacenter: 253 description: If datacenter is set, this preset is only applicable to the configured datacenter. 254 type: string 255 enabled: 256 description: Only enabled presets will be available in the KKP dashboard. 257 type: boolean 258 network: 259 description: Network is the pre-existing Hetzner network in which the machines are running. While machines can be in multiple networks, a single one must be chosen for the HCloud CCM to work. If this is empty, the network configured on the datacenter will be used. 260 type: string 261 token: 262 description: Token is used to authenticate with the Hetzner API. 263 type: string 264 required: 265 - token 266 type: object 267 kubevirt: 268 properties: 269 datacenter: 270 description: If datacenter is set, this preset is only applicable to the configured datacenter. 271 type: string 272 enabled: 273 description: Only enabled presets will be available in the KKP dashboard. 274 type: boolean 275 kubeconfig: 276 type: string 277 required: 278 - kubeconfig 279 type: object 280 nutanix: 281 properties: 282 clusterName: 283 description: ClusterName is the Nutanix cluster to deploy resources and nodes to. 284 type: string 285 csiEndpoint: 286 description: CSIEndpoint to access Nutanix Prism Element for csi driver 287 type: string 288 csiPassword: 289 description: Prism Element Password for csi driver 290 type: string 291 csiPort: 292 description: CSIPort to use when connecting to the Nutanix Prism Element endpoint (defaults to 9440) 293 format: int32 294 type: integer 295 csiUsername: 296 description: Prism Element Username for csi driver 297 type: string 298 datacenter: 299 description: If datacenter is set, this preset is only applicable to the configured datacenter. 300 type: string 301 enabled: 302 description: Only enabled presets will be available in the KKP dashboard. 303 type: boolean 304 password: 305 description: Password is the password corresponding to the provided user. 306 type: string 307 projectName: 308 description: ProjectName is the optional Nutanix project to use. If none is given, no project will be used. 309 type: string 310 proxyURL: 311 description: ProxyURL is used to optionally configure a HTTP proxy to access Nutanix Prism Central. 312 type: string 313 username: 314 description: Username is the username to access the Nutanix Prism Central API. 315 type: string 316 required: 317 - clusterName 318 - password 319 - username 320 type: object 321 openstack: 322 properties: 323 applicationCredentialID: 324 type: string 325 applicationCredentialSecret: 326 type: string 327 datacenter: 328 description: If datacenter is set, this preset is only applicable to the configured datacenter. 329 type: string 330 domain: 331 type: string 332 enabled: 333 description: Only enabled presets will be available in the KKP dashboard. 334 type: boolean 335 floatingIPPool: 336 type: string 337 network: 338 type: string 339 password: 340 type: string 341 project: 342 type: string 343 projectID: 344 type: string 345 routerID: 346 type: string 347 securityGroups: 348 type: string 349 subnetID: 350 type: string 351 useToken: 352 type: boolean 353 username: 354 type: string 355 required: 356 - domain 357 type: object 358 packet: 359 properties: 360 apiKey: 361 type: string 362 billingCycle: 363 type: string 364 datacenter: 365 description: If datacenter is set, this preset is only applicable to the configured datacenter. 366 type: string 367 enabled: 368 description: Only enabled presets will be available in the KKP dashboard. 369 type: boolean 370 projectID: 371 type: string 372 required: 373 - apiKey 374 - projectID 375 type: object 376 projects: 377 description: Projects is a list of project IDs that this preset is limited to. 378 items: 379 type: string 380 type: array 381 requiredEmails: 382 description: RequiredEmails is a list of e-mail addresses that this presets should be restricted to. Each item in the list can be either a full e-mail address or just a domain name. This restriction is only enforced in the KKP API. 383 items: 384 type: string 385 type: array 386 vmwareclouddirector: 387 properties: 388 apiToken: 389 type: string 390 datacenter: 391 description: If datacenter is set, this preset is only applicable to the configured datacenter. 392 type: string 393 enabled: 394 description: Only enabled presets will be available in the KKP dashboard. 395 type: boolean 396 organization: 397 type: string 398 ovdcNetwork: 399 type: string 400 password: 401 type: string 402 username: 403 type: string 404 vdc: 405 type: string 406 required: 407 - organization 408 - ovdcNetwork 409 - vdc 410 type: object 411 vsphere: 412 properties: 413 datacenter: 414 description: If datacenter is set, this preset is only applicable to the configured datacenter. 415 type: string 416 datastore: 417 type: string 418 datastoreCluster: 419 type: string 420 enabled: 421 description: Only enabled presets will be available in the KKP dashboard. 422 type: boolean 423 password: 424 type: string 425 resourcePool: 426 type: string 427 username: 428 type: string 429 vmNetName: 430 type: string 431 required: 432 - password 433 - username 434 type: object 435 type: object 436 required: 437 - spec 438 type: object 439 served: true 440 storage: true 441 subresources: {}