mirror of
https://github.com/coder/coder.git
synced 2025-07-15 22:20:27 +00:00
chore: reorder helm chart to improve ux (#8108)
It makes no sense that the primary option `env` was so far below infrequently used options.
This commit is contained in:
@ -1,27 +1,25 @@
|
|||||||
# coder -- Primary configuration for `coder server`.
|
# coder -- Primary configuration for `coder server`.
|
||||||
coder:
|
coder:
|
||||||
# coder.replicaCount -- The number of Kubernetes deployment replicas. This
|
# coder.env -- The environment variables to set for Coder. These can be used
|
||||||
# should only be increased if High Availability is enabled.
|
# to configure all aspects of `coder server`. Please see `coder server --help`
|
||||||
|
# for information about what environment variables can be set.
|
||||||
|
# Note: The following environment variables are set by default and cannot be
|
||||||
|
# overridden:
|
||||||
|
# - CODER_HTTP_ADDRESS: set to 0.0.0.0:8080 and cannot be changed.
|
||||||
|
# - CODER_TLS_ADDRESS: set to 0.0.0.0:8443 if tls.secretName is not empty.
|
||||||
|
# - CODER_TLS_ENABLE: set if tls.secretName is not empty.
|
||||||
|
# - CODER_TLS_CERT_FILE: set if tls.secretName is not empty.
|
||||||
|
# - CODER_TLS_KEY_FILE: set if tls.secretName is not empty.
|
||||||
|
# - CODER_PROMETHEUS_ADDRESS: set to 0.0.0.0:6060 and cannot be changed.
|
||||||
|
# Prometheus must still be enabled by setting CODER_PROMETHEUS_ENABLE.
|
||||||
|
# - KUBE_POD_IP
|
||||||
|
# - CODER_DERP_SERVER_RELAY_URL
|
||||||
#
|
#
|
||||||
# This is an Enterprise feature. Contact sales@coder.com.
|
# We will additionally set CODER_ACCESS_URL if unset to the cluster service
|
||||||
replicaCount: 1
|
# URL.
|
||||||
|
env: []
|
||||||
# coder.workspaceProxy -- Whether or not this deployment of Coder is a Coder
|
# - name: "CODER_ACCESS_URL"
|
||||||
# Workspace Proxy. Workspace Proxies reduce the latency between the user and
|
# value: "https://coder.example.com"
|
||||||
# their workspace for web connections (workspace apps and web terminal) and
|
|
||||||
# proxied connections from the CLI. Workspace Proxies are optional and only
|
|
||||||
# recommended for geographically sparse teams.
|
|
||||||
#
|
|
||||||
# Make sure you set CODER_PRIMARY_ACCESS_URL and CODER_PROXY_SESSION_TOKEN in
|
|
||||||
# the environment below. You can get a proxy token using the CLI:
|
|
||||||
# coder wsproxy create \
|
|
||||||
# --name "proxy-name" \
|
|
||||||
# --display-name "Proxy Name" \
|
|
||||||
# --icon "/emojis/xyz.png"
|
|
||||||
#
|
|
||||||
# This is an Enterprise feature. Contact sales@coder.com
|
|
||||||
# Docs: https://coder.com/docs/v2/latest/admin/workspace-proxies
|
|
||||||
workspaceProxy: false
|
|
||||||
|
|
||||||
# coder.image -- The image to use for Coder.
|
# coder.image -- The image to use for Coder.
|
||||||
image:
|
image:
|
||||||
@ -106,27 +104,6 @@ coder:
|
|||||||
# root. It is recommended to leave this setting disabled in production.
|
# root. It is recommended to leave this setting disabled in production.
|
||||||
allowPrivilegeEscalation: false
|
allowPrivilegeEscalation: false
|
||||||
|
|
||||||
# coder.env -- The environment variables to set for Coder. These can be used
|
|
||||||
# to configure all aspects of `coder server`. Please see `coder server --help`
|
|
||||||
# for information about what environment variables can be set.
|
|
||||||
# Note: The following environment variables are set by default and cannot be
|
|
||||||
# overridden:
|
|
||||||
# - CODER_HTTP_ADDRESS: set to 0.0.0.0:8080 and cannot be changed.
|
|
||||||
# - CODER_TLS_ADDRESS: set to 0.0.0.0:8443 if tls.secretName is not empty.
|
|
||||||
# - CODER_TLS_ENABLE: set if tls.secretName is not empty.
|
|
||||||
# - CODER_TLS_CERT_FILE: set if tls.secretName is not empty.
|
|
||||||
# - CODER_TLS_KEY_FILE: set if tls.secretName is not empty.
|
|
||||||
# - CODER_PROMETHEUS_ADDRESS: set to 0.0.0.0:6060 and cannot be changed.
|
|
||||||
# Prometheus must still be enabled by setting CODER_PROMETHEUS_ENABLE.
|
|
||||||
# - KUBE_POD_IP
|
|
||||||
# - CODER_DERP_SERVER_RELAY_URL
|
|
||||||
#
|
|
||||||
# We will additionally set CODER_ACCESS_URL if unset to the cluster service
|
|
||||||
# URL.
|
|
||||||
env: []
|
|
||||||
# - name: "CODER_ACCESS_URL"
|
|
||||||
# value: "https://coder.example.com"
|
|
||||||
|
|
||||||
# coder.volumes -- A list of extra volumes to add to the Coder pod.
|
# coder.volumes -- A list of extra volumes to add to the Coder pod.
|
||||||
volumes: []
|
volumes: []
|
||||||
# - name: "my-volume"
|
# - name: "my-volume"
|
||||||
@ -146,6 +123,29 @@ coder:
|
|||||||
# "CODER_TLS_*" environment variables will be set for you.
|
# "CODER_TLS_*" environment variables will be set for you.
|
||||||
secretNames: []
|
secretNames: []
|
||||||
|
|
||||||
|
# coder.replicaCount -- The number of Kubernetes deployment replicas. This
|
||||||
|
# should only be increased if High Availability is enabled.
|
||||||
|
#
|
||||||
|
# This is an Enterprise feature. Contact sales@coder.com.
|
||||||
|
replicaCount: 1
|
||||||
|
|
||||||
|
# coder.workspaceProxy -- Whether or not this deployment of Coder is a Coder
|
||||||
|
# Workspace Proxy. Workspace Proxies reduce the latency between the user and
|
||||||
|
# their workspace for web connections (workspace apps and web terminal) and
|
||||||
|
# proxied connections from the CLI. Workspace Proxies are optional and only
|
||||||
|
# recommended for geographically sparse teams.
|
||||||
|
#
|
||||||
|
# Make sure you set CODER_PRIMARY_ACCESS_URL and CODER_PROXY_SESSION_TOKEN in
|
||||||
|
# the environment below. You can get a proxy token using the CLI:
|
||||||
|
# coder wsproxy create \
|
||||||
|
# --name "proxy-name" \
|
||||||
|
# --display-name "Proxy Name" \
|
||||||
|
# --icon "/emojis/xyz.png"
|
||||||
|
#
|
||||||
|
# This is an Enterprise feature. Contact sales@coder.com
|
||||||
|
# Docs: https://coder.com/docs/v2/latest/admin/workspace-proxies
|
||||||
|
workspaceProxy: false
|
||||||
|
|
||||||
# coder.lifecycle -- container lifecycle handlers for the Coder container, allowing
|
# coder.lifecycle -- container lifecycle handlers for the Coder container, allowing
|
||||||
# for lifecycle events such as postStart and preStop events
|
# for lifecycle events such as postStart and preStop events
|
||||||
# See: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/
|
# See: https://kubernetes.io/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/
|
||||||
|
Reference in New Issue
Block a user