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 creation #58

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

fedir-indutnyi
Copy link

Hello this is initial Helm Chart for Xampp

@tomsik68
Copy link
Owner

I love the amount of documentation in the helm charts. Great job Fedir!

Do you think we should add a "helm lint" CI job? I think it might be valuable to make sure we don't break it if it's ever changed.
We could use this one for example: https://github.com/helm/chart-testing-action

@tomsik68 tomsik68 self-assigned this Feb 18, 2024
helmchart/Chart.yaml Outdated Show resolved Hide resolved
image: "{{ .Values.xampp.containers.image.repository }}:{{ .Values.xampp.containers.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.xampp.containers.image.pullPolicy }}
{{- if ne .Values.xampp.containers.command "" }}
# command: ["dumb-init", "npm", "run", "start:demo"]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get rid of commented out code here.

repository: 'tomsik68/xampp'
pullPolicy: Always
tag: "8"
command: ""
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is probably just me not understanding helm, so please tell me if I'm wrong.

My current understanding is that this should be the same as the container's entrypoint - i.e. /usr/bin/supervisord -n.

How does it work if the command value is set to an empty string? Is there a default somewhere that I'm not seeing?

Co-authored-by: Tomáš Jašek <[email protected]>
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

Successfully merging this pull request may close these issues.

2 participants