diff --git a/experiments/kompanion/README.md b/experiments/kompanion/README.md index 0fbbcf232a..9929c3e1b3 100644 --- a/experiments/kompanion/README.md +++ b/experiments/kompanion/README.md @@ -23,7 +23,7 @@ Export function may take minutes to run as the tool searches all the api resourc kompanion export --exclude-namespaces=kube --exclude-namespaces=my-team # target only specific namespace prefixes - kompanion export --include-namespaces=my-team + kompanion export --target-namespaces=my-team # target only specific namespace prefixes AND specific object prefixes kompanion export --target-namespaces=my-team --target-objects=logging diff --git a/experiments/kompanion/cmd/export/export.go b/experiments/kompanion/cmd/export/export.go index 093b12a95d..7c0de392e0 100644 --- a/experiments/kompanion/cmd/export/export.go +++ b/experiments/kompanion/cmd/export/export.go @@ -47,7 +47,7 @@ const ( kompanion export --exclude-namespaces=kube --exclude-namespaces=my-team # target only specific namespace prefixes - kompanion export --include-namespaces=my-team + kompanion export --target-namespaces=my-team # target only specific namespace prefixes AND specific object prefixes kompanion export --target-namespaces=my-team --target-objects=logging