-
Notifications
You must be signed in to change notification settings - Fork 4
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
Unable to set PENPOT_INTERNAL_RESOLVER env var on frontend deployment #12
Comments
I am facing the same issue here, the logs says that the dns is not resolved and the connection times out.
|
I have prepared a PR to resolve this. This can be deployed in next version. However if you need you can use the fork that i created and use the devel readme to deploy the modified chart for now. |
Thank you for your contribution, @vipinjn24 and @a3nick. It will be available with the next release (hopefully tomorrow). But I think this solution does not work for some scenarios, for example using replicas, and It would be great if a suitable value could be set ‘automatically’ for each pot. We will work on it, but we are open to any suggestions. |
I think I found a solution to set the default IP of the Pod so that you don't have to set it by hand. Try it out and let me know if it works for you. In my environment I can't reproduce the bug. I will close the issue but feel free to reopen it if the error persists. |
I tried the new helm chart version. Using the The solution you proposed, using the pod internal ip, doesn't work
nothing is running on port |
The Helm chart does not allow to set the environment variable
PENPOT_INTERNAL_RESOLVER
needed for the deployment of the frontend in a k8s cluster as described here penpot/penpot#3310.The side effect is that assets (images, etc.) are saved correctly but are not served by the frontend due to the default value of the resolver in the nginx configuration file which is set to
127.0.0.11
.The text was updated successfully, but these errors were encountered: