Skip to content

Commit

Permalink
Revert "sed on config path"
Browse files Browse the repository at this point in the history
This reverts commit 47c9529.
  • Loading branch information
artntek committed Jul 30, 2024
1 parent f0f9ac1 commit ee57b8c
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
{{- $source := (include "metacatui.source.from" .) }}
{{- if ne $source "pvc" }}
initContainers:
- name: get-source
{{- if eq $source "git" }}
Expand Down Expand Up @@ -59,8 +60,7 @@ spec:
mv /tmp/metacatui/src/* $DEST;
finish=$(date +%s);
echo "git clone -b {{ $revision }} --depth 1 took $((finish - start)) sec";
{{- end }}
{{- if eq $source "package" }}
{{- else }}
{{- $version := "" }}
{{- $location := "" }}
{{- if and .Values.source .Values.source.package }}
Expand All @@ -76,10 +76,6 @@ 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;
{{- if ne $source "pvc" }}
volumeMounts:
- name: {{ .Release.Name }}-mcui-source-files
mountPath: /metacatui
Expand Down

0 comments on commit ee57b8c

Please sign in to comment.