Skip to content

Conversation

@ewoutp
Copy link
Contributor

@ewoutp ewoutp commented Aug 9, 2018

Before a new Pod would always use the image given in the spec of an ArangoDeployment.
That could lead to scaling up to new (and unintended) versions.

With this PR a new current-image field is added to the status of an ArangoDeployment.
When a pod is created, the current-image is used. When upgrading, the current-image field is updated first, if confirmed that an upgrade is indeed allowed.

If an upgrade is not allowed, an event is added to the ArangoDeployment.

@ghost ghost assigned ewoutp Aug 9, 2018
@ghost ghost added the 2 - Working label Aug 9, 2018
@ewoutp ewoutp merged commit 0165f98 into master Aug 9, 2018
@ghost ghost removed the 2 - Working label Aug 9, 2018
@ewoutp ewoutp deleted the bugfix/safeguard-current-image branch August 9, 2018 10:46
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