1
1
# coder -- Primary configuration for `coder server`.
2
2
coder :
3
- # coder.replicaCount -- The number of Kubernetes deployment replicas.
4
- replicaCount : 1
3
+ # NOTE: this is currently not used as coder v2 does not support high
4
+ # availability yet.
5
+ # # coder.replicaCount -- The number of Kubernetes deployment replicas.
6
+ # replicaCount: 1
5
7
6
8
# coder.image -- The image to use for Coder.
7
9
image :
8
10
# coder.image.repo -- The repository of the image.
9
11
repo : " ghcr.io/coder/coder"
10
- # coder.image.tag -- The tag of the image, defaults to the same version as
11
- # the chart .
12
- tag : " {{.Release.Version}} "
12
+ # coder.image.tag -- The tag of the image, defaults to {{.Chart.AppVersion}}
13
+ # if not set .
14
+ tag : " "
13
15
# coder.image.pullPolicy -- The pull policy to use for the image. See:
14
16
# https://kubernetes.io/docs/concepts/containers/images/#image-pull-policy
15
17
pullPolicy : IfNotPresent
16
18
19
+ # coder.env -- The environment variables to set for Coder. These can be used
20
+ # to configure all aspects of `coder server`. Please see `coder server --help`
21
+ # for information about what environment variables can be set.
22
+ #
23
+ # Note: The following environment variables are set by default and cannot be
24
+ # overridden:
25
+ # - CODER_ADDRESS: set to 0.0.0.0:80 and cannot be changed.
26
+ # - CODER_TLS_ENABLE: set if tls.secretName is not empty.
27
+ # - CODER_TLS_CERT_FILE: set if tls.secretName is not empty.
28
+ # - CODER_TLS_KEY_FILE: set if tls.secretName is not empty.
29
+ env :
30
+ - name : CODER_ACCESS_URL
31
+ value : " https://coder.example.com"
32
+ # - name: CODER_PG_CONNECTION_URL
33
+ # value: "postgres://coder:password@postgres:5432/coder?sslmode=disable"
34
+
35
+ # coder.tls -- The TLS configuration for Coder.
36
+ tls :
37
+ # coder.tls.secretName -- The name of the secret containing the TLS
38
+ # certificate. The secret should exist in the same namespace as the Helm
39
+ # deployment and should be of type "kubernetes.io/tls". The secret will be
40
+ # automatically mounted into the pod if specified, and the correct
41
+ # "CODER_TLS_*" environment variables will be set for you.
42
+ secretName : " "
43
+
44
+ # coder.resources -- The resources to request for Coder. These are optional
45
+ # and are not set by default.
46
+ resources : {}
47
+ # limits:
48
+ # cpu: 100m
49
+ # memory: 128Mi
50
+ # requests:
51
+ # cpu: 100m
52
+ # memory: 128Mi
53
+
17
54
# coder.service -- The Service object to expose for Coder.
18
55
service :
56
+ # coder.service.enable -- Whether to create the Service object.
57
+ enable : true
19
58
# coder.service.type -- The type of service to expose. See:
20
59
# https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
21
60
type : LoadBalancer
22
61
# coder.service.externalTrafficPolicy -- The external traffic policy to use.
23
- # On AWS EKS you may need to change this to "Cluster". See:
62
+ # You may need to change this to "Local" to preserve the source IP address
63
+ # in some situations.
24
64
# https://kubernetes.io/docs/tasks/access-application-cluster/create-external-load-balancer/#preserving-the-client-source-ip
25
- externalTrafficPolicy : Local
65
+ externalTrafficPolicy : Cluster
26
66
# coder.service.loadBalancerIP -- The IP address of the LoadBalancer. If not
27
67
# specified, a new IP will be generated each time the load balancer is
28
68
# recreated. It is recommended to manually create a static IP address in
32
72
33
73
# coder.ingress -- The Ingress object to expose for Coder.
34
74
ingress :
35
- # coder.ingress.enable -- Whether to enable the Ingress.
75
+ # coder.ingress.enable -- Whether to create the Ingress object .
36
76
enable : false
37
77
# coder.ingress.className -- The name of the Ingress class to use.
38
78
className : " "
@@ -44,38 +84,3 @@ coder:
44
84
enable : false
45
85
# coder.ingress.tls.secretName -- The name of the TLS secret to use.
46
86
secretName : " "
47
-
48
- # coder.tls -- The TLS configuration for Coder.
49
- tls :
50
- # coder.tls.secretName -- The name of the secret containing the TLS
51
- # certificate. The secret should exist in the same namespace as the Helm
52
- # deployment and should be of type "kubernetes.io/tls". The secret will be
53
- # automatically mounted into the pod if specified, and the correct
54
- # "CODER_TLS_*" environment variables will be set for you.
55
- secretName : " "
56
-
57
- # coder.resources -- The resources to request for Coder. These are optional
58
- # and are not set by default.
59
- resources : {}
60
- # limits:
61
- # cpu: 100m
62
- # memory: 128Mi
63
- # requests:
64
- # cpu: 100m
65
- # memory: 128Mi
66
-
67
- # coder.env -- The environment variables to set for Coder. These can be used
68
- # to configure all aspects of `coder server`. Please see `coder server --help`
69
- # for information about what environment variables can be set.
70
- #
71
- # Note: The following environment variables are set by default and cannot be
72
- # overridden:
73
- # - CODER_ADDRESS: set to 0.0.0.0:80 and cannot be changed.
74
- # - CODER_TLS_ENABLE: set if tls.secretName is not empty.
75
- # - CODER_TLS_CERT_FILE: set if tls.secretName is not empty.
76
- # - CODER_TLS_KEY_FILE: set if tls.secretName is not empty.
77
- env :
78
- - name : CODER_ACCESS_URL
79
- value : " https://coder.example.com"
80
- - name : CODER_PG_CONNECTION_URL
81
- value : " postgres://coder:password@postgres:5432/coder?sslmode=disable"
0 commit comments