Skip to content

Commit 5798751

Browse files
committed
Wip core sts variable injection
1 parent 8eeb07f commit 5798751

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/system/phase2_creating.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,9 @@ func (r *Reconciler) setDesiredCoreEnv(c *corev1.Container) {
478478
util.MergeEnvArrays(&c.Env, &[]corev1.EnvVar{envVar});
479479
}
480480

481+
if r.NooBaa.Spec.EnvVariablesOverride != nil && r.NooBaa.Spec.EnvVariablesOverride.Core != nil {
482+
util.MergeEnvArrays(&c.Env, &r.NooBaa.Spec.EnvVariablesOverride.Core);
483+
}
481484
}
482485

483486
// SetDesiredCoreApp updates the CoreApp as desired for reconciling

0 commit comments

Comments
 (0)