Skip to content

Commit

Permalink
Populate AGENT_IMAGE env var during development
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesfrey committed Nov 12, 2024
1 parent 4417280 commit 946fe3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/vclusterctl/cmd/platform/add/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ func (cmd *ClusterCmd) Run(ctx context.Context, args []string) error {
"--namespace", namespace,
"--set", "agentOnly=true",
"--set", "image=" + cmp.Or(os.Getenv("DEVELOPMENT_IMAGE"), "ghcr.io/loft-sh/enterprise:release-test"),
"--set", "env.AGENT_IMAGE=" + cmp.Or(os.Getenv("AGENT_IMAGE"), os.Getenv("DEVELOPMENT_IMAGE"), "ghcr.io/loft-sh/enterprise:release-test"),
}
} else {
if cmd.HelmChartPath != "" {
Expand Down

0 comments on commit 946fe3d

Please sign in to comment.