Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REDIRECT_TO_OBJECT_STORAGE parameter does not affect default Pulp domain #1399

Open
PyroGun opened this issue Jan 22, 2025 · 0 comments
Open

Comments

@PyroGun
Copy link

PyroGun commented Jan 22, 2025

Version
Installed via pulp-operator on Kubernetes.
Pulp image used: pulp-minimal:stable

Describe the bug
Changing configuration variable REDIRECT_TO_OBJECT_STORAGE does not propagate redirect_to_object_storage field change for the default domain in the database

To Reproduce

  1. Create CRD with external_db_secret and object_storage_s3_secret parameters set
  2. Modify CRD with parameter
pulp_settings:
  REDIRECT_TO_OBJECT_STORAGE: false
  1. Verify that parameter is handled by dynaconf and set to False
  2. Verify that parameter is not false for default domain via pulp domain show --name default
  3. Verify that parameter is not false for core_domain table in Pulp database

Expected behavior
When switching REDIRECT_TO_OBJECT_STORAGE parameter - new value is applied to default domain

Additional context
This issue possibly blocks cloud solutions that are using S3 Object Storage with strict access policies or in an environments with filtered internet access.

@dralley dralley transferred this issue from pulp/pulpcore Feb 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant