Skip to content

Commit

Permalink
Renaming the authDriver and updating comments
Browse files Browse the repository at this point in the history
Signed-off-by: Amrutha Harikumar <[email protected]>
  • Loading branch information
Amrutha Harikumar committed Jan 6, 2025
1 parent 3f8f9d9 commit 5f71654
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions operator/v1/types_clustermanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5f71654

Please sign in to comment.