mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 10:00:11 +00:00
allow approve certificates that are signed by grpc (#1225)
Signed-off-by: Wei Liu <liuweixa@redhat.com>
This commit is contained in:
@@ -134,8 +134,9 @@ rules:
|
||||
verbs: ["update", "patch"]
|
||||
{{end}}
|
||||
{{if .GRPCAuthEnabled}}
|
||||
# Allow hub to approve/sign certificates that are signed by grpc
|
||||
- apiGroups: ["certificates.k8s.io"]
|
||||
resources: ["signers"]
|
||||
resourceNames: ["open-cluster-management.io/grpc"]
|
||||
verbs: ["sign"]
|
||||
verbs: ["approve", "sign"]
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user