Skip to content

Add migration to the config for rustfs - #1052

Merged
dralley merged 2 commits into
pulp:mainfrom
mdellweg:migrate_rustfs
Sep 16, 2026
Merged

dralley merged 2 commits into
pulp:mainfrom
mdellweg:migrate_rustfs

Conversation

@mdellweg

Copy link
Copy Markdown
Member

📜 Checklist

  • Commits are cleanly separated with meaningful messages (simple features and bug fixes should be squashed to one commit)
  • A changelog entry or entries has been added for any significant changes
  • Follows the Pulp policy on AI Usage
  • (For new features) - User documentation and test coverage has been added

See: Pull Request Walkthrough

Comment thread plugin-template
# Migrate minio to rustfs
with suppress(KeyError):
if "s3boto3" in config["pulp_settings_s3"]["STORAGES"]["default"]["BACKEND"]:
config["pulp_settings_s3"]["STORAGES"]["default"]["OPTIONS"]["endpoint_url"] = (

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this also check to see if the url is minio? This migration will always run even after the switch to rustfs?

@mdellweg mdellweg Sep 16, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What even is the benefit for plugins to overwrite this config in the first place?
The parameters with which the container is started are in control of the plugin.

Otoh whatever we template here still goes through test and review on every single plugin branch. So i opt for not borrowing problems of another universe here.

(The whole scenario framework should be less centered around three select storage apis. But this is where we are today.)

@dralley
dralley merged commit e7b37e9 into pulp:main Sep 16, 2026
12 of 13 checks passed
@mdellweg
mdellweg deleted the migrate_rustfs branch September 17, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants