Skip to content

Commit

Permalink
Merge pull request #103 from dasmeta/DMVP-4271
Browse files Browse the repository at this point in the history
fix(DMVP-4271): Add args param
  • Loading branch information
aghamyan44 committed May 24, 2024
2 parents 3e12941 + 0701332 commit 05f6eb4
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 05f6eb4

Please sign in to comment.