Not able to create a workspace using kubernetes devcontainer template
Using k3s and helm, I have setup the cluster.
While creating a workspace using kubernetes devcontainer template i am getting this error,

11 Replies
<#1337021605003657288>
Category
Help needed
Product
Coder (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
hey, Atif, you meant this only, right? For same namespace?

Yes
This GitHUb discussion looks similar
https://github.com/coder/coder/discussions/16175
They created another cluster role to fix the issue
oh okay I will try this, thanks
how to resolve this warning

resolved, thanks though
@Phorcys hey, do you have any templates to know how to attach Dockerfile or .devcontainer json to docker or devcontainer tamplate
I am not sure what you mean, could you please elaborate a bit?
I want to start a workspace with a exisiting database like postgres or questdb, so I want to create a template for that, do you have any example template which does something similar?
no, but all you need to do is install the database in the Dockerfile and start it in the
startup_script
or in a coder_script
do u have any example for the startup_script
you can do something like