Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add new build environment variable to allow this template to be easily deployed in air gapped environments #144

Open
cadjai opened this issue Nov 6, 2019 · 1 comment

Comments

@cadjai
Copy link

cadjai commented Nov 6, 2019

When deploying this template or any python based application in an air gapped, disconnected or non standard environment where the custom pypi is non standard the build pod fails to build because it does not trust the certificate of the provided custom pypi server. The way we have been able to get around this has been to add a build environment variable named PIP_TRUSTED_HOST and set its value to the FQDN or IP of the custom server. Adding alongside the PIP_INDEX_URL will allow for easier deployment. In standard environment that variable would not be needed.

@frenzymadness
Copy link
Member

Is this still active? I think that with the new Python containers you are enabled to accomplish this easily.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants