Skip to content

[Bug]: Remove the fixed usage of MinIO in the E2E tests #6572

Description

@sxd

Is there an existing issue already for this bug?

  • I have searched for an existing issue, and could not find anything. I believe this is a new bug.

I have read the troubleshooting guide

  • I have read the troubleshooting guide and I think this is a new bug.

I am running a supported version of CloudNativePG

  • I have read the troubleshooting guide and I think this is a new bug.

Contact Details

No response

Version

1.25 (latest patch)

What version of Kubernetes are you using?

1.32

What is your Kubernetes environment?

Self-managed: kind (evaluation)

How did you install the operator?

YAML manifest

What happened?

Currently, every time we trigger the backups, we create a new deployment of MinIO even sometimes when this is not needed using resources and consuming up to 5 minutes for that, we should create it on demand.

The proposal is to create in the package minio package the proper functions to request and create all the needed resources in the requested namespace. Also, the package should query if the central minio deployment is already running, if that's the case just return with the already running deployment, if that's not the case, should wait for the deployment to be ready or create it and then wait.

All this should include a new set of functions to work with the ObjectStore and check for the content, properties, etc, stuff we already do, also it should be able to work with any object store, for this, we should create a new package in the e2e tests, this will help to remove the current minio client pod too, and improve the checks for other object stores.

Cluster resource

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Activity

  1. added
    chore
    E2E tests
    on Jan 11, 2025
  2. added this to the 1.25.1 milestone on Jan 11, 2025
  3. self-assigned this
    on Jan 11, 2025
  4. modified the milestones: 1.25.1, on Feb 12, 2025
  5. modified the milestones: , Next on Mar 11, 2025
  6. github-actions commented on May 28, 2025

    @github-actions
    Contributor

    This issue is stale because it has been open for 60 days with no activity.

  7. github-actions commented on Jun 17, 2025

    @github-actions
    Contributor

    This issue was closed because it has been inactive for 14 days since being marked as stale.

  8. 9 remaining items

  9. moved this from Done to In Development in CloudNativePG operator developmenton May 12, 2026
  10. sxd commented on May 12, 2026

    @sxd
    ContributorAuthor

    @gbartolini no, I don't think so, this is more about removing the pod and encapsulating, that will make easy the work of moving to another stuff. I'll create more tickets about doing the same with the other one (azurite) so we can have both of them separate and not so mixed, right now the PR is touching too many files and it will make a review more difficult if it will includes, besides removing pods and refactor functions, also change the provider.

    In another ticket we should evaluate which one, since there's a lot more options for this, like https://garagehq.deuxfleurs.fr/ which looks like a promising lightweight object store provider

  11. modified the milestones: Next, 1.30.0 on Jun 15, 2026
  12. moved this from In Development to Waiting for First Review in CloudNativePG operator developmenton Jun 15, 2026
  13. added a commit that references this issue on Jun 17, 2026
    e7419df
  14. moved this from Waiting for First Review to Done in CloudNativePG operator developmenton Jun 17, 2026
  15. added a commit that references this issue on Jun 17, 2026
    7f4d3f5
  16. added a commit that references this issue on Jun 17, 2026
    36a05c4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

E2E testschoreno-stale

Type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions