Skip to content

watch flag not working for custom profile #84

@JefeDavis

Description

@JefeDavis

I'm having some trouble getting the watch flag to work on a custom profile

i have made a profile for flux-local

profiles:
  # a profile for flux kustomizations
  flux-ks:
    source: >-
      files.filter(f, pathExt(f) in [".yaml", ".yml"])
    command: flux-local
    args: [build, ks, -A]
    envFrom:
      # Inherit environment variables from the caller process.
      - callerRef:
          pattern: ^KUBE.+

my flux-local is a bash script with the following content:

#!/usr/bin/env bash

set -eu

git_root=$(git rev-parse --show-toplevel)

relative_path=${PWD#$git_root/}

docker run --rm -i -v "${git_root}:/src"  -w /src/${relative_path} ghcr.io/allenporter/flux-local:latest "$@" --sources flux-system=/src/platform

everything works as expected, however if a add the -w flag it just sits there saying rendering...

any help would be appreciated

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions