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
There are a number of collectors that required parameterize values, i.e., helm, for every different input value, it requires us generating new supportbundle yaml from a template, which is rather tedious.
Describe the feature
Have CLI tool accept key-value args and SupportBundle spec support template syntax
# file: helm-collector.yamlapiVersion: troubleshoot.sh/v1beta2kind: SupportBundlemetadata:
name: samplespec:
collectors:
- helm:
# support templating, i.e., helm/go releaseName: {{ .Values.releaseName }}# if not specified, scan all namespaces{{- if .Values.namespace }}namespace: {{ .Values.namespace }}{{- end }}
Wrap support-bundle plugin with support-bundle-template python script and handle template rending in python.
Additional context
Add additional context about the feature request. If the change is substantial, consider attaching files to the issue outlining architectural changes, data flows, file formats etc., anything that helps describe the requested change.
The text was updated successfully, but these errors were encountered:
This feature has been previously asked for. The solution we settled for relies on helm CLI performing template evaluation and producing an output that troubleshoot.sh tools would consume. In your example above, the command that would achieve the same results would look like below
Describe the rationale for the suggested feature.
There are a number of collectors that required parameterize values, i.e., helm, for every different input value, it requires us generating new supportbundle yaml from a template, which is rather tedious.
Describe the feature
Have CLI tool accept key-value args and SupportBundle spec support template syntax
Run CLI command as:
Expecting same result as running following SupportBundle spec
Describe alternatives you've considered
Wrap support-bundle plugin with support-bundle-template python script and handle template rending in python.
Additional context
Add additional context about the feature request. If the change is substantial, consider attaching files to the issue outlining architectural changes, data flows, file formats etc., anything that helps describe the requested change.
The text was updated successfully, but these errors were encountered: