-
Notifications
You must be signed in to change notification settings - Fork 952
Labels
need-helpAssign this label prompts an engineer to check the issue. Only humans may set this.Assign this label prompts an engineer to check the issue. Only humans may set this.
Description
Could someone help me here?
I am trying to deploy coder
using terraform's helm provider. My chart is simple:
resource "helm_release" "home_lab_arm" {
depends_on = [
helm_release.postgresql,
kubernetes_secret.coder_db_url
]
chart = "coder"
repository = "https://helm.coder.com/v2"
description = "Coder - the world's most advanced open source developer workspace"
version = "2.17.2"
name = "coder"
namespace = "coder"
values = [
<<EOT
coder:
env:
- name: CODER_PG_CONNECTION_URL
valueFrom:
secretKeyRef:
name: coder-db-url
key: url
- name: CODER_ACCESS_URL
value: "https://homelab.<redacted>"
- name: CODER_OIDC_ISSUER_URL
value: "https://keycloak-auth.<redacted>/realms/<redacted>"
- name: CODER_OIDC_EMAIL_DOMAIN
value: "<redacted>"
- name: CODER_OIDC_CLIENT_ID
value: ${data.keycloak_openid_client.this.client_id}
- name: CODER_OIDC_CLIENT_SECRET
value: ${data.keycloak_openid_client.this.client_secret}
- name: CODER_OIDC_SIGN_IN_TEXT
value: "Sign in with Keycloak"
- name: CODER_OIDC_ICON_URL
value: "https://upload.wikimedia.org/wikipedia/commons/2/29/Keycloak_Logo.png"
- name: CODER_DISABLE_PASSWORD_AUTH
value: "true"
service:
type: ClusterIP
EOT
]
timeout = 240
}
when I run helm commands the deployment succeeds. But when I run the above the pods get deployed in default
. And uninstalling a failed helm deployment doesn't clean things up.

Not sure why this happening. would really appreciate any clarification.
Metadata
Metadata
Assignees
Labels
need-helpAssign this label prompts an engineer to check the issue. Only humans may set this.Assign this label prompts an engineer to check the issue. Only humans may set this.