Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: (DO-203) Fix is issue while passing args and command #8

Draft
wants to merge 16 commits into
base: main
Choose a base branch
from
Draft
4 changes: 2 additions & 2 deletions bls-chart/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ spec:
- name: {{ .Values.name }}
image: "{{ .Values.image.repository }}:{{ $imageTag }}"
imagePullPolicy: {{ .Values.image.imagePullPolicy }}
{{- if .Values.command }}
{{- if .Values.deployment.command }}
command:
{{- toYaml .Values.deployment.command | nindent 12 }}
{{- end }}
{{- if .Values.args }}
{{- if .Values.deployment.args }}
args:
{{- toYaml .Values.deployment.args | nindent 12 }}
{{- end }}
Expand Down
5 changes: 3 additions & 2 deletions bls-chart/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ deployment:
- /bin/sh
- -c
- echo Hello World
args: {}

args:
["start", "--optimized"]

livenessProbe:
path: /api/health
port: 8080
Expand Down
Loading