mirror of
https://github.com/tektoncd/catalog.git
synced 2024-11-22 06:02:51 +00:00
Run jib-gradle as root
This will fix the issue of task not
working on OpenShift as it needs root access and
by default on OpenShift pod run as nonroot
Fix #198
(cherry picked from commit 46bdfaf5aa
)
This commit is contained in:
parent
2c3c81f712
commit
f7e9510582
@ -59,6 +59,8 @@ spec:
|
||||
- name: $(params.CACHE)
|
||||
mountPath: /tekton/home/.cache
|
||||
subPath: jib-cache
|
||||
securityContext:
|
||||
runAsUser: 0
|
||||
|
||||
volumes:
|
||||
- name: empty-dir-volume
|
||||
|
Loading…
Reference in New Issue
Block a user