init
This commit is contained in:
parent
733b1e3a8f
commit
ab1659d34f
@ -58,6 +58,8 @@ spec:
|
||||
type: string
|
||||
default: "/home/git"
|
||||
|
||||
|
||||
|
||||
steps:
|
||||
- name: clone-checkout
|
||||
image: $(params.gitInitImage)
|
||||
@ -66,6 +68,16 @@ spec:
|
||||
#!/usr/bin/env sh
|
||||
set -eu
|
||||
|
||||
securityContext:
|
||||
allowPrivilegeEscalation: false
|
||||
capabilities:
|
||||
drop:
|
||||
- "ALL"
|
||||
runAsUser: 65532
|
||||
runAsGroup: 65532
|
||||
runAsNonRoot: true
|
||||
seccompProfile:
|
||||
type: RuntimeDefault
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user