From 60ee702026e768404923367f6e98ec8d7d20a108 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Tue, 5 Nov 2024 15:23:14 +0100 Subject: [PATCH] test adding user to container Signed-off-by: Simon L. --- manual-install/latest.yml | 1 + .../templates/nextcloud-aio-nextcloud-deployment.yaml | 2 +- nextcloud-aio-helm-chart/update-helm.sh | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/manual-install/latest.yml b/manual-install/latest.yml index 03132847cf9a..55d6cb590171 100644 --- a/manual-install/latest.yml +++ b/manual-install/latest.yml @@ -180,6 +180,7 @@ services: read_only: true cap_drop: - NET_RAW + user: 33:33 nextcloud-aio-redis: image: nextcloud/aio-redis:latest diff --git a/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml b/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml index cbfc8b157fc7..f4585826d229 100755 --- a/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml +++ b/nextcloud-aio-helm-chart/templates/nextcloud-aio-nextcloud-deployment.yaml @@ -173,7 +173,7 @@ spec: value: "{{ .Values.WHITEBOARD_ENABLED }}" - name: WHITEBOARD_SECRET value: "{{ .Values.WHITEBOARD_SECRET }}" - image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-nextcloud:20241017_085101" + image: "{{ .Values.IMAGE_MIRROR_PREFIX }}{{ .Values.NEXTCLOUD_IMAGE_ORG }}/aio-nextcloud:20241017_08510" name: nextcloud-aio-nextcloud ports: - containerPort: 9000 diff --git a/nextcloud-aio-helm-chart/update-helm.sh b/nextcloud-aio-helm-chart/update-helm.sh index 04ab339d678d..c050642b5d4d 100755 --- a/nextcloud-aio-helm-chart/update-helm.sh +++ b/nextcloud-aio-helm-chart/update-helm.sh @@ -48,8 +48,8 @@ sed -i "s|\${NEXTCLOUD_TRUSTED_CACERTS_DIR}:|nextcloud_aio_nextcloud_trusted_cac sed -i 's/\${/{{ .Values./g; s/}/ }}/g' latest.yml yq -i 'del(.services.[].profiles)' latest.yml # Delete read_only and tmpfs setting while https://github.com/kubernetes/kubernetes/issues/48912 is not fixed -yq -i 'del(.services.[].read_only)' latest.yml -yq -i 'del(.services.[].tmpfs)' latest.yml +# yq -i 'del(.services.[].read_only)' latest.yml +# yq -i 'del(.services.[].tmpfs)' latest.yml cat latest.yml kompose convert -c -f latest.yml --namespace nextcloud-aio-namespace cd latest