From a4ab0e54d6ccdc296b234cdc713ca23c94311091 Mon Sep 17 00:00:00 2001 From: Jon Ayers Date: Wed, 4 Sep 2024 15:45:51 +0000 Subject: [PATCH] update readme --- README.md | 1 + integration/integrationtest/docker.go | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 8fb02eb..7ed5bda 100644 --- a/README.md +++ b/README.md @@ -27,6 +27,7 @@ The environment variables can be used to configure various aspects of the inner | `CODER_CPUS` | Dictates the number of CPUs to allocate the inner container. It is recommended to set this using the Kubernetes [Downward API](https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/#use-container-fields-as-values-for-environment-variables). | false | | `CODER_MEMORY` | Dictates the max memory (in bytes) to allocate the inner container. It is recommended to set this using the Kubernetes [Downward API](https://kubernetes.io/docs/tasks/inject-data-application/environment-variable-expose-pod-information/#use-container-fields-as-values-for-environment-variables). | false | | `CODER_DISABLE_IDMAPPED_MOUNT` | Disables idmapped mounts in sysbox. For more information, see the [Sysbox Documentation](https://github.com/nestybox/sysbox/blob/master/docs/user-guide/configuration.md#disabling-id-mapped-mounts-on-sysbox). | false | +| `CODER_EXTRA_CERTS_PATH` | A path to a file or directory containing CA certificates that should be made when communicating to external services (e.g. the Coder control plane or a Docker registry) | false | ## Coder Template diff --git a/integration/integrationtest/docker.go b/integration/integrationtest/docker.go index 23177ae..86b8a00 100644 --- a/integration/integrationtest/docker.go +++ b/integration/integrationtest/docker.go @@ -56,7 +56,6 @@ type CreateDockerCVMConfig struct { Envs []string OuterMounts []docker.HostMount - InnerMounts []string AddFUSE bool AddTUN bool CPUs int @@ -310,10 +309,6 @@ func cmdLineEnvs(c *CreateDockerCVMConfig) []string { envs = append(envs, EnvVar(cli.EnvInnerEnvs, strings.Join(c.InnerEnvFilter, ","))) } - if len(c.InnerMounts) > 0 { - envs = append(envs, EnvVar(cli.EnvMounts, strings.Join(c.InnerMounts, ","))) - } - if c.AddFUSE { envs = append(envs, EnvVar(cli.EnvAddFuse, "true")) }