mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-21 06:56:57 +00:00
Merge pull request #4270 from nextcloud/enh/noid/disable-fts-volume
helm chart - disable FTS volume if not enabled
This commit is contained in:
commit
fbf32ebae0
1 changed files with 6 additions and 0 deletions
|
|
@ -350,6 +350,12 @@ for variable in "${ENABLED_VARIABLES[@]}"; do
|
||||||
find ./ -name "*nextcloud-aio-$name-persistentvolumeclaim.yaml" -exec sed -i "$ a {{- end }}" \{} \;
|
find ./ -name "*nextcloud-aio-$name-persistentvolumeclaim.yaml" -exec sed -i "$ a {{- end }}" \{} \;
|
||||||
done
|
done
|
||||||
|
|
||||||
|
# Additional case for FTS volume
|
||||||
|
# shellcheck disable=SC1083
|
||||||
|
find ./ -name "*nextcloud-aio-elasticsearch-persistentvolumeclaim.yaml" -exec sed -i "1i\\{{- if eq .Values.FULLTEXTSEARCH_ENABLED \"yes\" }}" \{} \;
|
||||||
|
# shellcheck disable=SC1083
|
||||||
|
find ./ -name "*nextcloud-aio-elasticsearch-persistentvolumeclaim.yaml" -exec sed -i "$ a {{- end }}" \{} \;
|
||||||
|
|
||||||
chmod 777 -R ./
|
chmod 777 -R ./
|
||||||
|
|
||||||
# Seems like the dir needs to match the name of the chart
|
# Seems like the dir needs to match the name of the chart
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue