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

Allow to automatically promote Products to production #703

Closed
bthdimension opened this issue Jan 11, 2022 · 3 comments
Closed

Allow to automatically promote Products to production #703

bthdimension opened this issue Jan 11, 2022 · 3 comments

Comments

@bthdimension
Copy link

After creating or updating a CR of type Product, the changes are not automatically promoted to staging and production. This means that the changes will not actually take effect. Therefore, using a GitOps approach is impossible with the operator in its current state.

Requested solution: Please add fields in the CR (e.g. "production": true) or options to the Operator that allow to automatically promote any changes to production.

@eguzki
Copy link
Member

eguzki commented Jan 11, 2022

Jira issue is already created: https://issues.redhat.com/browse/THREESCALE-7135

adding a field in the CR (production: true), does not seem a good idea. The CR represents a state and promoting is kind of action. For example, what if the user turns production to false? There is no straight way to revert changes. 3scale allows, via the configuration history, to apply any past configuration to be applied. However, the binding with an attribute like production: true does not seem right.

Overall, there will be a mechanism using CRs to promote to staging and/or production. A good design is missing, yet, though.

@bthdimension
Copy link
Author

Thanks for the link to the Jira issue. Would be great if a nice solution could be found for this 👍

@eguzki eguzki closed this as completed Jul 19, 2022
@eguzki
Copy link
Member

eguzki commented Jul 19, 2022

Implemented in #742

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