-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Allow to override clone and standby description #1976
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
Conversation
|
@FxKu Would you like to review? |
|
@sdudoladov Would you like to review? |
|
@farodin91 the clone and standby description would be overridable if you move line 910 - 916 before line 939. Then cluster-specfic env var as well as environment configmap or secret come first. No need to add another You would have to adjust unit test though, because order of variables and overriding behavior changes. The new order must be reflected in the docs, too (2. and 3. becoming 5. and 6.). |
4c79669 to
b6741ce
Compare
|
@FxKu I updated the behavior. |
|
@FxKu Do you have time to look into it? |
|
@farodin91 yes. LGTM. Will merge next week when I‘m back from vacation. |
|
@farodin91 can you rebase the PR, please? #2045 introduced some minor changes to env var generation. Thank you :) |
Signed-off-by: Jan Jansen <jan.jansen@gdata.de>
b6741ce to
3a9256f
Compare
|
@FxKu Rebased. |
|
@farodin91 Thanks! I gave this a second thought and now having doubts that this is right approach. Global config (like from pod_environment_configmap/secret) should not override local config (like In that regard, having Why do you want to set the prefix in the first place? Note, that it has to be empty when wal path is set (manifest or config). This was the behavior ever since except for version 1.8.0 and 1.8.1 where it was forgotten by mistake. Is it empty in your case? That's the only case I see now, where we should not set it to |
|
For me, it just CLONE_WAL_BUCKET_SCOPE_PREFIX. I could built a code section to set empty if not set, at the end. We use the prefix for the cluster name. |
|
with #2159 merged I would close this PR now. You can now override CLONE_WAL_BUCKET_SCOPE_PREFIX per cluster in via manifest In order to do it globally, we would have to move only the _PREFIX setting from Thanks again for bringing it up. |
Fixes #1902 unable to override scope prefix