pulp-operator icon indicating copy to clipboard operation
pulp-operator copied to clipboard

REDIRECT_TO_OBJECT_STORAGE parameter does not affect default Pulp domain

Open PyroGun opened this issue 9 months ago • 1 comments

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.

PyroGun avatar Jan 22 '25 13:01 PyroGun