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

helm chart: inbucket web console is not working #20

Closed
jhillyerd opened this issue Nov 21, 2023 · 5 comments
Closed

helm chart: inbucket web console is not working #20

jhillyerd opened this issue Nov 21, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@jhillyerd
Copy link
Contributor

jhillyerd commented Nov 21, 2023

From #19 (comment)

The inbucket web console is not working with the default configuration because of unexisting greeting.html file.
I think if that greeting file is optional, the server should work. Or if that is mandatory, the container image should include a default file so the helm chart works out of the box?

@jhillyerd
Copy link
Contributor Author

The docker startup tries to make a copy of greeting.html for users to customize if they wish:

https://github.com/inbucket/inbucket/blob/1b5a783dbd26677b3d73d38c7e7113dc12d4194a/etc/docker/defaults/start-inbucket.sh#L22

Is this not functioning in helm/k8s?

@jhillyerd jhillyerd added the bug Something isn't working label Nov 21, 2023
@corey-aloia
Copy link
Contributor

corey-aloia commented Jan 18, 2024

@jhillyerd it looks like the code references ui/gretting.html as the default values for INBUCKET_WEB_GREETINGFILE. Maybe this is what it used to be? Or maybe this is just when running locally but not in docker? Anyway, I have opened a pr to set it to the correct value for running in k8, and it is now working.

@jhillyerd
Copy link
Contributor Author

You are correct that the ui/greeting.html default is for running locally.

@corey-aloia
Copy link
Contributor

@jhillyerd Great, in that case could you approve my pr #23

@jhillyerd
Copy link
Contributor Author

closed by #23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants