mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-03 03:19:03 +08:00
helm-chart - remove hostport from deployment
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
b9872f9c4a
commit
c1a7c085cf
1 changed files with 2 additions and 0 deletions
|
@ -127,6 +127,8 @@ find ./ -name '*deployment.yaml' -exec sed -i "/medium: Memory/d" \{} \;
|
|||
# shellcheck disable=SC1083
|
||||
find ./ -name '*deployment.yaml' -exec sed -i "s|emptyDir:|emptyDir: \{\}|" \{} \;
|
||||
# shellcheck disable=SC1083
|
||||
find ./ -name '*deployment.yaml' -exec sed -i "/hostPort:/d" \{} \;
|
||||
# shellcheck disable=SC1083
|
||||
find ./ -name '*persistentvolumeclaim.yaml' -exec sed -i "s|ReadOnlyMany|ReadWriteOnce|" \{} \;
|
||||
# shellcheck disable=SC1083
|
||||
find ./ -name '*persistentvolumeclaim.yaml' -exec sed -i "/accessModes:/i\ \ {{- if .Values.STORAGE_CLASS }}" \{} \;
|
||||
|
|
Loading…
Reference in a new issue