From f49e4894ccb540b613450a9d483b3f120c933372 Mon Sep 17 00:00:00 2001 From: gy741 Date: Sun, 28 Oct 2018 00:13:32 +0900 Subject: [PATCH] fix uuoc and typo (#333) * Fix typo * Fix UUOC in app/entrypoint.sh --- app/entrypoint.sh | 2 +- contrib/kubernetes/mattermost.deployment.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/entrypoint.sh b/app/entrypoint.sh index b00d537..ce2138b 100755 --- a/app/entrypoint.sh +++ b/app/entrypoint.sh @@ -2,7 +2,7 @@ # Function to generate a random salt generate_salt() { - cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 48 | head -n 1 + tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 48 | head -n 1 } # Read environment variables or set default values diff --git a/contrib/kubernetes/mattermost.deployment.yaml b/contrib/kubernetes/mattermost.deployment.yaml index 951a015..a5a51b7 100644 --- a/contrib/kubernetes/mattermost.deployment.yaml +++ b/contrib/kubernetes/mattermost.deployment.yaml @@ -45,14 +45,14 @@ spec: name: mattermost.env key: mm-dbname volumeMounts: - # optional persistant storage + # optional persistent storage #- name: appdata #mountPath: /mattermost/data - name: etclocaltime mountPath: /etc/localtime readOnly: true volumes: - # optional persistant storage + # optional persistent storage #- name: appdata #persistentVolumeClaim: # claimName: mattermost-app