Skip to content

Commit

Permalink
Fix merge conflict errors
Browse files Browse the repository at this point in the history
Signed-off-by: Jeroen Rijken <[email protected]>
  • Loading branch information
Jeroen0494 committed Apr 28, 2024
1 parent 322945d commit 706a238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion charts/crowdsec/templates/lapi-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ spec:
- name: fetch-metabase-config
image: "{{ .Values.agent.wait_for_lapi.image.repository }}:{{ .Values.agent.wait_for_lapi.image.tag }}"
imagePullPolicy: IfNotPresent
command: ['sh', '-c', 'cd /metabase-data && wget {{ .Values.lapi.dashboard.assetURL }} && unzip metabase_sqlite.zip -d /metabase-data/']
command: ['sh', '-c', 'if [ -f /metabase-data/metabase.db/metabase.db.mv.db ]; then echo "Metabase database file already exists, skipping download and unzip"; else wget {{ .Values.lapi.dashboard.assetURL }} && unzip metabase_sqlite.zip -d /metabase-data/; fi']


securityContext:
Expand Down

0 comments on commit 706a238

Please sign in to comment.