Skip to content

Commit

Permalink
fix(DMVP-4271): Add args param
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed May 24, 2024
1 parent 3e12941 commit 0701332
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/base/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ 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: 0.1.65
version: 0.1.66

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.1.65"
appVersion: "0.1.66"
10 changes: 9 additions & 1 deletion charts/base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -561,4 +561,12 @@ base:
- name: storage
mountPath: /storage/bbbb
subPath: bbbb


### Deployment send command and args

command:
- "/bin/bash"
- "-c"
args:
- |
/test.sh
3 changes: 3 additions & 0 deletions charts/base/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,9 @@ spec:
command:
{{ toYaml .Values.command | nindent 12 }}
{{- end }}
{{- if $.Values.args }}
args: {{ toYaml .Values.args | nindent 12 }}
{{- end }}
{{- if or .Values.extraEnv .Values.secrets}}
env:
{{- range $key, $value := .Values.extraEnv }}
Expand Down

0 comments on commit 0701332

Please sign in to comment.