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

Removed env provided namespace #253

Conversation

Mixaster995
Copy link
Contributor

Signed-off-by: Mikhail Avramenko avramenkomihail15@gmail.com

Issue

#252

@Mixaster995 Mixaster995 changed the title removed env provided namespace Removed env provided namespace Oct 8, 2021
@Mixaster995 Mixaster995 force-pushed the enhancement/handle-all-namespaces branch from 168b5d6 to a8890a6 Compare October 8, 2021 10:43
Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
@Mixaster995 Mixaster995 force-pushed the enhancement/handle-all-namespaces branch from a8890a6 to 4329b82 Compare October 8, 2021 10:54
if err == nil {
exist.Spec = *(*v1.NetworkServiceSpec)(request)
apiResp, err = n.client.NetworkservicemeshV1().NetworkServices(n.ns).Update(ctx, exist, metav1.UpdateOptions{})
Copy link
Member

Choose a reason for hiding this comment

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

Finally I think we should keep n.ns for Create and Update.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ok, done

Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
@Mixaster995 Mixaster995 force-pushed the enhancement/handle-all-namespaces branch from 949af1a to bda9091 Compare October 8, 2021 11:52
Copy link
Member

@denis-tingaikin denis-tingaikin left a comment

Choose a reason for hiding this comment

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

Please add tests that nses can be registered via registry and via go-client and everythink with find and unregister is working with different namespaces.

Signed-off-by: Mikhail Avramenko <avramenkomihail15@gmail.com>
@Mixaster995
Copy link
Contributor Author

@denis-tingaikin added unit tests

@denis-tingaikin denis-tingaikin merged commit bb5bbe1 into networkservicemesh:main Oct 12, 2021
nsmbot pushed a commit to networkservicemesh/cmd-forwarder-sriov that referenced this pull request Oct 12, 2021
…k-k8s@main

PR link: networkservicemesh/sdk-k8s#253

Commit: bb5bbe1
Author: Denis Tingaikin
Date: 2021-10-12 09:36:02 +0300
Message:
  - Merge pull request #253 from Mixaster995/enhancement/handle-all-namespaces
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-nse-supplier-k8s that referenced this pull request Oct 12, 2021
…k-k8s@main

PR link: networkservicemesh/sdk-k8s#253

Commit: bb5bbe1
Author: Denis Tingaikin
Date: 2021-10-12 09:36:02 +0300
Message:
  - Merge pull request #253 from Mixaster995/enhancement/handle-all-namespaces
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
nsmbot pushed a commit to networkservicemesh/cmd-registry-k8s that referenced this pull request Oct 12, 2021
…k-k8s@main

PR link: networkservicemesh/sdk-k8s#253

Commit: bb5bbe1
Author: Denis Tingaikin
Date: 2021-10-12 09:36:02 +0300
Message:
  - Merge pull request #253 from Mixaster995/enhancement/handle-all-namespaces
Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
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.

2 participants