-
Notifications
You must be signed in to change notification settings - Fork 1.3k
fix(scale-set-chart): Added missing deployments permissions to role #3677
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
Conversation
I'm experiencing the same issue. Any plan for when it will be reviewed? |
This is still an issue. Any maintainers interested in taking a look? |
@nikola-jokic it looks like you're the primary contributor these days. This is a tiny change and fixes an issue that's been persistent for a year. Can we get it merged or at least addressed? |
Hey @davepgreene, I don't think we should include this one in the release. The hook and the config that we provide through the chart contain the bare minimum required for it to run the basic workflow. If we were to include the deployment for this use case, where would we draw the line then? Why should the hook have this permission out of the box? Although it is not as easy as it should be to provide a custom config for the container mode, until we can prioritise work related to customising container modes, you will have to provide your own custom config and not use the |
Edit: I figured out the issue. The buildx kubernetes driver uses deployments: https://github.com/docker/buildx/blob/master/driver/kubernetes/factory.go#L146 Might be useful to call it out in docs as the wording I noted below seems to apply to any/all docker actions.
|
If you are running in kubernetes mode, the buildx builder fails to start as it cannot create a deployment.
This fixes the permissions issue.