Git Product home page Git Product logo

Comments (3)

kumarabd avatar kumarabd commented on August 19, 2024 1

@utkarsh-pro This change looks good, please create a PR, ill test and help you get the PR approved for the fix.

from meshery-linkerd.

tangledbytes avatar tangledbytes commented on August 19, 2024

@leecalcote @kumarabd after searching around for a while I found that here
https://github.com/layer5io/meshery-linkerd/blob/f2aff92347096940739df3a546b684883e14fe1e/linkerd/linkerd.go#L488-L490

we are overriding the namespace that was received and end up creating the resource in the namespace from the YAML file. But when we search for the resource (to look for the port), we search in the namespace given by the user. This is why the deployment is succeeding but service lookup fails. I replaced that with

data.SetNamespace(namespace)

I also changed
https://github.com/layer5io/meshery-linkerd/blob/f2aff92347096940739df3a546b684883e14fe1e/linkerd/linkerd.go#L546
to

- if deleteOpts && dataNamespace.GetName() != "default" {
+ if deleteOpts && dataNamespace.GetNamespace() != "default" {

so that it doesn't attempt delete the default namespace and it seemed to fix the issue. Not creating a PR as I am not sure if these changes will break anything 😅 . Any suggestions?

from meshery-linkerd.

leecalcote avatar leecalcote commented on August 19, 2024

Very zoos, @utkarsh-pro 😀

from meshery-linkerd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.