From eca428ae94c79fb19ad3fb9a250bb9e74ece1b24 Mon Sep 17 00:00:00 2001 From: Brian Stinson Date: Sat, 6 Apr 2024 15:22:54 -0500 Subject: [PATCH] fix: Helm: Add a volumemount for the logs subpath If we run on Openshift, the container is launched read-only causing a Permission Denied error when the planka pod starts up and tries to make the logs directory. If we add 'logs' as a volumemount we can write to it. Signed-off-by: Brian Stinson --- charts/planka/Chart.yaml | 2 +- charts/planka/templates/deployment.yaml | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/charts/planka/Chart.yaml b/charts/planka/Chart.yaml index 5a6debe..470f805 100644 --- a/charts/planka/Chart.yaml +++ b/charts/planka/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.23 +version: 0.1.24 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/planka/templates/deployment.yaml b/charts/planka/templates/deployment.yaml index 2d0d35b..0c44a92 100644 --- a/charts/planka/templates/deployment.yaml +++ b/charts/planka/templates/deployment.yaml @@ -55,6 +55,9 @@ spec: - mountPath: /app/private/attachments subPath: attachments name: planka + - mountPath: /app/logs + subPath: logs + name: planka resources: {{- toYaml .Values.resources | nindent 12 }} env: