-
Notifications
You must be signed in to change notification settings - Fork 146
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
K8SPSMDB-959: Stop calling MongoDB directly from the operator #1330
base: main
Are you sure you want to change the base?
Conversation
if _, ok := cr.Labels["helm.sh/chart"]; ok { | ||
vm.HelmDeployCR = true | ||
} | ||
vm.HelmDeployCR = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gofmt] reported by reviewdog 🐶
vm.HelmDeployCR = false | |
vm.HelmDeployCR = false |
if _, ok := operatorDepl.Labels["helm.sh/chart"]; ok { | ||
vm.HelmDeployOperator = true | ||
} | ||
vm.HelmDeployOperator = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gofmt] reported by reviewdog 🐶
vm.HelmDeployOperator = false | |
vm.HelmDeployOperator = false |
if _, ok := cr.Labels["helm.sh/chart"]; ok { | ||
vm.HelmDeployCR = true | ||
} | ||
vm.HelmDeployCR = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gofmt] reported by reviewdog 🐶
vm.HelmDeployCR = false | |
vm.HelmDeployCR = false |
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
if _, ok := operatorDepl.Labels["helm.sh/chart"]; ok { | ||
vm.HelmDeployOperator = true | ||
} | ||
vm.HelmDeployOperator = false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[gofmt] reported by reviewdog 🐶
vm.HelmDeployOperator = false | |
vm.HelmDeployOperator = false |
CHANGE DESCRIPTION
Problem:
The operator connects to MongoDB nodes directly.
Solution:
Instead of connecting directly to MongoDB, the operator now execs into pods and calls mongosh directly.
TODO
mongo
ormongosh
)CHECKLIST
Jira
Needs Doc
) and QA (Needs QA
)?Tests
compare/*-oc.yml
)?Config/Logging/Testability