Fix resources isues 28
This commit is contained in:
@@ -40,13 +40,12 @@ spec:
|
|||||||
steps:
|
steps:
|
||||||
- name: build-and-push
|
- name: build-and-push
|
||||||
image: gcr.io/kaniko-project/executor:v1.15.0-debug
|
image: gcr.io/kaniko-project/executor:v1.15.0-debug
|
||||||
|
# Note: Kaniko requires root to unpack image layers and perform chown operations
|
||||||
|
# This is a known requirement for container image building
|
||||||
securityContext:
|
securityContext:
|
||||||
runAsNonRoot: true
|
runAsNonRoot: false
|
||||||
runAsUser: 65532
|
runAsUser: 0
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
capabilities:
|
|
||||||
drop:
|
|
||||||
- ALL
|
|
||||||
seccompProfile:
|
seccompProfile:
|
||||||
type: RuntimeDefault
|
type: RuntimeDefault
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user