We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e9d76ac commit ecc5054Copy full SHA for ecc5054
1 file changed
api/v1alpha1/virtualcluster_types.go
@@ -26,11 +26,26 @@ import (
26
27
// VirtualClusterSpec defines the desired state of VirtualCluster.
28
type VirtualClusterSpec struct {
29
+ Chart HelmChart `json:"chart,omitempty"`
30
// +kubebuilder:pruning:PreserveUnknownFields
31
// +kubebuilder:validation:Schemaless
32
Values Values `json:"values,omitempty"`
33
}
34
35
+type HelmChart struct {
36
+ // Name is the name of the helm chart
37
+ // +default:value="vcluster"
38
+ Name string
39
+
40
+ // Repo is the name of the helm chart repository
41
+ // +default:value="https://charts.loft.sh"
42
+ Repo string
43
44
+ // Version is the version of the helm chart
45
+ // +default:value="v0.24.1"
46
+ Version string
47
+}
48
49
type Values struct {
50
config.Config `json:",inline"`
51
0 commit comments