<div dir="ltr"><div>So, right now, our settings actually *are* in settings.py.  When settings.py gets evaluated it looks up settings.yaml, parses it into a dictionary, and then uses that dictionary to modify it's own attributes.</div><div><br></div><div><a href="https://github.com/pulp/pulp/blob/a175c118f9466ac822f22f138cb6cea339b39f54/pulpcore/pulpcore/app/settings.py#L244-L279">https://github.com/pulp/pulp/blob/a175c118f9466ac822f22f138cb6cea339b39f54/pulpcore/pulpcore/app/settings.py#L244-L279</a></div><div><br></div><div>Is there a reason we couldn't just add more code to the end of settings.py to check for environment variables with Pulp-related names, and do the same?</div><div><br></div><div><br></div><div><br></div><div>FWIW, I don't actually like the current approach much, it feels kind of "magic" in a negative way, so if there are better ways of doing it I'm +1.  Just wanted to point out it's probably not difficult to solve as-is.<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 28, 2018 at 4:39 PM, Brian Bouterse <span dir="ltr"><<a href="mailto:bbouters@redhat.com" target="_blank">bbouters@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>I'm trying to get Pulp3 running on Openshift, and I just ran into a blocking issue that I filed here:</div><div><br></div><div><a href="https://pulp.plan.io/issues/3943" target="_blank">https://pulp.plan.io/issues/<wbr>3943</a></div><div><br></div><div>If anyone can think of a better solution or a problem with the approach suggested here please post on the issue.<br></div><div><br></div><div>Thanks,</div><div>Brian<br></div></div>
<br>______________________________<wbr>_________________<br>
Pulp-dev mailing list<br>
<a href="mailto:Pulp-dev@redhat.com">Pulp-dev@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-dev" rel="noreferrer" target="_blank">https://www.redhat.com/<wbr>mailman/listinfo/pulp-dev</a><br>
<br></blockquote></div><br></div>