Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Why does the service account need privileged? #9

Open
christianh814 opened this issue Jan 27, 2021 · 0 comments
Open

Why does the service account need privileged? #9

christianh814 opened this issue Jan 27, 2021 · 0 comments

Comments

@christianh814
Copy link

In the Readme, it states...

To make sure the pipeline has the appropriate permissions to store images in the local OpenShift registry, we need to create a service account.

Then it has you running the following

oc adm policy add-scc-to-user privileged -z pipeline

After looking (albeit briefly) through this repo, there's nothing that suggest that you need privileged set. The SCC privileged should RARELY be used, unless absolutely necessary. And 9/10, people that think they need it, really don't (it's just they don't know which SCC to use).

I'm always cautious of anything that says I need privileged set.

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

No branches or pull requests

1 participant