Skip to content

Allow setting sizeLimit for plugins emptyDir #1050

Description

@dmaes

The InjectPluginVolumePodSpec function (internal/cnpgi/operator/lifecycle.go) creates plugins emptyDir volume, but does not set any sizeLimit for it, nor does it allow configuring one.

The function checks if the plugins volume already exists before creating it, so I checked if the Cluster resource allows setting extra volumes, to set a sizeLimit that way, but it doesn't.

It would be nice if there was some option to define sizeLimit for the plugins volume.

For reference, the cloudnative-pg operator has EphemeralVolumesSizeLimitConfiguration to configure this for the shm and scratch-data volumes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions