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 6, 2023
1 parent 241eca4 commit 83d9d47
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 83d9d47

Please sign in to comment.