My desired setup:
The reason for this setup is that when I only need to change my configuration, I only have to change my config map, then redeploy the pod. The alternative would be to use the build config to build both source code and have the configurations in it, which makes changing configuration only a hassle as it also need to build the source code again.
oc deploy <dc>
to force the app to restart and use the new configurations.
oc v3.2.0.44
kubernetes v1.2.0-36-g4a3f9c5
Upstream issue: https://github.com/kubernetes/kubernetes/issues/22368
I vote for this as well. It would be awesome to have this for both ConfigMaps and secrets.
Closing in favor of https://github.com/kubernetes/kubernetes/issues/22368
Most helpful comment
I vote for this as well. It would be awesome to have this for both ConfigMaps and secrets.