Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Why does buildpack task require privileged? #29

Open
kscherer opened this issue Apr 15, 2021 · 3 comments
Open

Why does buildpack task require privileged? #29

kscherer opened this issue Apr 15, 2021 · 3 comments

Comments

@kscherer
Copy link

I would love to integrate the buildpack tekton tasks into our pipelines but the use of privileged access isn't going to get past our security review.

https://github.com/buildpacks/tekton-integration/blob/main/task/buildpacks/0.3/buildpacks.yaml#L118

Is it required for the chown? I am using the kaniko task and it uses runAsUser: 0 but not privileged. Ideally it would be possible to build images without any elevated permissions.

@GijsvanDulmen
Copy link

We had the same question! :-)

@jromero jromero added this to the task/buildpacks/0.4 milestone Jan 18, 2022
@zroubalik
Copy link

zroubalik commented Jun 8, 2022

This has been fixed in https://github.com/tektoncd/catalog/blob/main/task/buildpacks/0.4/buildpacks.yaml, I think we can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants