From cf4b5546ac1db897bb09479d315aea7eaa7db98f Mon Sep 17 00:00:00 2001 From: Ekaterina Kazakova <41469478+eromanova@users.noreply.github.com> Date: Mon, 23 Dec 2024 13:50:15 +0400 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Michael Morgen Signed-off-by: Ekaterina Kazakova <41469478+eromanova@users.noreply.github.com> --- api/v1alpha1/managedcluster_types.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/v1alpha1/managedcluster_types.go b/api/v1alpha1/managedcluster_types.go index b4ccd0c3..400ff81e 100644 --- a/api/v1alpha1/managedcluster_types.go +++ b/api/v1alpha1/managedcluster_types.go @@ -61,9 +61,10 @@ type ManagedClusterSpec struct { Template string `json:"template"` // Name reference to the related Credentials object. Credential string `json:"credential,omitempty"` + // +kubebuilder:default:=true + // PropagateCredentials indicates whether credentials should be propagated // for use by CCM (Cloud Controller Manager). - // +kubebuilder:default:=true PropagateCredentials bool `json:"propagateCredentials,omitempty"` // Services is a list of services created via ServiceTemplates // that could be installed on the target cluster.