Skip to content

Commit

Permalink
Fix template type validation
Browse files Browse the repository at this point in the history
  • Loading branch information
eromanova committed Jun 17, 2024
1 parent 154f2d0 commit b58b971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/v1alpha1/template_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ type TemplateStatus struct {
// +optional
ChartRef *helmcontrollerv2.CrossNamespaceSourceReference `json:"chartRef,omitempty"`
// Type specifies the type of the provided template, as discovered from the Helm chart metadata.
// +kubebuilder:validation:Enum=deployment;provider;management
// +kubebuilder:validation:Enum=deployment;provider;core
Type string `json:"type,omitempty"`
// InfrastructureProviders specifies CAPI infrastructure providers associated with the template.
// +optional
Expand Down

0 comments on commit b58b971

Please sign in to comment.