Skip to content

Commit

Permalink
app extra config (#80)
Browse files Browse the repository at this point in the history
* app: support command override

* bump chart
  • Loading branch information
domdepasquale authored Jun 12, 2024
1 parent b5d8172 commit 4a25060
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/application-core/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 4.0.1
version: 4.1.0

maintainers:
- name: Dominic DePasquale
6 changes: 6 additions & 0 deletions charts/application-core/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,12 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.command }}
command:
{{- range .Values.command }}
- {{ . }}
{{- end }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
2 changes: 2 additions & 0 deletions charts/application-core/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,8 @@ configMap:
enabled: false
data: {}

command: []

env:
[]
# - name: FOO
Expand Down

0 comments on commit 4a25060

Please sign in to comment.