Skip to content

Commit

Permalink
Fix CSR approval on kubernetes-1.18.0 version (#26)
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Szakaly <[email protected]>
  • Loading branch information
alex1989hu authored Apr 4, 2020
1 parent 33a7f96 commit f7a5a43
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion deploy/role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,21 @@ kind: ClusterRole
metadata:
name: kubelet-rubber-stamp
rules:
- apiGroups:
- certificates.k8s.io
resources:
- signers
# legacy-unknown: support before kubernetes-1.18.0
resourceNames:
- "kubernetes.io/legacy-unknown"
- "kubernetes.io/kubelet-serving"
verbs:
- approve
- apiGroups:
- certificates.k8s.io
resources:
- certificatesigningrequests
verbs:
- delete
- get
- list
- watch
Expand Down

0 comments on commit f7a5a43

Please sign in to comment.