We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dbe911c commit 271e203Copy full SHA for 271e203
1 file changed
cmd/run.go
@@ -108,6 +108,12 @@ func (cmd *RunCmd) RunRun(f factory.Factory, args []string) error {
108
109
// Set config root
110
configOptions := cmd.ToConfigOptions()
111
+ configOptions.Vars = append([]string{
112
+ "devspace.namespace=" + cmd.Namespace,
113
+ "DEVSPACE_NAMESPACE=" + cmd.Namespace,
114
+ "devspace.context=" + cmd.KubeContext,
115
+ "DEVSPACE_CONTEXT=" + cmd.KubeContext,
116
+ }, configOptions.Vars...)
117
configLoader, err := f.NewConfigLoader(cmd.ConfigPath)
118
if err != nil {
119
return err
0 commit comments