diff --git a/resources/nats/templates/statefulset.yaml b/resources/nats/templates/statefulset.yaml index 61dd9d56..e186188d 100644 --- a/resources/nats/templates/statefulset.yaml +++ b/resources/nats/templates/statefulset.yaml @@ -99,7 +99,7 @@ spec: securityContext: runAsUser: 0 image: alpine:latest - command: ["sh", "-c", "chown -R 1000:10001 {{ .Values.nats.jetstream.fileStorage.storageDirectory }} && chmod -R 755 {{ .Values.nats.jetstream.fileStorage.storageDirectory }}"] + command: ["sh", "-c", "chown -R 1000:10001 {{ .Values.nats.jetstream.fileStorage.storageDirectory }} && chmod -R 755 {{ .Values.nats.jetstream.fileStorage.storageDirectory }} && echo 'Done!'"] volumeMounts: - name: {{ include "nats.fullname" . }}-js-pvc mountPath: {{ .Values.nats.jetstream.fileStorage.storageDirectory }}