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

Validate upgrade requests #156

Closed
adrianmo opened this issue Apr 3, 2019 · 1 comment · Fixed by #159
Closed

Validate upgrade requests #156

adrianmo opened this issue Apr 3, 2019 · 1 comment · Fixed by #159
Labels
area/controller Issue related to the operator controller kind/enhancement Enhancement of an existing feature

Comments

@adrianmo
Copy link
Contributor

adrianmo commented Apr 3, 2019

At this moment, upgrade requests are not being validated, meaning that the operator will always trigger an upgrade process to any version specified in the resource definition.

We need to check if the version is explicitly supported. The operator should not attempt to upgrade to a non-supported or non-compatible version. Upgrade support to a particular version needs to be implemented and added to the operator. Furthermore, some versions might require specific actions and verifications, like applying migrations.

This could be implemented as an admission webhook as part of #7.

Related documentation:

@adrianmo adrianmo added kind/enhancement Enhancement of an existing feature area/controller Issue related to the operator controller labels Apr 3, 2019
@adrianmo
Copy link
Contributor Author

adrianmo commented Apr 5, 2019

Related to #7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/controller Issue related to the operator controller kind/enhancement Enhancement of an existing feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant