Merge pull request #151 from foomo/squadron-charts-var

refactor: move fleet name
This commit is contained in:
Kevin Franklin Kim 2024-10-27 14:06:44 +01:00 committed by GitHub
commit 3956445777
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -413,7 +413,7 @@ func (c *Command) execute(ctx context.Context, r *readline.Readline) error {
{ // handle pass through flags
if slices.Contains([]string{"up", "diff", "template"}, cmd) {
passFlags = append(passFlags, "--set", fmt.Sprintf("fleet=%v", fleet))
passFlags = append(passFlags, "--set", "global.foomo.squadron.fleet="+fleet)
}
if slices.Contains([]string{"up"}, cmd) {
if log.MustGet(ifs.GetBool("create-namespace"))(c.l) {