Skip to content

Commit

Permalink
helm: Add config flag to autoMigrate (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr authored Oct 15, 2019
1 parent 0aa9085 commit ab74742
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
test:
machine:
image: ubuntu-1604:201903-01
docker_layer_caching: true
# docker_layer_caching: true
steps:
- checkout
- run:
Expand Down
7 changes: 6 additions & 1 deletion helm/charts/hive/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,12 @@ spec:
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
imagePullPolicy: {{ .Values.image.pullPolicy }}
command: ["hive"]
args: ["migrate", "sql", "-e", "--yes"]
args: ["migrate", "sql", "-e", "--yes", "--config", "/etc/config/config.yaml"]
volumeMounts:
-
name: {{ include "hive.name" . }}-config-volume
mountPath: /etc/config
readOnly: true
env:
-
name: DSN
Expand Down

0 comments on commit ab74742

Please sign in to comment.