Karan
CCoder.com
•Created by Karan on 10/10/2024 in #help
How to push templates to Kubernetes Coder from GitLab CI/CD?
11 replies
CCoder.com
•Created by Karan on 10/10/2024 in #help
How to push templates to Kubernetes Coder from GitLab CI/CD?
11 replies
CCoder.com
•Created by Karan on 10/10/2024 in #help
How to push templates to Kubernetes Coder from GitLab CI/CD?
Thanks, Atif.
Could you try to get your org name or uuid for the default org with https://${CODER_URL}/api/v2/organizationsI have tried this: But I don't get back a 405. It looks like it's expecting
POST
instead of GET
I am looking at this endpoint section in your API reference: https://coder.com/docs/reference/api/organizations#code-samples-211 replies
CCoder.com
•Created by Karan on 10/10/2024 in #help
How to push templates to Kubernetes Coder from GitLab CI/CD?
Hi all,
We are running Coder self-hosted in our Kubernetes cluster.
I would like to push templates from GitLab CI/CD to Coder: https://coder.com/docs/admin/templates/managing-templates/change-management#coder-cli. I followed this approach using the Coder CLI where I am using an API token.
This is the error message I'm seeing:
I set up my GitLab (using gitlab.com, not self-hosted) to talk to Kubernetes via an agent I installed in my cluster (following these instructions: https://docs.gitlab.com/ee/user/clusters/agent/install/index.html)
Has anyone else tried to accomplish the same thing? If so, any pointers would be much appreciated!
11 replies
CCoder.com
•Created by Karan on 10/10/2024 in #help
How to push templates to Kubernetes Coder from GitLab CI/CD?
Sorry, it looks like my description disappeared. Retyping...
11 replies