61 lines
2 KiB
YAML
61 lines
2 KiB
YAML
coder:
|
|
# You can specify any environment variables you'd like to pass to Coder
|
|
# here. Coder consumes environment variables listed in
|
|
# `coder server --help`, and these environment variables are also passed
|
|
# to the workspace provisioner (so you can consume them in your Terraform
|
|
# templates for auth keys etc.).
|
|
#
|
|
# Please keep in mind that you should not set `CODER_HTTP_ADDRESS`,
|
|
# `CODER_TLS_ENABLE`, `CODER_TLS_CERT_FILE` or `CODER_TLS_KEY_FILE` as
|
|
# they are already set by the Helm chart and will cause conflicts.
|
|
env:
|
|
- name: CODER_ACCESS_URL
|
|
value: https://coder.dev.t09.de
|
|
- name: CODER_PG_CONNECTION_URL
|
|
valueFrom:
|
|
secretKeyRef:
|
|
# You'll need to create a secret called coder-db-url with your
|
|
# Postgres connection URL like:
|
|
# postgres://coder:password@postgres:5432/coder?sslmode=disable
|
|
name: coder-db-user
|
|
key: url
|
|
# For production deployments, we recommend configuring your own GitHub
|
|
# OAuth2 provider and disabling the default one.
|
|
- name: CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE
|
|
value: "false"
|
|
- name: EDGE_CONNECT_ENDPOINT
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: edge-credential
|
|
key: endpoint
|
|
- name: EDGE_CONNECT_USERNAME
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: edge-credential
|
|
key: username
|
|
- name: EDGE_CONNECT_PASSWORD
|
|
valueFrom:
|
|
secretKeyRef:
|
|
name: edge-credential
|
|
key: password
|
|
|
|
# (Optional) For production deployments the access URL should be set.
|
|
# If you're just trying Coder, access the dashboard via the service IP.
|
|
# - name: CODER_ACCESS_URL
|
|
# value: "https://coder.example.com"
|
|
|
|
#tls:
|
|
# secretNames:
|
|
# - my-tls-secret-name
|
|
service:
|
|
type: ClusterIP
|
|
|
|
ingress:
|
|
enable: true
|
|
className: nginx
|
|
host: coder.dev.t09.de
|
|
annotations:
|
|
cert-manager.io/cluster-issuer: main
|
|
tls:
|
|
enable: true
|
|
secretName: coder-tls-secret
|