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

Create OperatorConfig for EDB when specified #1896

Merged
merged 4 commits into from
Apr 2, 2024

Conversation

bitscuit
Copy link
Member

@bitscuit bitscuit commented Apr 2, 2024

Only allows for configuring replicas. The affinity and topologyspreadconstraints are hardcoded.

Current implementation assumes that CommonService CR only has one entry for operatorConfig, which is enough for CP4I.

Current implementation will result in the most recently reconciled CommonService CR's operatorConfig to take effect, i.e. overwrites will happen if there are multiple CommonService CRs. Intentional for now since will take too long to implement max size rule.

Needed to create a special branch for ODLM to include the new OperatorConfig APIs based off of the v1.19.0 release so that cs-operator can use the type without updating any other modules https://github.com/IBM/operand-deployment-lifecycle-manager/tree/operatorconfig-v1.19.0

Signed-off-by: Henry H Li <henry.h.li@ibm.com>
…fied in CR

Signed-off-by: Henry H Li <henry.h.li@ibm.com>
Signed-off-by: Henry H Li <henry.h.li@ibm.com>
Signed-off-by: Henry H Li <henry.h.li@ibm.com>
Copy link
Contributor

@Daniel-Fan Daniel-Fan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@ibm-ci-bot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bitscuit, Daniel-Fan

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [Daniel-Fan,bitscuit]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ibm-ci-bot ibm-ci-bot merged commit 413305d into IBM:master Apr 2, 2024
5 of 7 checks passed
@bitscuit bitscuit deleted the operatorconfig branch September 3, 2024 18:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants