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:
2023-12-27 15:33:36 -06:00
parent 4c6962fbc8
commit ad65a12b66

View File

@@ -74,6 +74,12 @@ rules:
- pods/exec
verbs:
- '*'
- apiGroups:
- ''
resources:
- pods/log
verbs:
- get
---
apiVersion: rbac.authorization.k8s.io/v1