You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@allenporter First of all thank you for such amazing tool! At first glance it could to resolve a lot of my issues during work with flux and gitops scheme.
But I cannot find the way to work properly. I have more or less standart platform admin repo with name conf:
tree conf
├── apps
│ ├── dev
│ └── prod
├── archived
│ ├── dev
│ └── prod
├── clusters
│ ├── dev
│ └── prod
└── infrastructure
├── archived
├── dev
└── prod
And kustomizations within flux-system accessible ok with --sources:
flux-local get ks --path ./clusters/dev --source flux-system
NAME PATH
apps apps/dev
flux-system clusters/dev
infrastructure infrastructure/dev
But I cannot figure out how to get work it with app which configured with external git repository. My manifests:
flux-local get ks --path ./infrastructure/dev/app1 --source app1
flux-local error: Kustomization 'app1/app1-kustomization' path field 'base' is not a directory: /conf/base
but in my case /conf/base is not correct path, in some way it should look into apps/infrastructure/app1/base. Could you please clarify is it possible to work with flux-local in such manner?
Thanks!
The text was updated successfully, but these errors were encountered:
Yes, this is not currently supported, as the tool will not go out and clone external repos. You may be able to get something working by cloning the external repos yourself and using the --sources flag (details) to map the name of a git repo source to a local path.
@allenporter First of all thank you for such amazing tool! At first glance it could to resolve a lot of my issues during work with flux and gitops scheme.
But I cannot find the way to work properly. I have more or less standart platform admin repo with name conf:
And kustomizations within flux-system accessible ok with
--sources
:But I cannot figure out how to get work it with app which configured with external git repository. My manifests:
And what I get:
but in my case
/conf/base
is not correct path, in some way it should look into apps/infrastructure/app1/base. Could you please clarify is it possible to work with flux-local in such manner?Thanks!
The text was updated successfully, but these errors were encountered: