1
0
Fork 0

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
Dustin 2023-12-27 15:33:36 -06:00
parent 4c6962fbc8
commit ad65a12b66
1 changed files with 6 additions and 0 deletions

View File

@ -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