Skip to content

Commit

Permalink
add extra container to ui stanza (#302)
Browse files Browse the repository at this point in the history
Signed-off-by: Aviv Guiser <[email protected]>
  • Loading branch information
KyriosGN0 authored Sep 2, 2024
1 parent 75e34fe commit e3616f2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
3 changes: 3 additions & 0 deletions charts/devlake/templates/deployments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
containers:
{{- with .Values.ui.extraContainers }}
{{- tpl (toYaml .) $ | nindent 8 }}
{{- end }}
- name: config-ui
{{- if .Values.ui.image.tag }}
image: "{{ .Values.ui.image.repository }}:{{ .Values.ui.image.tag }}"
Expand Down
16 changes: 16 additions & 0 deletions charts/devlake/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,22 @@ ui:
deployment:
extraLabels: {}

## Side Contaainer Configuration
extraContainers: []
# - name: vault-agent
# image: vault:1.6.2
# args:
# - agent
# - -config
# - /vault/config/config.hcl
# env:
# - name: VAULT_ADDR
# value: https://vault:8200
# - name: VAULT_SKIP_VERIFY
# value: "false"
# - name: VAULT_CACERT
# value: /vault/tls/ca.crt

# alpine image for some init containers
alpine:
image:
Expand Down

0 comments on commit e3616f2

Please sign in to comment.