Skip to content

RFE: Helm: allow disable logging and rotation #383

@sshambar

Description

@sshambar

Describe the feature you'd like to have

Currently, there's no easy way to disable disk logging in the ceph-csi-drivers chart.

Who is the end user and what is the use case where this feature will be valuable?

Anyone using the chart in an umbrella chart.

Supporting the following would be nice:

operatorConfig:
  driverSpecDefaults:
    log:
       rotation:
         enabled: false

drivers:
  {driver-type}:
     log:
        rotation:
          enabled: false

How will we know we have a good solution? (acceptance criteria)

Allow setting enabled: false from a parent chart.

Additional context

Currently, disabling file logging in a parent chart requires setting:

drivers:
  {driver-type}:
    log:
      rotation: nil

But due to a helm bug (issue number 31118), doing so generates a warning...

Metadata

Metadata

Assignees

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