Component Library
The component includes a Jsonnet library which provides helpers for creating cloudscale CAPI custom resources.
This page provides details for each field and function provided by the library.
|
The component doesn’t provide a function for custom resource |
apiGroup
This field stores the Kubernetes apiGroup for the custom resources.
Users can use this field instead of hard-coding the API group when they need to reference a cloudscale CAPI custom resource via apiGroup, kind and name.
CloudscaleCluster(name)
This function creates a minimal CloudscaleCluster custom resource.
The function only populates fields apiVersion, kind and metadata.name.
Field metadata.name is set to the value of argument name.