Skip to content

Flux binary not found if installed with Brew #489

@jtele2

Description

@jtele2

Expected behaviour

If we install the flux binary with brew (the first recommended install method in the flux docs), the GitOps extension cannot find it. The tool should either:

  1. Be able to find it, or
  2. Allow the user to set the location

Actual behaviour

/bin/sh: 1: flux: not found

Steps to reproduce

brew install fluxcd/tap/flux

Right click a workload in GitOps -> press reconcile with source:

Output:

> flux reconcile helmrelease somerelease -n somenamespace --with-source
/bin/sh: 1: flux: not found

Versions

kubectl version: 1.26.0
Flux version: 2.1.0
Git version: 2.34.1
Azure version: N/A
Extension version: 0.25.3
VSCode version: 1.82.2
Operating System (OS) and its version: Ubuntu 20.04 (WSL2)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions