Skip to content

Commit

Permalink
Merge pull request #109 from mergestat/removing-init-container
Browse files Browse the repository at this point in the history
fix(initContainer): Removing init container and bump version
  • Loading branch information
patrickdevivo authored Feb 17, 2023
2 parents 6cd5fae + c4c3021 commit 98d4103
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 10 deletions.
2 changes: 1 addition & 1 deletion charts/mergestat/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
apiVersion: v2
name: mergestat
version: 1.19.0
version: 1.19.1
appVersion: 1.19.0-beta
description: MergeStat syncs data from Git into a SQL database for use in BI/visualization/other tools.
home: https://www.mergestat.com/
Expand Down
9 changes: 0 additions & 9 deletions charts/mergestat/templates/worker/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ spec:
serviceAccountName: {{ include "mergestat.serviceAccountName" . }}
securityContext:
{{- toYaml .Values.worker.podSecurityContext | nindent 8 }}
initContainers:
- name: {{ .Chart.Name }}-worker-init
image: "{{ .Values.worker.image.repository }}:{{ .Values.worker.image.tag | default .Chart.AppVersion }}"
command: [/usr/local/bin/migrate]
args: ["-database", "$(POSTGRES_CONNECTION)", "-path", "migrations", "-lock-timeout=300", "up"]
env:
{{- if .Values.worker.env }}
{{- include "common.tplvalues.render" (dict "value" .Values.worker.env "context" $ ) | nindent 12 }}
{{- end }}
containers:
- name: {{ .Chart.Name }}-worker
securityContext:
Expand Down

0 comments on commit 98d4103

Please sign in to comment.