Skip to content

Commit

Permalink
feat: added feature for additional init containers
Browse files Browse the repository at this point in the history
  • Loading branch information
codechirag123 committed Jan 24, 2025
1 parent bd1cc5e commit bf57216
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
15 changes: 15 additions & 0 deletions deploy/helm-preview/example.values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,21 @@ workflowService:
maxUnavailable: '0'
nameOverride: workflowservice
migration: true
additionalInitContainers: []
# - name: workflowservice-reset-db
# image: ghcr.io/ballerine-io/workflows-service-ee:bal-298
# command:
# - dumb-init
# - npm
# - run
# - db:reset:dev
# envFrom:
# - secretRef:
# name: wf-bal-298-secret-manager
# imagePullPolicy: Always
# resources: {}
# terminationMessagePath: /dev/termination-log
# terminationMessagePolicy: File
prismaMigrate:
envFrom: []
enabled: false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ spec:
{{- toYaml . | nindent 14 }}
{{- end }}
{{- end }}
{{- with .Values.workflowService.additionalInitContainers }}
{{- toYaml . | nindent 12}}
{{- end }}
{{- if .Values.workflowService.prismaMigrate.enabled }}
initContainers:
- name: wait-for-migration
Expand Down

0 comments on commit bf57216

Please sign in to comment.