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 support for custom HTML welcome page when installing CM using helm in k8s #697

Open
Danielkiss9 opened this issue Jun 15, 2023 · 1 comment

Comments

@Danielkiss9
Copy link

Hi!
I can see that setting the flag web-template-path when using local chartmuseum will give me the ability to display a custom HTML welcome page, but im installing the application on kuberentes and i couldn't find anywhere the option to set it for my k8s deployed version, and so i'm stuck with the default one.
Is there a way to do it that im missing?
Thanks in advance!

@cbuto
Copy link
Contributor

cbuto commented Jun 22, 2023

@Danielkiss9 it is possible to set that value with the helm chart, though it's not really documented.

you can use --set env.open.WEB_TEMPLATE_PATH=<path> however the tricky part will be getting your templates into the ChartMuseum container. You could build your own image with the templates baked in.

Alternatively, you could use a combination of deployment.extraVolumes, deployment.extraVolumeMounts, and maybe deployment.sidecarContainers to get the template files mounted into the ChartMuseum container. A more ideal setup would be to extend the chart to allow passing in extra initContainers, then you don't need to keep the sidecar container running just to mount the templates from a container into ChartMuseum.

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

No branches or pull requests

2 participants