Skip to content

Commit

Permalink
Merge pull request #2274 from johannesfrey/development-agent-image
Browse files Browse the repository at this point in the history
Populate AGENT_IMAGE env var during development
  • Loading branch information
FabianKramm authored Nov 13, 2024
2 parents fd6f0be + 946fe3d commit 45ea9e6
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 45ea9e6

Please sign in to comment.