Skip to content

Commit

Permalink
fix buildah test failure
Browse files Browse the repository at this point in the history
this removed securityContext.privileged
set default STROAGE_DRIVER value to vfs

Signed-off-by: Pradeep Kumar <pradkuma@redhat.com>
  • Loading branch information
pradeepitm12 authored and tekton-robot committed Jan 15, 2021
1 parent b6adedb commit 5fcdf79
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
default: registry.redhat.io/rhel8/buildah@sha256:785f0d039113ba978c4ee467f0554de7b72411b5c555a16abe60062759799497
- name: STORAGE_DRIVER
description: Set buildah storage driver
default: overlay
default: vfs
- name: DOCKERFILE
description: Path to the Dockerfile to build.
default: ./Dockerfile
Expand Down Expand Up @@ -71,8 +71,6 @@ spec:
volumeMounts:
- name: varlibcontainers
mountPath: /var/lib/containers
securityContext:
privileged: true

- name: push
image: $(params.BUILDER_IMAGE)
Expand All @@ -85,8 +83,6 @@ spec:
volumeMounts:
- name: varlibcontainers
mountPath: /var/lib/containers
securityContext:
privileged: true

- name: digest-to-results
image: $(params.BUILDER_IMAGE)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
default: registry.redhat.io/rhel8/buildah@sha256:785f0d039113ba978c4ee467f0554de7b72411b5c555a16abe60062759799497
- name: STORAGE_DRIVER
description: Set buildah storage driver
default: overlay
default: vfs
- name: DOCKERFILE
description: Path to the Dockerfile to build.
default: ./Dockerfile
Expand Down Expand Up @@ -71,8 +71,6 @@ spec:
volumeMounts:
- name: varlibcontainers
mountPath: /var/lib/containers
securityContext:
privileged: true

- name: push
image: $(params.BUILDER_IMAGE)
Expand All @@ -85,8 +83,6 @@ spec:
volumeMounts:
- name: varlibcontainers
mountPath: /var/lib/containers
securityContext:
privileged: true

- name: digest-to-results
image: $(params.BUILDER_IMAGE)
Expand Down

0 comments on commit 5fcdf79

Please # to comment.