diff --git a/helm/coder/templates/_coder.tpl b/helm/coder/templates/_coder.tpl index d0846ecf739b7..3964fd1e3f66d 100644 --- a/helm/coder/templates/_coder.tpl +++ b/helm/coder/templates/_coder.tpl @@ -100,9 +100,11 @@ readinessProbe: path: /healthz port: "http" scheme: "HTTP" + initialDelaySeconds: {{ .Values.coder.readinessProbe.initialDelaySeconds }} livenessProbe: httpGet: path: /healthz port: "http" scheme: "HTTP" + initialDelaySeconds: {{ .Values.coder.livenessProbe.initialDelaySeconds }} {{- end }} diff --git a/helm/coder/tests/testdata/auto_access_url_1.golden b/helm/coder/tests/testdata/auto_access_url_1.golden index 2eace7fe120ca..a8455dd53357f 100644 --- a/helm/coder/tests/testdata/auto_access_url_1.golden +++ b/helm/coder/tests/testdata/auto_access_url_1.golden @@ -171,6 +171,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -181,6 +182,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/auto_access_url_1_coder.golden b/helm/coder/tests/testdata/auto_access_url_1_coder.golden index 3d991373887d3..5862de46fa900 100644 --- a/helm/coder/tests/testdata/auto_access_url_1_coder.golden +++ b/helm/coder/tests/testdata/auto_access_url_1_coder.golden @@ -171,6 +171,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -181,6 +182,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/auto_access_url_2.golden b/helm/coder/tests/testdata/auto_access_url_2.golden index fe34f3ca587d9..d5c7ce4dd17ac 100644 --- a/helm/coder/tests/testdata/auto_access_url_2.golden +++ b/helm/coder/tests/testdata/auto_access_url_2.golden @@ -171,6 +171,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -181,6 +182,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/auto_access_url_2_coder.golden b/helm/coder/tests/testdata/auto_access_url_2_coder.golden index 0b36e6a77e029..94341b196c2b3 100644 --- a/helm/coder/tests/testdata/auto_access_url_2_coder.golden +++ b/helm/coder/tests/testdata/auto_access_url_2_coder.golden @@ -171,6 +171,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -181,6 +182,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/auto_access_url_3.golden b/helm/coder/tests/testdata/auto_access_url_3.golden index cad0bd1dc6af0..5ce3303dcdca3 100644 --- a/helm/coder/tests/testdata/auto_access_url_3.golden +++ b/helm/coder/tests/testdata/auto_access_url_3.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/auto_access_url_3_coder.golden b/helm/coder/tests/testdata/auto_access_url_3_coder.golden index dd8b73b55dd29..9298e7411bc74 100644 --- a/helm/coder/tests/testdata/auto_access_url_3_coder.golden +++ b/helm/coder/tests/testdata/auto_access_url_3_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/command.golden b/helm/coder/tests/testdata/command.golden index 877d85ee2fd94..9ef66d7ad3a07 100644 --- a/helm/coder/tests/testdata/command.golden +++ b/helm/coder/tests/testdata/command.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/command_args.golden b/helm/coder/tests/testdata/command_args.golden index 6ddf716706d26..d5633ce361966 100644 --- a/helm/coder/tests/testdata/command_args.golden +++ b/helm/coder/tests/testdata/command_args.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -180,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/command_args_coder.golden b/helm/coder/tests/testdata/command_args_coder.golden index 46a666928ccc0..8fafa90a7f080 100644 --- a/helm/coder/tests/testdata/command_args_coder.golden +++ b/helm/coder/tests/testdata/command_args_coder.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -180,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/command_coder.golden b/helm/coder/tests/testdata/command_coder.golden index 314f75b0e4335..055cec2380d59 100644 --- a/helm/coder/tests/testdata/command_coder.golden +++ b/helm/coder/tests/testdata/command_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/custom_resources.golden b/helm/coder/tests/testdata/custom_resources.golden index 67d78de581fea..ca5391e3ac5d9 100644 --- a/helm/coder/tests/testdata/custom_resources.golden +++ b/helm/coder/tests/testdata/custom_resources.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 4000m diff --git a/helm/coder/tests/testdata/custom_resources_coder.golden b/helm/coder/tests/testdata/custom_resources_coder.golden index c5ea2daad7cd2..f783a4f7e53e5 100644 --- a/helm/coder/tests/testdata/custom_resources_coder.golden +++ b/helm/coder/tests/testdata/custom_resources_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 4000m diff --git a/helm/coder/tests/testdata/default_values.golden b/helm/coder/tests/testdata/default_values.golden index b20caa4bcaf25..c48dffefd12f1 100644 --- a/helm/coder/tests/testdata/default_values.golden +++ b/helm/coder/tests/testdata/default_values.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/default_values_coder.golden b/helm/coder/tests/testdata/default_values_coder.golden index 2dd24fe80d593..bb8157ea46153 100644 --- a/helm/coder/tests/testdata/default_values_coder.golden +++ b/helm/coder/tests/testdata/default_values_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/env_from.golden b/helm/coder/tests/testdata/env_from.golden index 49a4b6b883788..eb43115a79187 100644 --- a/helm/coder/tests/testdata/env_from.golden +++ b/helm/coder/tests/testdata/env_from.golden @@ -181,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -191,6 +192,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/env_from_coder.golden b/helm/coder/tests/testdata/env_from_coder.golden index 82f7d718c0c40..a539842ce9187 100644 --- a/helm/coder/tests/testdata/env_from_coder.golden +++ b/helm/coder/tests/testdata/env_from_coder.golden @@ -181,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -191,6 +192,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/extra_templates.golden b/helm/coder/tests/testdata/extra_templates.golden index 7b152c7633015..2b0d5117c855f 100644 --- a/helm/coder/tests/testdata/extra_templates.golden +++ b/helm/coder/tests/testdata/extra_templates.golden @@ -178,6 +178,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -188,6 +189,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/extra_templates_coder.golden b/helm/coder/tests/testdata/extra_templates_coder.golden index 58555b8625655..bca6beee0c1ea 100644 --- a/helm/coder/tests/testdata/extra_templates_coder.golden +++ b/helm/coder/tests/testdata/extra_templates_coder.golden @@ -178,6 +178,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -188,6 +189,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/labels_annotations.golden b/helm/coder/tests/testdata/labels_annotations.golden index 7b92ea77bef14..6a83ee5ec1684 100644 --- a/helm/coder/tests/testdata/labels_annotations.golden +++ b/helm/coder/tests/testdata/labels_annotations.golden @@ -177,6 +177,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -187,6 +188,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/labels_annotations_coder.golden b/helm/coder/tests/testdata/labels_annotations_coder.golden index d54a1467a7070..f4454b575ba93 100644 --- a/helm/coder/tests/testdata/labels_annotations_coder.golden +++ b/helm/coder/tests/testdata/labels_annotations_coder.golden @@ -177,6 +177,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -187,6 +188,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/partial_resources.golden b/helm/coder/tests/testdata/partial_resources.golden index 504734b47adc8..9eade81274a44 100644 --- a/helm/coder/tests/testdata/partial_resources.golden +++ b/helm/coder/tests/testdata/partial_resources.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: requests: cpu: 1500m diff --git a/helm/coder/tests/testdata/partial_resources_coder.golden b/helm/coder/tests/testdata/partial_resources_coder.golden index e51a8b4cde16d..3edfa2a2fcbb3 100644 --- a/helm/coder/tests/testdata/partial_resources_coder.golden +++ b/helm/coder/tests/testdata/partial_resources_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: requests: cpu: 1500m diff --git a/helm/coder/tests/testdata/prometheus.golden b/helm/coder/tests/testdata/prometheus.golden index 0048accac8d13..0caa782975e8f 100644 --- a/helm/coder/tests/testdata/prometheus.golden +++ b/helm/coder/tests/testdata/prometheus.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -183,6 +184,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/prometheus_coder.golden b/helm/coder/tests/testdata/prometheus_coder.golden index ec5dfa81fc438..6985f714612c1 100644 --- a/helm/coder/tests/testdata/prometheus_coder.golden +++ b/helm/coder/tests/testdata/prometheus_coder.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -183,6 +184,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/provisionerd_psk.golden b/helm/coder/tests/testdata/provisionerd_psk.golden index 6d199a8c110fd..8efac9058c2fc 100644 --- a/helm/coder/tests/testdata/provisionerd_psk.golden +++ b/helm/coder/tests/testdata/provisionerd_psk.golden @@ -174,6 +174,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -184,6 +185,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/provisionerd_psk_coder.golden b/helm/coder/tests/testdata/provisionerd_psk_coder.golden index 7ba2337d0ca1e..cb9908874c686 100644 --- a/helm/coder/tests/testdata/provisionerd_psk_coder.golden +++ b/helm/coder/tests/testdata/provisionerd_psk_coder.golden @@ -174,6 +174,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -184,6 +185,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/sa.golden b/helm/coder/tests/testdata/sa.golden index bf00741be742b..f57293b211df6 100644 --- a/helm/coder/tests/testdata/sa.golden +++ b/helm/coder/tests/testdata/sa.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -180,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/sa_coder.golden b/helm/coder/tests/testdata/sa_coder.golden index c9d1cc0ec16e6..ae3ce59e35a24 100644 --- a/helm/coder/tests/testdata/sa_coder.golden +++ b/helm/coder/tests/testdata/sa_coder.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -180,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/sa_disabled.golden b/helm/coder/tests/testdata/sa_disabled.golden index ca7dd9a270a32..387a05f79536f 100644 --- a/helm/coder/tests/testdata/sa_disabled.golden +++ b/helm/coder/tests/testdata/sa_disabled.golden @@ -155,6 +155,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -165,6 +166,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/sa_disabled_coder.golden b/helm/coder/tests/testdata/sa_disabled_coder.golden index 5a9109bb507d3..77f9b0fc58ae9 100644 --- a/helm/coder/tests/testdata/sa_disabled_coder.golden +++ b/helm/coder/tests/testdata/sa_disabled_coder.golden @@ -155,6 +155,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -165,6 +166,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/sa_extra_rules.golden b/helm/coder/tests/testdata/sa_extra_rules.golden index 70c81ce6f4f14..8d74df5001d34 100644 --- a/helm/coder/tests/testdata/sa_extra_rules.golden +++ b/helm/coder/tests/testdata/sa_extra_rules.golden @@ -183,6 +183,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -193,6 +194,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/sa_extra_rules_coder.golden b/helm/coder/tests/testdata/sa_extra_rules_coder.golden index 47bfb8a23d26c..50849b76e89f2 100644 --- a/helm/coder/tests/testdata/sa_extra_rules_coder.golden +++ b/helm/coder/tests/testdata/sa_extra_rules_coder.golden @@ -183,6 +183,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -193,6 +194,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/securitycontext.golden b/helm/coder/tests/testdata/securitycontext.golden index dcc719b893925..ee1a3e3a795fd 100644 --- a/helm/coder/tests/testdata/securitycontext.golden +++ b/helm/coder/tests/testdata/securitycontext.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/securitycontext_coder.golden b/helm/coder/tests/testdata/securitycontext_coder.golden index d72412e7a34a6..fd3d70482df5b 100644 --- a/helm/coder/tests/testdata/securitycontext_coder.golden +++ b/helm/coder/tests/testdata/securitycontext_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/svc_loadbalancer.golden b/helm/coder/tests/testdata/svc_loadbalancer.golden index 05d49585f656a..dd55f8d530087 100644 --- a/helm/coder/tests/testdata/svc_loadbalancer.golden +++ b/helm/coder/tests/testdata/svc_loadbalancer.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/svc_loadbalancer_class.golden b/helm/coder/tests/testdata/svc_loadbalancer_class.golden index 38178fc338b92..92969226da94b 100644 --- a/helm/coder/tests/testdata/svc_loadbalancer_class.golden +++ b/helm/coder/tests/testdata/svc_loadbalancer_class.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -180,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/svc_loadbalancer_class_coder.golden b/helm/coder/tests/testdata/svc_loadbalancer_class_coder.golden index 156b10dbd41e1..aa8a19a234b3d 100644 --- a/helm/coder/tests/testdata/svc_loadbalancer_class_coder.golden +++ b/helm/coder/tests/testdata/svc_loadbalancer_class_coder.golden @@ -170,6 +170,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -180,6 +181,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/svc_loadbalancer_coder.golden b/helm/coder/tests/testdata/svc_loadbalancer_coder.golden index 7657e247b4e3d..a7d389fb048df 100644 --- a/helm/coder/tests/testdata/svc_loadbalancer_coder.golden +++ b/helm/coder/tests/testdata/svc_loadbalancer_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/svc_nodeport.golden b/helm/coder/tests/testdata/svc_nodeport.golden index 46948472d342b..9a271628728f7 100644 --- a/helm/coder/tests/testdata/svc_nodeport.golden +++ b/helm/coder/tests/testdata/svc_nodeport.golden @@ -168,6 +168,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -178,6 +179,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/svc_nodeport_coder.golden b/helm/coder/tests/testdata/svc_nodeport_coder.golden index 9fc2805def357..0a8805f84ba8b 100644 --- a/helm/coder/tests/testdata/svc_nodeport_coder.golden +++ b/helm/coder/tests/testdata/svc_nodeport_coder.golden @@ -168,6 +168,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -178,6 +179,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/tls.golden b/helm/coder/tests/testdata/tls.golden index b0859b1f74776..1cd0fb75bc6c6 100644 --- a/helm/coder/tests/testdata/tls.golden +++ b/helm/coder/tests/testdata/tls.golden @@ -182,6 +182,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -195,6 +196,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/tls_coder.golden b/helm/coder/tests/testdata/tls_coder.golden index 51a2797723fc0..95bec4a8c510e 100644 --- a/helm/coder/tests/testdata/tls_coder.golden +++ b/helm/coder/tests/testdata/tls_coder.golden @@ -182,6 +182,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -195,6 +196,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/topology.golden b/helm/coder/tests/testdata/topology.golden index d0179c6d2958d..4d8af24ce3c7f 100644 --- a/helm/coder/tests/testdata/topology.golden +++ b/helm/coder/tests/testdata/topology.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/topology_coder.golden b/helm/coder/tests/testdata/topology_coder.golden index 2c9f074f04537..3b81214417262 100644 --- a/helm/coder/tests/testdata/topology_coder.golden +++ b/helm/coder/tests/testdata/topology_coder.golden @@ -169,6 +169,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -179,6 +180,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/workspace_proxy.golden b/helm/coder/tests/testdata/workspace_proxy.golden index 61fe50685a819..d096bfe94feea 100644 --- a/helm/coder/tests/testdata/workspace_proxy.golden +++ b/helm/coder/tests/testdata/workspace_proxy.golden @@ -177,6 +177,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -187,6 +188,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/tests/testdata/workspace_proxy_coder.golden b/helm/coder/tests/testdata/workspace_proxy_coder.golden index a9330d5cc45ca..2ed59d5591261 100644 --- a/helm/coder/tests/testdata/workspace_proxy_coder.golden +++ b/helm/coder/tests/testdata/workspace_proxy_coder.golden @@ -177,6 +177,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 name: coder ports: - containerPort: 8080 @@ -187,6 +188,7 @@ spec: path: /healthz port: http scheme: HTTP + initialDelaySeconds: 0 resources: limits: cpu: 2000m diff --git a/helm/coder/values.yaml b/helm/coder/values.yaml index d44200a8ce938..fa6cb2c3622f8 100644 --- a/helm/coder/values.yaml +++ b/helm/coder/values.yaml @@ -206,6 +206,18 @@ coder: # cpu: 2000m # memory: 4096Mi + # coder.readinessProbe -- Readiness probe configuration for the Coder container. + readinessProbe: + # coder.readinessProbe.initialDelaySeconds -- Number of seconds after the container + # has started before readiness probes are initiated. + initialDelaySeconds: 0 + + # coder.livenessProbe -- Liveness probe configuration for the Coder container. + livenessProbe: + # coder.livenessProbe.initialDelaySeconds -- Number of seconds after the container + # has started before liveness probes are initiated. + initialDelaySeconds: 0 + # coder.certs -- CA bundles to mount inside the Coder pod. certs: # coder.certs.secrets -- A list of CA bundle secrets to mount into the Coder