Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removing problem introduced by searching the configmap name again #17

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gralfca
Copy link

@gralfca gralfca commented Mar 14, 2018

Looking for the configmap again inside the container update function introduces an error because all env vars corresponding to configmaps that didn't change are updated as well to the value of the config map that actually changed.

Consider a deployment object with a container in which
configmap.fabric8.io/update-on-change = cm1,cm2

Then modify cm1, and then modify cm2.
in the end both FABRIC8_CM1_CONFIGMAP and FABRIC8_CM2_CONFIGMAP could be set to the value of cm2.

@gralfca gralfca changed the title Removing search for the configmap name Removing problem introduced by searching the configmap name again Mar 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants