Skip to content

Commit

Permalink
readd migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleOps committed Dec 4, 2024
1 parent f0f7361 commit a06293e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions infra/helm/inferno/templates/deployments/inferno.deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ spec:
spec:
nodeSelector:
kubernetes.io/arch: amd64
# initContainers:
# - name: run-migrations
# image: {{ .Values.inferno.imageUrl }}
# imagePullPolicy: Always
# command: ["bundle", "exec", "rake", "db:migrate"]
# env:
# - name: TX_SERVER_URL
# value: {{ .Values.inferno.terminologyServer }}
# envFrom:
# - configMapRef:
# name: inferno
# - configMapRef:
# name: postgresql-configmap
# - secretRef:
# name: postgresql-secret
initContainers:
- name: run-migrations
image: {{ .Values.inferno.imageUrl }}
imagePullPolicy: Always
command: ["bundle", "exec", "rake", "db:migrate"]
env:
- name: TX_SERVER_URL
value: {{ .Values.inferno.terminologyServer }}
envFrom:
- configMapRef:
name: inferno
- configMapRef:
name: postgresql-configmap
- secretRef:
name: postgresql-secret
containers:
- name: inferno-app
image: {{ .Values.inferno.imageUrl }}
Expand Down

0 comments on commit a06293e

Please sign in to comment.