Skip to content

Commit

Permalink
Pass S3_* env vars to nodes when using Gossip
Browse files Browse the repository at this point in the history
  • Loading branch information
hakman committed Jul 22, 2023
1 parent a1a0c87 commit 3591380
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/model/bootstrapscript.go
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ func (b *BootstrapScript) buildEnvironmentVariables() (map[string]string, error)

if os.Getenv("S3_ENDPOINT") != "" {
passEnvs := false
if b.ig.IsControlPlane() || !b.builder.UseKopsControllerForNodeBootstrap() {
if b.ig.IsControlPlane() || cluster.UsesLegacyGossip() {
passEnvs = true
}

Expand Down

0 comments on commit 3591380

Please sign in to comment.