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

namespace: adding namespace to all rook-ceph namespaces references #13078

Merged
merged 1 commit into from Oct 24, 2023

Conversation

rkachach
Copy link
Contributor

@rkachach rkachach commented Oct 23, 2023

Description of your changes:

To make it easier for the user to switch to a namespace other than the default 'rook-ceph', the tag '# namespace:cluster' must be inserted in all the places where this namespace is used. This way, a simple 'sed' command can update all the Yaml files to the new namespace.

related docs: https://rook.github.io/docs/rook/v1.9/ceph-advanced-configuration.html

Which issue is resolved by this Pull Request:
Resolves #

Checklist:

  • Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next minor release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

deploy/examples/common-second-cluster.yaml Outdated Show resolved Hide resolved
deploy/examples/common-second-cluster.yaml Outdated Show resolved Hide resolved
@@ -9,4 +9,4 @@ spec:
schedulingInterval: "12m"
schedulingStartTime: "16:18:43"
replication.storage.openshift.io/replication-secret-name: rook-csi-rbd-provisioner
replication.storage.openshift.io/replication-secret-namespace: rook-ceph
replication.storage.openshift.io/replication-secret-namespace: rook-ceph # namespace:cluster
Copy link
Member

Choose a reason for hiding this comment

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

@Rakshith-R This is the csi driver namespace, right? So it would be the operator tag.

Suggested change
replication.storage.openshift.io/replication-secret-namespace: rook-ceph # namespace:cluster
replication.storage.openshift.io/replication-secret-namespace: rook-ceph # namespace:operator

Copy link
Contributor Author

Choose a reason for hiding this comment

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

well, let's wait for the confirmation from @Rakshith-R but as I can see on my local cluster all the csi related config is part of the operator namespace.

deploy/examples/kustomization.yaml Outdated Show resolved Hide resolved
To make it easier for the user to switch to a namespace other than the
default 'rook-ceph', the tag '# namespace:cluster' must be inserted in
all the places where this namespace is used. This way, a simple 'sed'
command can update all the Yaml files to the new namespace.

Signed-off-by: Redouane Kachach <rkachach@redhat.com>
@travisn travisn merged commit aa4835c into rook:master Oct 24, 2023
48 of 50 checks passed
travisn added a commit that referenced this pull request Oct 24, 2023
namespace: adding namespace to all rook-ceph namespaces references (backport #13078)
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.

None yet

2 participants