Skip to content

Commit

Permalink
allowed command and args
Browse files Browse the repository at this point in the history
  • Loading branch information
jty016 committed Apr 4, 2024
1 parent 6396cc9 commit 3c04d5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/base-library-chart/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ appVersion: 0.1.0
description: A base library Helm chart for Kubernetes application
name: base-library-chart
type: library
version: 0.1.2
version: 0.1.3
6 changes: 6 additions & 0 deletions charts/base-library-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,12 @@ spec:
{{- toYaml .Values.securityContext | nindent 12 }}
image: "{{ .Values.image.repository }}:{{ .Values.image.tag | default .Chart.AppVersion }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
{{- if .Values.container.command }}
command: {{ .Values.container.command }}
{{- end }}
{{- if .Values.container.args }}
args: {{ .Values.container.args }}
{{- end }}
ports:
- name: http
containerPort: {{ .Values.containerPort }}
Expand Down

0 comments on commit 3c04d5b

Please sign in to comment.