From 013545ab19ff83dacacceaca251764c39b1cd1c8 Mon Sep 17 00:00:00 2001 From: Fiete Ostkamp Date: Wed, 6 Mar 2024 09:45:59 +0100 Subject: [AAI] Kyverno - disallow-host-path policy - remove hostPath mounting of /etc/localtime Issue-ID: AAI-3803 Change-Id: Ia5d1bfef1581a5e3f1b2ed3869ad1f840337f969 Signed-off-by: Fiete Ostkamp --- kubernetes/aai/components/aai-modelloader/templates/deployment.yaml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'kubernetes/aai/components/aai-modelloader/templates/deployment.yaml') diff --git a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml index b3fd237fb6..32839396b7 100644 --- a/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-modelloader/templates/deployment.yaml @@ -77,9 +77,6 @@ spec: name: {{ include "common.name" . }}-ku key: sasl.jaas.config volumeMounts: - - mountPath: /etc/localtime - name: localtime - readOnly: true - mountPath: /opt/app/model-loader/config/model-loader.properties subPath: model-loader.properties name: prop-config @@ -93,9 +90,6 @@ spec: {{ include "common.log.sidecar" . | nindent 6 }} serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - - name: localtime - hostPath: - path: /etc/localtime - name: prop-config configMap: name: {{ include "common.fullname" . }}-prop -- cgit 1.2.3-korg