Skip to content

Helm chart improvement for private registry imagePullSecrets #2496

@antoinetran

Description

@antoinetran

Is your feature request related to a problem? Please describe.
1/ It is not possible to configure imagePullSecrets for sidecar, it does not uses the configuration set in values.yaml.
2/ It is not possible to rewrite the prefix of sidecar image, contrary to all other image in minio operator and tenant.

Describe the solution you'd like
1/ imagePullSecrets field in values should be read by minio when creating sidecar.
2/ Like other image configuration in minio:

  image:
    repository: quay.io/minio/operator
    tag: v7.1.1
    pullPolicy: IfNotPresent

the sidecar default configuration in values.yaml should be

  sidecar:
    image:
      repository: quay.io/minio/operator
      tag: v7.1.1
      pullPolicy: IfNotPresent

instead of just sidecar: {}
This let us rewrite the repository to inject private reposistory and only that. We don't want to rewrite the tag for example.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions