-
Notifications
You must be signed in to change notification settings - Fork 106
Description
Describe the rationale for the suggested feature.
Our application has an internal log collector system that allows us to get more logs than just the current running pods. The support bundle spec then queries the log collector system to get logs from a given time span. This time span is specified in the support bundle spec from Helm values, but we would like to have the possibility to override this time span when collecting the logs.
Describe the feature
Passing arguments to the support bundle collect command in the following form:
kubectl support-bundle --override timeSpan='12h' ...
The additional argument can be made available in the support bundle spec, and is empty if not provided.
Describe alternatives you've considered
Alternative is to have this value in the Helm chart, but it changing it requires to upgrade the Helm installation, which doesn't seem natural for collecting a support bundle