Pulp CR for Kubernetes does not set REDIRECT_TO_OBJECT_STORAGE setting via CRD

Problem: While setting
pulp_settings:
REDIRECT_TO_OBJECT_STORAGE: false
in CR definition it still tries to redirect to S3

Expected outcome: Setting value provided is set for Pulp API configuration

Pulpcore version: 3.69.0

Pulp plugins installed and their versions:

Operating system - distribution and version:
Docker

Other relevant data:
Going through documentation I see that there’s a new approach for k8s to inject custom settings, but it is not working in current helm chart implementation - errors out with "Unknown parameter ‘custom_pulp_settings’ "

UPD:
After some investigation - "redirect_to_object_storage": true for default domain when calling
pulp domain show --name default
But dynaconf list shows that REDIRECT_TO_OBJECT_STORAGE=False

Yeah, a current issue with the operator is that it doesn’t run pulpcore-manager migrate after changing that setting. There is a post migrate hook that updates the default domain’s value to reflect what is in the settings file. We probably need to add some documentation for this setting (and hide_guarded_distributions) since they work a bit differently then others.

1 Like