diff --git a/charts/base/Chart.yaml b/charts/base/Chart.yaml index fbe06f7..1ddb4d3 100644 --- a/charts/base/Chart.yaml +++ b/charts/base/Chart.yaml @@ -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" diff --git a/charts/base/README.md b/charts/base/README.md index 53f7d2e..a68375d 100644 --- a/charts/base/README.md +++ b/charts/base/README.md @@ -561,4 +561,12 @@ base: - name: storage mountPath: /storage/bbbb subPath: bbbb - \ No newline at end of file + +### Deployment send command and args + + command: + - "/bin/bash" + - "-c" + args: + - | + /test.sh diff --git a/charts/base/templates/deployment.yaml b/charts/base/templates/deployment.yaml index 7019cd3..d99139b 100644 --- a/charts/base/templates/deployment.yaml +++ b/charts/base/templates/deployment.yaml @@ -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 }}