Closed g-linville closed 10 months ago
Tested with - v0.10.1-rc1-21-g3964bbc9+3964bbc9
con1
and con2
)con1
)
After update ,
When examining app
with acorn app -o json
, resolvedOfferings
and defaults
have info for only con1
(there is no info about con2
When examining appinstance
with akubectl get appinstances -o json
, resolvedOfferings
, defaults
and scheduling
have info for only con1
(there is no info about con2
We discovered this bug earlier today while working on something else. If you do
acorn update --image <image> <app name>
, and containers that were previously defined in the app no longer are, the resolved offerings, defaults, and scheduling information would still be present in the app's status for the old containers, even though they are not in the app anymore. This PR adds logic to delete containers from these maps when they no longer exist in the app. I also added new unit tests that check for this.Checklist
This is a title (#1216)
. Here's an example