diff --git a/k8s-deploy-template.yaml b/k8s-deploy-template.yaml index 7a2723cc85e1fa7847402cd1aa386814936e6439..32f5b4a4c0c9c0d6a4bcbd0b10ef7f4fb3cbfb8e 100644 --- a/k8s-deploy-template.yaml +++ b/k8s-deploy-template.yaml @@ -44,7 +44,7 @@ spec: lifecycle: postStart: exec: - command: ["/bin/sh", "-c", "mkdir -p /data/logs/gc /data/heapdump"] + command: ["/bin/sh", "-c", "umask 0022 && mkdir -p /data/logs/gc /data/heapdump"] startupProbe: httpGet: scheme: HTTP