Skip to content

Commit 5e3423e

Browse files
authored
add grpc registration driver in klusterlet (#387)
Signed-off-by: Wei Liu <[email protected]>
1 parent 8135889 commit 5e3423e

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

operator/v1/0000_00_operator.open-cluster-management.io_klusterlets.crd.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,7 @@ spec:
328328
enum:
329329
- csr
330330
- awsirsa
331+
- grpc
331332
type: string
332333
awsIrsa:
333334
description: |-

operator/v1/0000_01_operator.open-cluster-management.io_clustermanagers.crd.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ spec:
310310
properties:
311311
autoApprovedIdentities:
312312
description: AutoApprovedIdentities represent a list
313-
of approved arn patterns
313+
of approved users
314314
items:
315315
type: string
316316
type: array

operator/v1/types_clustermanager.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ type GRPCConfig struct {
150150
// +optional
151151
EndpointExposure *GRPCEndpointExposure `json:"endpointExposure,omitempty"`
152152

153-
// AutoApprovedIdentities represent a list of approved arn patterns
153+
// AutoApprovedIdentities represent a list of approved users
154154
// +optional
155155
AutoApprovedIdentities []string `json:"autoApprovedIdentities,omitempty"`
156156
}

operator/v1/types_klusterlet.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ type RegistrationDriver struct {
204204
// Type of the authentication used by managedcluster to register as well as pull work from hub. Possible values are csr and awsirsa.
205205
// +required
206206
// +kubebuilder:default:=csr
207-
// +kubebuilder:validation:Enum=csr;awsirsa
207+
// +kubebuilder:validation:Enum=csr;awsirsa;grpc
208208
AuthType string `json:"authType,omitempty"`
209209

210210
// Contain the details required for registering with hub cluster (ie: an EKS cluster) using AWS IAM roles for service account.

0 commit comments

Comments
 (0)