87 lines
3.0 KiB
YAML
87 lines
3.0 KiB
YAML
---
|
|
apiVersion: apiextensions.k8s.io/v1
|
|
kind: CustomResourceDefinition
|
|
metadata:
|
|
annotations:
|
|
controller-gen.kubebuilder.io/version: v0.19.0
|
|
name: vsphereblueprints.rig.appstack.io
|
|
spec:
|
|
group: rig.appstack.io
|
|
names:
|
|
kind: VsphereBlueprint
|
|
listKind: VsphereBlueprintList
|
|
plural: vsphereblueprints
|
|
shortNames:
|
|
- vbp
|
|
singular: vsphereblueprint
|
|
scope: Namespaced
|
|
versions:
|
|
- name: v1alpha1
|
|
schema:
|
|
openAPIV3Schema:
|
|
description: VsphereBlueprint is the Schema for the vsphereblueprints API
|
|
properties:
|
|
apiVersion:
|
|
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
|
|
type: string
|
|
kind:
|
|
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
|
|
type: string
|
|
metadata:
|
|
type: object
|
|
spec:
|
|
description: VsphereBlueprintSpec defines the desired state of VsphereBlueprint
|
|
properties:
|
|
datacenter:
|
|
description: Datacenter name (e.g. NL001)
|
|
type: string
|
|
datastore:
|
|
description: DatastoreCluster or Datastore name (e.g. "NL001 Development
|
|
- Rancher SDRS")
|
|
type: string
|
|
folder:
|
|
description: Folder path where VMs will be organized (e.g. "ICT Digitalisation
|
|
- Rancher")
|
|
type: string
|
|
network:
|
|
description: Network name to attach to (e.g. "nl001.vDS.Distri.Vlan.1542")
|
|
type: string
|
|
resourcePool:
|
|
description: ResourcePool path (e.g. "NL001 Development - Rancher/Resources")
|
|
type: string
|
|
template:
|
|
description: Template is the VM template name to clone from
|
|
type: string
|
|
vCenter:
|
|
description: vCenter address (e.g. vcenter.example.com)
|
|
type: string
|
|
required:
|
|
- datacenter
|
|
- datastore
|
|
- folder
|
|
- network
|
|
- resourcePool
|
|
- template
|
|
- vCenter
|
|
type: object
|
|
status:
|
|
description: VsphereBlueprintStatus defines the observed state
|
|
properties:
|
|
ready:
|
|
type: boolean
|
|
type: object
|
|
type: object
|
|
served: true
|
|
storage: true
|
|
subresources:
|
|
status: {}
|