From c1a7c085cf9c0c87b60e81681892a112f79c8379 Mon Sep 17 00:00:00 2001 From: Simon L Date: Fri, 29 Sep 2023 11:30:33 +0200 Subject: [PATCH] helm-chart - remove hostport from deployment Signed-off-by: Simon L --- nextcloud-aio-helm-chart/update-helm.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nextcloud-aio-helm-chart/update-helm.sh b/nextcloud-aio-helm-chart/update-helm.sh index b159f5f3..86579ff5 100755 --- a/nextcloud-aio-helm-chart/update-helm.sh +++ b/nextcloud-aio-helm-chart/update-helm.sh @@ -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 }}" \{} \;