Skip to content

Commit

Permalink
use sed to edit config path in index.html
Browse files Browse the repository at this point in the history
  • Loading branch information
artntek committed Jul 30, 2024
1 parent a0b874b commit f9d94b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ spec:
finish=$(date +%s);
echo "$FILENAME download and install took $((finish - start)) sec";
{{- end }}
sed -i \
's|"/config/config.js"|"{{ include "metacatui.clean.root" . }}/config/config.js"|g' \
"${DEST}"/index.html;
volumeMounts:
- name: {{ .Release.Name }}-mcui-source-files
mountPath: /metacatui
Expand Down

0 comments on commit f9d94b4

Please sign in to comment.