Skip to content

Commit

Permalink
Inject credentials into bootstrap init container
Browse files Browse the repository at this point in the history
  • Loading branch information
calind committed Jun 6, 2019
1 parent 1b1a247 commit d804b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/internal/wordpress/pod_template.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
},
}
Expand Down

0 comments on commit d804b40

Please sign in to comment.