Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Support go install for Kiali #8724

@nrfox

Description

@nrfox

What do you want to improve?

I want to do go install github.com/kiali/kiali as an alternative to downloading a pre-built binary. This would allow users on MacOS and Windows to run Kiali locally without needing to published signed binaries for those platforms.

Barriers to this:

  • replace directive in go.mod
    go install does not support replace directives. Looking at go.sum, none of the Kiali dependencies use this dep anymore so it can be removed.
  • go install would not include the UI.
    The UI dir is included when the backend is built. Probably this would be missing when you do go install since the production build of the UI assets is not checked in to git.
  • Kiali versioning does not match go versioning.
    Kiali released version 2.x of Kiali but did not follow the go versioning strategy. See this issue for more details. A workaround is to install from a specific commit or branch go install github.com/kiali/kiali@master but the above two issues would need to be fixed first.

What is the current behavior?

go install github.com/kiali/kiali@master does not work.

What is the new behavior?

go install github.com/kiali/kiali@master works.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementThis is the preferred way to describe new end-to-end features.refinementStill being full defined before taking any action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions