diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-03-06 09:45:59 +0100 |
---|---|---|
committer | Andreas Geissler <andreas-geissler@telekom.de> | 2024-03-24 11:21:07 +0000 |
commit | 013545ab19ff83dacacceaca251764c39b1cd1c8 (patch) | |
tree | 29bd48ba0d04ff290592ddd5eba4db0ac39810e9 /kubernetes/aai/components/aai-resources/templates | |
parent | 5fa1a05b3142c1f70757d5ce5b4519e574f6f5b2 (diff) |
[AAI] Kyverno - disallow-host-path policy
- remove hostPath mounting of /etc/localtime
Issue-ID: AAI-3803
Change-Id: Ia5d1bfef1581a5e3f1b2ed3869ad1f840337f969
Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'kubernetes/aai/components/aai-resources/templates')
-rw-r--r-- | kubernetes/aai/components/aai-resources/templates/deployment.yaml | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/kubernetes/aai/components/aai-resources/templates/deployment.yaml b/kubernetes/aai/components/aai-resources/templates/deployment.yaml index 1e2880d529..8c44bc9f4a 100644 --- a/kubernetes/aai/components/aai-resources/templates/deployment.yaml +++ b/kubernetes/aai/components/aai-resources/templates/deployment.yaml @@ -167,9 +167,6 @@ spec: - name: INTERNAL_PORT_3 value: {{ .Values.service.internalPort3 | quote }} volumeMounts: - - mountPath: /etc/localtime - name: localtime - readOnly: true - mountPath: /opt/app/aai-resources/resources/etc/appprops/janusgraph-realtime.properties name: {{ include "common.fullname" . }}-config subPath: janusgraph-realtime.properties @@ -265,9 +262,6 @@ spec: {{ include "common.log.sidecar" . | nindent 6 }} serviceAccountName: {{ include "common.fullname" (dict "suffix" "read" "dot" . )}} volumes: - - name: localtime - hostPath: - path: /etc/localtime - name: logs emptyDir: {} {{ include "common.log.volumes" (dict "dot" . "configMapNamePrefix" (tpl .Values.logConfigMapNamePrefix .)) | nindent 6 }} |