Skip to content

Commit

Permalink
Fix: don't override env vars set in config (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
regadas authored Mar 21, 2022
1 parent 09e2d7e commit 6dc2198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/flink/resources.go
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,10 @@ func NewFlinkCluster(config *Config, taskCtx FlinkTaskContext) (*flinkOp.FlinkCl
Kind: KindFlinkCluster,
APIVersion: flinkOp.GroupVersion.String(),
}
cluster.Spec.EnvVars = []corev1.EnvVar{{
cluster.Spec.EnvVars = append(cluster.Spec.EnvVars, corev1.EnvVar{
Name: stagedJarsEnvVarName,
Value: strings.Join(taskCtx.Job.JarFiles, " "),
}}
})

cluster.updateFlinkProperties(config, taskCtx)

Expand Down

0 comments on commit 6dc2198

Please sign in to comment.