From c3b8bd61bebbbb1fb2ca50b4460bdb7262e6ee0c Mon Sep 17 00:00:00 2001 From: "saul.gill" Date: Fri, 25 Jul 2025 14:20:34 +0100 Subject: [PATCH] [POLICY] Fix file permissions for helm config and cache Issue-ID: POLICY-5424 Change-Id: Ib6e8211b4a8ed50d6a860854c8ab61e799ac631d Signed-off-by: saul.gill --- .../policy-clamp-ac-k8s-ppnt/templates/deployment.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml index a97ab22577..428460b135 100644 --- a/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml +++ b/kubernetes/policy/components/policy-clamp-ac-k8s-ppnt/templates/deployment.yaml @@ -2,6 +2,7 @@ # ============LICENSE_START======================================================= # Copyright (C) 2021-2023 Nordix Foundation. # Modifications Copyright © 2024 Deutsche Telekom +# Modifications Copyright © 2025 OpenInfra Europe. All rights reserved. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -87,6 +88,10 @@ spec: - mountPath: /opt/app/policy/clamp/etc/logback.xml subPath: logback.xml name: ac-k8s-ppnt-config-processed + - name: helm-cache + mountPath: /home/policy/.cache/helm + - name: helm-config + mountPath: /home/policy/.config/helm resources: {{ include "common.resources" . | nindent 12 }} {{- if .Values.nodeSelector }} nodeSelector: @@ -112,4 +117,8 @@ spec: - name: logs emptyDir: sizeLimit: {{ .Values.dirSizes.logDir.sizeLimit }} + - name: helm-cache + emptyDir: {} + - name: helm-config + emptyDir: {} {{- include "common.imagePullSecrets" . | nindent 6 }} -- 2.16.6