Replies: 2 comments 1 reply
-
Hi, The Specifying a non-local source is a good idea, but we need to take into account credentials, we cannot assume that we have locally access to the secret used by the in-cluster |
Beta Was this translation helpful? Give feedback.
-
@souleb
|
Beta Was this translation helpful? Give feedback.
-
If the output of
flux build kustomization
also includeskustomize.toolkit.fluxcd.io/v1beta1
objects of typeKustomization
, then expand and build those as well. Similarly, if they includeHelmRelease
objects recursively build those.Rather than take a
--path
option, take an option to specify thesourceRef
GitRepository
as the current (or another) git repository (or some other base).In my case, I want to preview what a release will look like inside CI/CD. We could --path, but there are lots of paths. The real thing I want is to just say "Pretend sourceRef X is my current git repository`. With that, it should be able to infer the correct paths (other source refs can remain the same) and the expected final state.
This could be expanded to include the
diff
subcommand as well.This is similar to #2434 and #820, but we're expanding it to all flux native types and allowing recursive expansion.
Beta Was this translation helpful? Give feedback.
All reactions