okteto
okteto copied to clipboard
deploy always store variables in cmap key `dependencyEnvs`
Describe the bug
Variables contained in a dev environment are always added as dependency variables in the congigmap (in the depencyEnvs
field) relative to that dev environment.
To Reproduce Steps to reproduce the behavior:
- Deploy https://github.com/okteto/movies (no dependency)
- check config map related to that dev environment
- see configmap has
dependenyEnv
field but this dev environment is not a dependency
Expected behavior We should only store the variables of a dev environment when it is part of a dependency.
check that only the environment variables specified by the user are added to the dependencyEnvs
. Others such as KUBECONFIG
or OKTETO_NAMESPACE
are observed and it shouldn't be included.
This issue is stale because it has been open for 60 days with no activity. Comment on this issue or it will be closed in 7 days