Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sreya committed Sep 4, 2024
1 parent b5b2258 commit a4ab0e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
5 changes: 0 additions & 5 deletions integration/integrationtest/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@ type CreateDockerCVMConfig struct {
Envs []string

OuterMounts []docker.HostMount
InnerMounts []string
AddFUSE bool
AddTUN bool
CPUs int
Expand Down Expand Up @@ -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"))
}
Expand Down

0 comments on commit a4ab0e5

Please sign in to comment.