pulp-operator
pulp-operator copied to clipboard
REDIRECT_TO_OBJECT_STORAGE parameter does not affect default Pulp domain
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
- Create CRD with
external_db_secretandobject_storage_s3_secretparameters set - Modify CRD with parameter
pulp_settings:
REDIRECT_TO_OBJECT_STORAGE: false
- Verify that parameter is handled by dynaconf and set to False
- Verify that parameter is not false for default domain via
pulp domain show --name default - 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.