pulp / pulp-oci-images

Containerfiles and other assets for building Pulp 3 OCI images
https://docs.pulpproject.org/pulp_oci_images/
30 stars 55 forks source link

Allow boolean settings to accept 'true', 't', 'yes', and 'y' #624

Open dkliban opened 5 months ago

dkliban commented 5 months ago

The boolean settings that control the behavior of the multi process container should accept 'true', 't', 'yes', and 'y' for True.

PULP_HTTPS PULP_GUNICORN_RELOAD PULP_OTEL_ENABLED

mdellweg commented 5 months ago

I'm unsure what the naively expected condition should be. We could also add "1" or check for "set and not empty".

mikedep333 commented 5 months ago

I'm unsure what the naively expected condition should be. We could also add "1" or check for "set and not empty".

we will check for "1" also.

We will not check for "set and not empty" because we do not want "false" to evaluate to "true".