From 3c3c97ab75082eed91c192916dd7466a2b992330 Mon Sep 17 00:00:00 2001 From: Friedrich Wilken Date: Thu, 15 Feb 2024 21:50:31 +0100 Subject: [PATCH] Revert "change usergroup to fsgroup" This reverts commit 8c1d69b062011c146bb9da16cbd12a6495f19308. --- resources/nats/templates/statefulset.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/nats/templates/statefulset.yaml b/resources/nats/templates/statefulset.yaml index 55130508..ea3cc075 100644 --- a/resources/nats/templates/statefulset.yaml +++ b/resources/nats/templates/statefulset.yaml @@ -99,7 +99,7 @@ spec: securityContext: runAsUser: 0 image: busybox - command: ["sh", "-c", "chown -R 1000:10001 {{ .Values.nats.jetstream.fileStorage.storageDirectory }}"] + command: ["sh", "-c", "chown -R 1000:1000 {{ .Values.nats.jetstream.fileStorage.storageDirectory }}"] volumeMounts: - name: {{ include "nats.fullname" . }}-js-pvc mountPath: {{ .Values.nats.jetstream.fileStorage.storageDirectory }}