We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ab092a6 commit f6c6582Copy full SHA for f6c6582
operator/v1/types_klusterlet.go
@@ -180,9 +180,10 @@ type RegistrationConfiguration struct {
180
181
type RegistrationDriver struct {
182
// Type of the authentication used by managedcluster to register as well as pull work from hub. Possible values are csr and awsirsa.
183
+ // +required
184
// +kubebuilder:default:=csr
185
// +kubebuilder:validation:Enum=csr;awsirsa
- AuthType string `json:"authType"`
186
+ AuthType string `json:"authType,omitempty"`
187
188
// Contain the details required for registering with hub cluster (ie: an EKS cluster) using AWS IAM roles for service account.
189
// This is required only when the authType is awsirsa.
0 commit comments