Skip to content

Add support for imagePullSecrets for Backup and Restore #848

@fishday53

Description

@fishday53

Hi! We use private container registry with authorization.

CR MySQLCluster support imagePullSecrets in the spec.podTemplate.spec, but not in spec.restore.jobConfig.
Also CR BackupPolicy doesn't support it.

Fortunately we can patch created by Operator backup CronJob resource manually, and Operator doesn't prevent imagePullSecrets addition.
But we can't patch created by Operator restore job.batch, so before restoration we have to pull a necessary image to nodes manually.

That would be great to add imagePullSecrets optional specification for BackupPolicy and inherit imagePullSecrets for restore job from MySQLCluster CR.

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