Fix Namespace Used to Lookup 'pgo-backrest-repo-config' Secret when Enabling S3 Support #788
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Updated the namespace being utilized to lookup the pgo-backrest-repo-config secret when enabling AWS S3 support for a cluster (specifically when creating the pgBackRest shared repo deployment). The Operator namespace is now utilized when looking up this secret (instead of the namespace for the cluster itself), in support of Ansible PGO installs where the pgo-backrest-repo-config secret is created in the Operator namespace only.
Checklist:
Type of Changes:
What is the current behavior? (link to any open issues here)
The wrong namespace (specifically the namespace of the cluster) is being utilized to lookup the pgo-backrest-repo-config secret when enabling AWS S3 support for a cluster (specifically when creating the pgBackRest shared repo deployment).
[ch4085]
What is the new behavior (if this is a feature change)?
The Operator namespace is now utilized when looking up this secret (instead of the namespace for the cluster itself), in support of Ansible PGO installs where the pgo-backrest-repo-config secret is created in the Operator namespace only.
Other information:
N/A