diff --git a/api/v1alpha1/proxmoxcluster_types.go b/api/v1alpha1/proxmoxcluster_types.go index f2019131..8190781e 100644 --- a/api/v1alpha1/proxmoxcluster_types.go +++ b/api/v1alpha1/proxmoxcluster_types.go @@ -71,6 +71,11 @@ type ProxmoxClusterSpec struct { // in the configuration and cloning of a proxmox VM. Multiple types of nodes can be specified. // +optional CloneSpec *ProxmoxClusterCloneSpec `json:"cloneSpec,omitempty"` + + // CredentialsRef is a reference to a Secret that contains the credentials to use for provisioning this cluster. If not + // supplied then the credentials of the controller will be used. + // +optional + CredentialsRef *corev1.ObjectReference `json:"credentialsRef,omitempty"` } // ProxmoxClusterCloneSpec is the configuration pertaining to all items configurable