diff --git a/pkg/internal/wordpress/pod_template.go b/pkg/internal/wordpress/pod_template.go index 94981be3..0a6c64a2 100644 --- a/pkg/internal/wordpress/pod_template.go +++ b/pkg/internal/wordpress/pod_template.go @@ -373,7 +373,7 @@ func (wp *Wordpress) installWPContainer() []corev1.Container { Image: wp.image(), Args: installCmd, VolumeMounts: wp.volumeMounts(), - Env: wp.env(), + Env: append(wp.env(), wp.Spec.WordpressBootstrapSpec.Env...), EnvFrom: wp.envFrom(), }, }