[stable/drone] adding permission to update deployments for pipeline clusterrole (#11036)

Signed-off-by: Max Williams <max.williams@deliveryhero.com>
This commit is contained in:
Max Williams
2019-02-01 02:00:31 -08:00
committed by Kubernetes Prow Robot
parent 19b5a7c41c
commit f51cbd01bf
2 changed files with 18 additions and 8 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
name: drone
home: https://drone.io/
icon: https://drone.io/apple-touch-icon.png
version: 2.0.0-rc.5
version: 2.0.0-rc.6
appVersion: 1.0.0-rc.4
description: Drone is a Continuous Delivery system built on container technology
keywords:
+17 -7
View File
@@ -9,6 +9,16 @@ metadata:
release: "{{ .Release.Name }}"
heritage: "{{ .Release.Service }}"
rules:
- apiGroups:
- extensions
resources:
- deployments
verbs:
- get
- list
- watch
- patch
- update
- apiGroups:
- ""
resources:
@@ -17,15 +27,15 @@ rules:
- secrets
- pods
verbs:
- "create"
- "delete"
- "get"
- "list"
- "watch"
- create
- delete
- get
- list
- watch
- apiGroups:
- ""
resources:
- "pods/log"
- pods/log
verbs:
- "get"
- get
{{ end }}