okteto icon indicating copy to clipboard operation
okteto copied to clipboard

deploy always store variables in cmap key `dependencyEnvs`

Open AdrianPedriza opened this issue 1 year ago • 1 comments

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:

  1. Deploy https://github.com/okteto/movies (no dependency)
  2. check config map related to that dev environment
  3. 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.

AdrianPedriza avatar May 30 '23 09:05 AdrianPedriza

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

github-actions[bot] avatar Jul 29 '23 10:07 github-actions[bot]