mirror of
https://github.com/fluxcd/flux2.git
synced 2026-04-20 10:35:45 +00:00
Add a dry-run mode to flux build kustomization
If implemented user will be able to use `flux build kustomization` without any connection to the cluster. Signed-off-by: Soule BA <soule@weave.works>
This commit is contained in:
parent
35ea91c111
commit
ad5daee004
7 changed files with 274 additions and 200 deletions
|
|
@ -97,7 +97,7 @@ func TestDiffKustomization(t *testing.T) {
|
|||
"fluxns": allocateNamespace("flux-system"),
|
||||
}
|
||||
|
||||
b, _ := build.NewBuilder(kubeconfigArgs, kubeclientOptions, "podinfo", "")
|
||||
b, _ := build.NewBuilder("podinfo", "", build.WithClientConfig(kubeconfigArgs, kubeclientOptions))
|
||||
|
||||
resourceManager, err := b.Manager()
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue