Skip to content

Commit

Permalink
fix SEALOS_DEVBOX_NAME env
Browse files Browse the repository at this point in the history
  • Loading branch information
lingdie committed Sep 11, 2024
1 parent ea70ba7 commit d6f41dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/devbox/internal/controller/helper/devbox.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func GenerateDevboxEnvVars(devbox *devboxv1alpha1.Devbox, nextCommitHistory *dev
},
{
Name: "SEALOS_DEVBOX_NAME",
Value: devbox.ObjectMeta.Namespace + devbox.ObjectMeta.Name,
Value: devbox.Namespace + "-" + devbox.Name,
},
{
Name: "SEALOS_DEVBOX_PASSWORD",
Expand Down

0 comments on commit d6f41dc

Please sign in to comment.