You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When merging specs, and one of the specs happens to be updatable i.e has the uri field defined, the resulting merged spec ends up missing some of the collectors defined.
Expected Behavior
All specs (collectors/analysers/redactors) should be present in the merged spec.
Steps To Reproduce
Create sample data spec
cat << EOF > spec.yamlapiVersion: troubleshoot.sh/v1beta2kind: SupportBundlespec:
collectors:
- data:
name: sample-data.txtdata: | any static data can be used hereEOF
Using the newest version of support-bundle, dry-run using the command below and search for sample-data.txt. Note that sample-data.txt is missing
Bug Description
When merging specs, and one of the specs happens to be updatable i.e has the
uri
field defined, the resulting merged spec ends up missing some of the collectors defined.Expected Behavior
All specs (collectors/analysers/redactors) should be present in the merged spec.
Steps To Reproduce
Create sample data spec
Using the newest version of support-bundle, dry-run using the command below and search for
sample-data.txt
. Note thatsample-data.txt
is missingIn an older version of support bundle, this issue is absent
[evans] $ support-bundle version Replicated Troubleshoot v0.90.0 [evans] $ support-bundle --dry-run spec.yaml https://raw.githubusercontent.com/replicatedhq/troubleshoot-specs/main/in-cluster/default.yaml | grep sample-data.txt name: sample-data.txt
The text was updated successfully, but these errors were encountered: