jenkins: Allow Jenkins to read pod logs
Jenkins needs permission to read pod logs so it can display output from the JNLP agent if it crashes.
This commit is contained in:
@@ -74,6 +74,12 @@ rules:
|
|||||||
- pods/exec
|
- pods/exec
|
||||||
verbs:
|
verbs:
|
||||||
- '*'
|
- '*'
|
||||||
|
- apiGroups:
|
||||||
|
- ''
|
||||||
|
resources:
|
||||||
|
- pods/log
|
||||||
|
verbs:
|
||||||
|
- get
|
||||||
|
|
||||||
---
|
---
|
||||||
apiVersion: rbac.authorization.k8s.io/v1
|
apiVersion: rbac.authorization.k8s.io/v1
|
||||||
|
|||||||
Reference in New Issue
Block a user