diff --git a/cmd/flux/build_kustomization.go b/cmd/flux/build_kustomization.go index 4d26a72d..5d29c001 100644 --- a/cmd/flux/build_kustomization.go +++ b/cmd/flux/build_kustomization.go @@ -53,12 +53,12 @@ flux build kustomization my-app --path ./path/to/local/manifests \ # Exclude files by providing a comma separated list of entries that follow the .gitignore pattern fromat. flux build kustomization my-app --path ./path/to/local/manifests \ --kustomization-file ./path/to/local/my-app.yaml \ - --ignore-paths "/to_ignore/**/*.yaml,ignore.yaml + --ignore-paths "/to_ignore/**/*.yaml,ignore.yaml" # Run recursively on all encountered Kustomizations flux build kustomization my-app --path ./path/to/local/manifests \ --recursive \ - --local-sources GitRepository/flux-system/my-repo=./path/to/local/git"`, + --local-sources GitRepository/flux-system/my-repo=./path/to/local/git`, ValidArgsFunction: resourceNamesCompletionFunc(kustomizev1.GroupVersion.WithKind(kustomizev1.KustomizationKind)), RunE: buildKsCmdRun, } diff --git a/cmd/flux/diff_kustomization.go b/cmd/flux/diff_kustomization.go index 97ad7ba4..0480e293 100644 --- a/cmd/flux/diff_kustomization.go +++ b/cmd/flux/diff_kustomization.go @@ -44,12 +44,12 @@ flux diff kustomization my-app --path ./path/to/local/manifests \ # Exclude files by providing a comma separated list of entries that follow the .gitignore pattern fromat. flux diff kustomization my-app --path ./path/to/local/manifests \ --kustomization-file ./path/to/local/my-app.yaml \ - --ignore-paths "/to_ignore/**/*.yaml,ignore.yaml + --ignore-paths "/to_ignore/**/*.yaml,ignore.yaml" # Run recursively on all encountered Kustomizations flux diff kustomization my-app --path ./path/to/local/manifests \ --recursive \ - --local-sources GitRepository/flux-system/my-repo=./path/to/local/git"`, + --local-sources GitRepository/flux-system/my-repo=./path/to/local/git`, ValidArgsFunction: resourceNamesCompletionFunc(kustomizev1.GroupVersion.WithKind(kustomizev1.KustomizationKind)), RunE: diffKsCmdRun, }