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

permission issue in openshift #4

Open
mortya opened this issue Sep 10, 2024 · 2 comments
Open

permission issue in openshift #4

mortya opened this issue Sep 10, 2024 · 2 comments

Comments

@mortya
Copy link

mortya commented Sep 10, 2024

Tried to install the plugin for argo rollouts in openshift 4.14 and got an error:

time="2024-09-10T14:10:18Z" level=fatal msg="Failed to download plugins: failed to create plugin folder for plugin (solo-io/glooplatform): (mkdir /home/argo-rollouts/plugin-bin: permission denied)

Got it working via workaround. Sufficient to add the "privileged" scc to argo rollouts and make the deployment's pod template container be "privileged". Obviously this is not the right thing to do, but it's acceptable (somewhat) for testing. Should be fixed in the code.

@ilrudie
Copy link
Collaborator

ilrudie commented Oct 24, 2024

Seems to be an issue with the way argo-rollouts itself handles plugins.

@ilrudie
Copy link
Collaborator

ilrudie commented Oct 24, 2024

https://github.com/argoproj-labs/rollouts-plugin-trafficrouter-openshift

The openshift plugin suggests that you put the binary in a location where your rollouts pods would be able to access it locally rather than specifying it as http url. That might be a good way to avoid needing higher privileges to download the plugin and write it somewhere.

the doc for rollouts has similar verbiage as well

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

2 participants