Skip to content

Filtering for --gitrepo and --bundle collects HelmOp resources #4759

@sbulage

Description

@sbulage

System Information

Fleet CLI Version
fleet version v0.15.0-beta.4 (cd90424)

Verification

  • Same environment is used to verify fleet dump command with various available options.
Test Scenario Test Result Checks
fleet dump -p dump_all_namespaces/fleet_all_resources.tgz --all-namespaces Resources collected from all namespaces bundles, bundledeployments, clustergroups, clusters, gitrepos, helmops and metrics
fleet dump with --gitrepo -n fleet-default Specified GitRepo collected HelmOps also got collected
fleet dump with --helmop -n fleet-default Specified HelmOps collected Successfully filtered helmops
fleet dump with --bundle -n fleet-default Specified bundle collected HelmOps bundle also got collected
BundleDeployements/Bundles retrieval after Filtering Namespace No resources missed when filtered with namespace Resources collected
Contents from other namespace No data is included from other namespace N/A
Events/Secrets with option --with-secrets Events/Secrets are collected when filtered with namespaces If no namespace is provided then it fetches from fleet-local

Major issue found

  • Filtering for --gitrepo and --bundle collects HelmOp resources
  • See above table for filtering options.

Consider following help command improvements.

  • For fleet dump command, No extension for output file.
  • Considering output file as .tgz, after extract resources has No yaml extension.

Originally posted by @sbulage in #4419

Metadata

Metadata

Labels

Type

No fields configured for Bug.

Projects

Status

✅ Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions