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
initdb huge_pages #715
initdb huge_pages #715
Conversation
95ef5c6
to
2f4bf1f
Compare
e55ca43
to
1155165
Compare
|
@guymguym we had discussions in the past about how we should manage our RBAC resources. WDYT on these changes? a few things that are done in this PR, as a result of the need to have more privileges for the DB init container:
we should also notice that noobaa-core is still using |
|
|
@guymguym it's been a while so I'll try to answer your questions accurately. @baum correct me if I miss anything
|
|
First of all I want to paste the references to the issues that we are trying to workaround here:
To be continued. |
|
Hey @baum @dannyzaken My main concern with the proposed PR is its size and collateral damage for later. To begin - I would separate the two commits to two separate PR's so that we can review and have a future reference to each one individually. Can the SCC/RBAC refactor commit be separate to another PR? Is it needed for this PR to work? Is this approach of creating RBAC and SCC's by the operator reconcile recommended for openshift operators? Can we suggest any PR to the postgres centos image repo instead to allow this workaround for anyone else who runs the same image - https://github.com/sclorg/postgresql-container ? I would much prefer to see the workaround as a PR to the image repo itself instead of making so many changes that might be needed by all other postgres users. |
1155165
to
a3286d3
Compare
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1946792 - Extract Postgres initialisation into second init container - During initialization wrap the postgres binary, force huge_pages=off for initdb Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
a3286d3
to
4043972
Compare
Use static YAML declaration for credentials secret references. Remove golang logic, to simplify. Suggested by @guymguym here: noobaa#715 (comment) Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
Use static YAML declaration for credentials secret references. Remove golang logic, to simplify. Suggested by @guymguym here: noobaa#715 (comment) Signed-off-by: Alexander Indenbaum <aindenba@redhat.com>
Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1946792
Signed-off-by: Alexander Indenbaum aindenba@redhat.com