Skip to content

Commit 7527133

Browse files
authored
fix: uiplugin - the clusterHealthAnalyzer atr should be pointer (#974)
1 parent 7502b2b commit 7527133

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

pkg/apis/uiplugin/v1alpha1/types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ type MonitoringConfig struct {
168168
// ClusterHealthAnalyzer feature flag enablement
169169
//
170170
// +kubebuilder:validation:Optional
171-
ClusterHealthAnalyzer ClusterHealthAnalyzerReference `json:"clusterHealthAnalyzer,omitempty"`
171+
ClusterHealthAnalyzer *ClusterHealthAnalyzerReference `json:"clusterHealthAnalyzer,omitempty"`
172172
}
173173

174174
// AdvancedClusterManagementReference is used to configure references to the alertmanager and thanosQuerier that should be used

pkg/apis/uiplugin/v1alpha1/zz_generated.deepcopy.go

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)