Skip to content

Commit c3e33d3

Browse files
allow approve certificates that are signed by grpc (#1228)
Signed-off-by: Wei Liu <[email protected]> Co-authored-by: Wei Liu <[email protected]>
1 parent ac48573 commit c3e33d3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

manifests/cluster-manager/hub/registration/clusterrole.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,9 @@ rules:
134134
verbs: ["update", "patch"]
135135
{{end}}
136136
{{if .GRPCAuthEnabled}}
137+
# Allow hub to approve/sign certificates that are signed by grpc
137138
- apiGroups: ["certificates.k8s.io"]
138139
resources: ["signers"]
139140
resourceNames: ["open-cluster-management.io/grpc"]
140-
verbs: ["sign"]
141+
verbs: ["approve", "sign"]
141142
{{end}}

0 commit comments

Comments
 (0)