Skip to content

Commit

Permalink
adding ability to change command
Browse files Browse the repository at this point in the history
  • Loading branch information
Vladyslav Riabyk committed Apr 11, 2023
1 parent 26ed765 commit 3071468
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions charts/benji/templates/maint-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ spec:
- name: benji
image: "{{ .Values.benji.image.registry }}/{{ .Values.benji.image.repository }}:{{ .Values.benji.image.tag }}"
imagePullPolicy: {{ .Values.benji.image.pullPolicy }}
{{- with .Values.benji.command }}
command:
{{- toYaml . | nindent 12 }}
{{- end }}
securityContext:
privileged: true
env:
Expand Down
3 changes: 3 additions & 0 deletions charts/benji/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ benji:
affinity: {}

initContainers: []

command: []

## insert a secret name here that contains your configuration, otherwise the below configuration is used
externalSecretConfig: ""

Expand Down

0 comments on commit 3071468

Please sign in to comment.