Skip to content

Commit

Permalink
specific onprem command
Browse files Browse the repository at this point in the history
  • Loading branch information
i-bogomazov committed Jun 25, 2024
1 parent 4f6cfcd commit 13813e2
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions charts/navi-back/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -155,17 +155,21 @@ spec:
{{- if .Values.command }}
command:
{{- include "tplvalues.render" (dict "value" .Values.command "context" $) | nindent 12 }}
{{- else }}
command: [ "/usr/sbin/2gis/mosesd/tini", "--" ]
{{- end }}
{{- if .Values.args }}
args:
{{- include "tplvalues.render" (dict "value" .Values.args "context" $) | nindent 12 }}
{{- else }}
args:
- /usr/sbin/2gis/mosesd/mosesd
- --config
- /etc/2gis/mosesd/navi-back.conf
{{- end }}
volumeMounts:
- name: {{ include "generic-chart.fullname" . }}-configmap
{{- /* default command line embedded in container itself
* this is the expected config file path
*/}}
mountPath: /etc/2gis/mosesd/mosesd.conf
mountPath: /etc/2gis/mosesd/navi-back.conf
subPath: navi-back.conf
- name: {{ include "generic-chart.fullname" . }}-configmap
mountPath: /etc/2gis/mosesd/rules.conf
Expand Down

0 comments on commit 13813e2

Please sign in to comment.