Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 Allow binary arguments via helm chart
Browse files Browse the repository at this point in the history
This commit allows to pass arguments to the helm chart.
This is useful if you want to specify arguments for the
helm-dashboard binary whilst deploying via helm.
toddtee committed Jan 25, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 23cfd2d commit fa560c0
Showing 2 changed files with 10 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/helm-dashboard/templates/deployment.yaml
Original file line number Diff line number Diff line change
@@ -30,6 +30,12 @@ spec:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
containers:
- name: {{ .Chart.Name }}
command:
- /bin/helm-dashboard
args:
{{- with .Values.extraArgs }}
{{- toYaml . | nindent 12 }}
{{- end }}
securityContext:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
4 changes: 4 additions & 0 deletions charts/helm-dashboard/values.yaml
Original file line number Diff line number Diff line change
@@ -111,6 +111,10 @@ autoscaling:

nodeSelector: {}

extraArgs:
- --no-browser
- --bind=0.0.0.0

tolerations: []

affinity: {}

0 comments on commit fa560c0

Please sign in to comment.