From 5f716546c10690de4966c71e388acb2a94bb96eb Mon Sep 17 00:00:00 2001 From: Amrutha Harikumar Date: Mon, 6 Jan 2025 11:37:52 -0500 Subject: [PATCH] Renaming the authDriver and updating comments Signed-off-by: Amrutha Harikumar --- operator/v1/types_clustermanager.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/operator/v1/types_clustermanager.go b/operator/v1/types_clustermanager.go index 7ec09af2..85e9f2dc 100644 --- a/operator/v1/types_clustermanager.go +++ b/operator/v1/types_clustermanager.go @@ -109,12 +109,13 @@ type RegistrationHubConfiguration struct { // +optional FeatureGates []FeatureGate `json:"featureGates,omitempty"` - // This provides details to initialize Hub cluster + // AuthDrivers represent the list of authentication drivers for registration + // An AuthDriver helps to specify the type of authentication to be supported by the hub // +optional - RegistrationDriverHub RegistrationDriverHub `json:"registrationDriverHub,omitempty"` + AuthDrivers []AuthDriver `json:"authDrivers,omitempty"` } -type RegistrationDriverHub struct { +type AuthDriver struct { // Type of the authentication used by hub to initialize the Hub cluster. Possible values are csr and awsirsa. // +required