You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
... the documentation does not mention anything about my problem
... there are no open or closed issues that are related to my problem
Description
Using buildx plugin v0.10.4, I am using a gitlab CI task to create a kubernetes builder. The kubernetes config file is at default place : /root/.kube/config in runner task. It is properly used (kubectl get nodes is ok).
When I want to create a builder docker buildx create --bootstrap --driver=kubernetes [...] I have an error User "system:anonymous" cannot get resource "deployments" in API group "apps" in the namespace "gitlab-ci".
I also tried to set env var KUBECONFIG, but it does not change the behavior.
I have tried with a custom version of buildx with logging, and the error is pretty disapointing :
context "kubernetes:///ci-job-513721-nomarch?deployment=ci-job-513721-nomarch-amd64&kubeconfig=%2Froot%2F.kube%2Fconfig": context not found: open /root/.docker/contexts/meta/23abaa6b4bdd98bdf9056a5529007b5d3303031a61dff0664eca9aadc18d5e7e/meta.json: no such file or directory
Contributing guidelines
I've found a bug and checked that ...
Description
Using buildx plugin v0.10.4, I am using a gitlab CI task to create a kubernetes builder. The kubernetes config file is at default place :
/root/.kube/config
in runner task. It is properly used (kubectl get nodes
is ok).When I want to create a builder
docker buildx create --bootstrap --driver=kubernetes [...]
I have an errorUser "system:anonymous" cannot get resource "deployments" in API group "apps" in the namespace "gitlab-ci"
.I also tried to set env var
KUBECONFIG
, but it does not change the behavior.It may be related to #1676
Expected behaviour
The builder creation command
docker buildx create --bootstrap --driver=kubernetes [...]
should work.I have downgraded to v0.9.1, it works :
Actual behaviour
Error
User "system:anonymous" cannot get resource "deployments" in API group "apps" in the namespace "gitlab-ci"
.Tested with :
Buildx version
github.com/docker/buildx v0.10.4 c513d34
Docker info
No response
Builders list
Configuration
The text was updated successfully, but these errors were encountered: