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.dch-webhooks-secrets
parent
4c6962fbc8
commit
ad65a12b66
|
@ -74,6 +74,12 @@ rules:
|
|||
- pods/exec
|
||||
verbs:
|
||||
- '*'
|
||||
- apiGroups:
|
||||
- ''
|
||||
resources:
|
||||
- pods/log
|
||||
verbs:
|
||||
- get
|
||||
|
||||
---
|
||||
apiVersion: rbac.authorization.k8s.io/v1
|
||||
|
|
Loading…
Reference in New Issue