From 047cc1baa4a7bec324e2753e803fab2caab01200 Mon Sep 17 00:00:00 2001
From: Ha Son Hai <hasonhai@users.noreply.github.com>
Date: Fri, 15 Feb 2019 15:54:17 +0100
Subject: [PATCH] Loki pod needs secret mounting privileges

---
 production/helm/templates/loki/podsecuritypolicy.yaml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/production/helm/templates/loki/podsecuritypolicy.yaml b/production/helm/templates/loki/podsecuritypolicy.yaml
index ea36a45e..a5007bdb 100644
--- a/production/helm/templates/loki/podsecuritypolicy.yaml
+++ b/production/helm/templates/loki/podsecuritypolicy.yaml
@@ -15,6 +15,7 @@ spec:
     - 'configMap'
     - 'emptyDir'
     - 'persistentVolumeClaim'
+    - 'secret'
   hostNetwork: false
   hostIPC: false
   hostPID: false
@@ -27,4 +28,4 @@ spec:
   fsGroup:
     rule: 'RunAsAny'
   readOnlyRootFilesystem: false
-{{- end }}
\ No newline at end of file
+{{- end }}
-- 
GitLab