Skip to content
Merged
6 changes: 6 additions & 0 deletions api/v1alpha1/addon_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,12 @@ type CNI struct {
// +kubebuilder:default=HelmAddon
// +kubebuilder:validation:Enum=ClusterResourceSet;HelmAddon
Strategy *AddonStrategy `json:"strategy,omitempty"`

// ValuesRef is an object reference to Configmap/Secret inside the same namespace
// which contains inline YAML representing the values for the Helm chart
// when HelmAddon is the strategy.
// +kubebuilder:validation:Optional
ValuesRef *corev1.TypedLocalObjectReference `json:"valuesRef,omitempty"`
}

// NFD tells us to enable or disable the node feature discovery addon.
Expand Down
23 changes: 23 additions & 0 deletions api/v1alpha1/crds/caren.nutanix.com_awsclusterconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,29 @@ spec:
- ClusterResourceSet
- HelmAddon
type: string
valuesRef:
description: |-
ValuesRef is an object reference to Configmap/Secret inside the same namespace
which contains inline YAML representing the values for the Helm chart
when HelmAddon is the strategy.
properties:
apiGroup:
description: |-
APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
x-kubernetes-map-type: atomic
required:
- provider
type: object
Expand Down
23 changes: 23 additions & 0 deletions api/v1alpha1/crds/caren.nutanix.com_dockerclusterconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,29 @@ spec:
- ClusterResourceSet
- HelmAddon
type: string
valuesRef:
description: |-
ValuesRef is an object reference to Configmap/Secret inside the same namespace
which contains inline YAML representing the values for the Helm chart
when HelmAddon is the strategy.
properties:
apiGroup:
description: |-
APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
x-kubernetes-map-type: atomic
required:
- provider
type: object
Expand Down
23 changes: 23 additions & 0 deletions api/v1alpha1/crds/caren.nutanix.com_nutanixclusterconfigs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,29 @@ spec:
- ClusterResourceSet
- HelmAddon
type: string
valuesRef:
description: |-
ValuesRef is an object reference to Configmap/Secret inside the same namespace
which contains inline YAML representing the values for the Helm chart
when HelmAddon is the strategy.
properties:
apiGroup:
description: |-
APIGroup is the group for the resource being referenced.
If APIGroup is not specified, the specified Kind must be in the core API group.
For any other third-party types, APIGroup is required.
type: string
kind:
description: Kind is the type of resource being referenced
type: string
name:
description: Name is the name of resource being referenced
type: string
required:
- kind
- name
type: object
x-kubernetes-map-type: atomic
required:
- provider
type: object
Expand Down
5 changes: 5 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading