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

NooBaa operator event on invalid StatefulSet spec change attempt for StorageClass #52

Closed
jeniawhite opened this issue Sep 12, 2019 · 0 comments
Milestone

Comments

@jeniawhite
Copy link
Contributor

Reconciler doesn't allow to change the spec of noobaa-core StatfeulSet.
In case of changes our phase fails with the error:

rpc error: code = Unknown desc = StatefulSet.apps "noobaa-core-0" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'template', and 'updateStrategy' are forbidden.

We should improve our verbosity on such cases by triggering an event in our NooBaa CR for such cases.

@guymguym guymguym added this to the v2.0.1 milestone Oct 3, 2019
guymguym added a commit to guymguym/noobaa-operator that referenced this issue Oct 3, 2019
1. Separate NooBaa spec.dbStorageClass and spec.pvPoolDefaultStorageClass
2. Update AGENT_PROFILE for noobaa-core env as a json string and only override image and storage_class.
3. Report events on unsupported update to DB volume storage class or size
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

No branches or pull requests

2 participants