-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
mocking kubernetes: namespace not set when creating resources #3194
Comments
This is addressed as part of #3156 There was an earlier attempt at addressing this, but it relied upon fabric8io/mockwebserver#59 - which may not be available anytime soon. |
@shawkins for my understanding, why fabric8io/mockwebserver#59 may not be available anytime soon ? I'm rely upon the CRUD functionalities for testing operators based on the java operator sdk and CRD, makes things a lot easier that writing expectations. |
It requires a new release of the mockwebserver, which doesn't appear like it will happen anytime soon.
#3156 should be picked up as part of 5.5 |
…d aware also working around making the namespace and kind available from the path
…d aware also working around making the namespace and kind available from the path
also working around making the namespace and kind available from the path
Fixed in #3156 |
I've created the following basic application based on one of the examples from the k8s client README:
When this test runs, it prints:
As you note, the
ns
isnull
instead of the expectedmy-ns
.When executing the same code against a real k8s cluster, the code works as expected.
The text was updated successfully, but these errors were encountered: