Merge "[AAI] Kyverno - disallow-host-path policy"
[oom.git] / kubernetes / aai / components / aai-babel / templates / deployment.yaml
index c62587e..24d34e8 100644 (file)
@@ -58,9 +58,6 @@ spec:
             - name: CONFIG_HOME
               value: /opt/app/babel/config
           volumeMounts:
-          - mountPath: /etc/localtime
-            name: localtime
-            readOnly: true
           - mountPath: /opt/app/babel/config/application.properties
             name: config
             subPath: application.properties
@@ -94,9 +91,6 @@ spec:
       {{ include "common.log.sidecar" . | nindent 8 }}
       serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}}
       volumes:
-        - name: localtime
-          hostPath:
-            path: /etc/localtime
         - name: config
           configMap:
             name: {{ include "common.fullname" . }}-configmap