Karan
Karan
CCoder.com
Created by Karan on 11/7/2024 in #help
Unable to create/delete workspace -- text file busy
No description
3 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, I am trying to push my Terraform templates to my self-hosted Coder running in Kuberentes. I followed this guide: https://coder.com/docs/admin/templates/managing-templates/change-management#coder-cli This is the error I am getting:
Encountered an error running "coder templates push", see "coder templates push --help" for more information
error: get organizations: Get "https://coder.my-env.my-org.com/api/v2/users/me/organizations": dial tcp: lookup coder.my-env.my-org.com on XXX.XXX.1XX.XXX:XX: no such host
Encountered an error running "coder templates push", see "coder templates push --help" for more information
error: get organizations: Get "https://coder.my-env.my-org.com/api/v2/users/me/organizations": dial tcp: lookup coder.my-env.my-org.com on XXX.XXX.1XX.XXX:XX: no such host
I am using this command:
coder templates push --yes ${TEMPLATE_NAME} --directory ${TEMPLATE_DIR}
coder templates push --yes ${TEMPLATE_NAME} --directory ${TEMPLATE_DIR}
I appreciate this may be more of a GitLab than Coder question, but I was wondering whether someone else has accomplished something similar? To allow GitLab to connect to my Kuberentes cluster, I set up an agent in my Kubernetes cluster: https://docs.gitlab.com/ee/user/clusters/agent/install/index.html Could anyone point me in the wrong direction? Any help would be much appreciated!
11 replies