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: namespace flags are not working #130

Merged
merged 2 commits into from
Jun 23, 2023

Conversation

subhamkrai
Copy link
Collaborator

namespace: namespace flags are not working

cluster namespace and operator namespace needs
better handling. It was throwing an error and was exited
when namespace args are passed.
Now, the default cluster ns is rook-ceph, and for
operator it is empty but we check later in the code
that if CephClusterNamespace != "" && OperatorNamespace == ""
then assign the cluster ns to operator ns.

ci: add CI to test the plugin in different namespace
Signed-off-by: subhamkrai srai@redhat.com

fixes: #129

Signed-off-by: subhamkrai <srai@redhat.com>
cluster namespace and operator namespace needs
better handling. It was throwing an error and was exited
when namespace args are passed.
Now, the default cluster ns is rook-ceph, and for
operator it is empty but we check later in the code
that if CephClusterNamespace != "" && OperatorNamespace == ""
then assign the cluster ns to operator ns.

Signed-off-by: subhamkrai <srai@redhat.com>
Copy link
Member

@travisn travisn left a comment

Choose a reason for hiding this comment

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

Nice to see the tests in the non-default namespace, and the issues they found already!

@travisn
Copy link
Member

travisn commented Jun 22, 2023

Maybe early next week we can plan on releasing v0.5.1, in case any other fixes are needed as well

@subhamkrai
Copy link
Collaborator Author

Maybe early next week we can plan on releasing v0.5.1, in case any other fixes are needed as well

yes, since the issue with then namespace is really annoying.

@subhamkrai subhamkrai merged commit 519ca0b into rook:master Jun 23, 2023
@subhamkrai subhamkrai deleted the fix-ns-arg-issue branch June 23, 2023 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

--namespace does not work
2 participants