Skip to content

Add support for passing arguments to support bundle collection #1915

@CharlesB2

Description

@CharlesB2

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions