envFrom
set by Service Binding Operator is overwritten by odo
when there are automounting ConfigMaps or Secrets
#6748
Labels
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
priority/Low
Nice to have issue. It's not immediately on the project roadmap to get it done.
/kind bug
Originally posted by @rm3l in #6698 (review)
I quickly wanted to check how this would behave with Service Binding, which, I remembered might also alter the Pod spec to inject
envFrom
using a secret:If I don't have any automounting configmap/secret, it works as expected:
If I stop the previous Dev session and apply some automounting configmap/secret (I applied the resources you used in the tests of this PR), it looks like the environment variables expected from the ServiceBinding are no longer injected.
Comment from @feloy (#6698 (comment))
The text was updated successfully, but these errors were encountered: