Coder.comC
Coder.com13mo ago
44 replies
joelynnnnn

Workspace build failed for Kubernetes (Devcontainers)

I've mounted kubeconfig secret onto my Coder deployment and when I deploy Kubernetes (Deployment), it reads the secret correctly and deploys it into the Kubernetes Cluster.
However, for Devcontainers (Kubernetes), it seems like it doesn't read the kubeconfig and workspace build failed with "persistentvolumeclaims is forbidden ... cannot create resource "persistentvolumeclaims"

For both, the provider.kubernetes.configpath is exactly the same.
Was this page helpful?