Setting buildArgs from configmap+secret keys in buildConfig not working
Issue
- Build arguments in
buildConfig
with reference toconfigmap
andsecret
not taking effect while performing build mentioned. - Below is sample snippet of
buildArgs
configuration with referencing the secret value.
[..]
strategy:
dockerStrategy:
buildArgs:
- name:
valueFrom:
secretKeyRef:
key:
name:
[..]
- There is an upstream issue for the same.
Environment
- OpenShift Container Platform (OCP)
- 3.x
- 4.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.