-
Task
-
Resolution: Duplicate
-
Normal
-
None
-
devex docs #208 Sep 30-Oct 21
-
5
User Story
As a developer using OpenShift
I want to volume mount secrets into Builds
So that I can use credentials during a build without leaking those credentials into the resulting container image
As a developer using OpenShift
I want to volume mount ConfigMaps into Builds
So that I can use configuration during a build without leaking that config into the resulting container image
Acceptance Criteria
- Developers can define volume mounts for Secrets in Docker and Source strategy builds
- Developers can define volume mounts for ConfigMaps in Docker and Source strategy builds
Docs Impact
Build documentation will need to include this new feature, with YAML examples of how to add Secret and ConfigMap volume mounts.
Notes
Enhancement proposal: https://github.com/openshift/enhancements/blob/master/enhancements/builds/volume-mounted-resources.md
Repositories & Files
- openshift/api
- openshift/apiserver
- openshift/builder
- openshift/openshift-controller-manager
- openshift/origin (e2e)