Skip to content

Add `extraEnvTpl` to allow different environment sources in containers

Graeme Gillies requested to merge ggillies/add-extraEnvTpl into master

What does this MR do?

Add extraEnvTpl to allow full freedom in specifying environment sources in containers

This adds an extraEnvTpl setting which is a string to all the appropriate places to allow us to pass extra env settings to containers which aren't simple key: value pairs.

This will allow such things as sourcing env values from secrets, or using some of the Kubernetes in built sources

Related issues

Part of #2224

Checklist

See Definition of done.

For anything in this list which will not be completed, please provide a reason in the MR discussion.

Required

  • Merge Request Title and Description are up to date, accurate, and descriptive
  • MR targeting the appropriate branch
  • MR has a green pipeline on GitLab.com

Expected (please provide an explanation if not completing)

  • Test plan indicating conditions for success has been posted and passes
  • Documentation created/updated
  • Tests added
  • Integration tests added to GitLab QA
  • Equivalent MR/issue for omnibus-gitlab opened

Merge request reports