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
I'm having some trouble getting the watch flag to work on a custom profile
i have made a profile for flux-local
my flux-local is a bash script with the following content:
everything works as expected, however if a add the
-wflag it just sits there sayingrendering...any help would be appreciated