Skip to content

Commit

Permalink
Add secret get/list for webhook rbac (#1704) (#1707)
Browse files Browse the repository at this point in the history
* fix pd-client tls bug

* Revert "fix pd-client tls bug"

This reverts commit 336bef9.

* Update admission-webhook-rbac.yaml

* Update admission-webhook-rbac.yaml

Co-authored-by: Song Gao <disxiaofei@163.com>
  • Loading branch information
sre-bot and Yisaer authored Feb 15, 2020
1 parent 99987ac commit bcc6878
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ rules:
- apiGroups: [""]
resources: ["pods"]
verbs: ["get", "list", "watch", "update"]
- apiGroups: [""]
resources: ["secrets"]
verbs: ["get", "list"]
- apiGroups: [""]
resources: ["events"]
verbs: ["create","patch","update"]
Expand Down

0 comments on commit bcc6878

Please sign in to comment.