init
This commit is contained in:
parent
733b1e3a8f
commit
ab1659d34f
@ -58,6 +58,8 @@ spec:
|
|||||||
type: string
|
type: string
|
||||||
default: "/home/git"
|
default: "/home/git"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: clone-checkout
|
- name: clone-checkout
|
||||||
image: $(params.gitInitImage)
|
image: $(params.gitInitImage)
|
||||||
@ -66,6 +68,16 @@ spec:
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
set -eu
|
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