From 944c992f728edd2679d5eabbbfb43d6cd1e469a4 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Thu, 15 Apr 2021 17:21:00 +0200 Subject: [PATCH] Ignore readOnly for automatic permissions --- library/common/Chart.yaml | 2 +- library/common/templates/lib/storage/_mountPermissions.tpl | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index fb61a4538b2..d263c56bd0e 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -1,7 +1,7 @@ apiVersion: v2 kubeVersion: ">=1.16.0-0" name: common -version: 3.5.0 +version: 3.5.1 # upstream_version: appVersion: none description: Function library for TrueCharts diff --git a/library/common/templates/lib/storage/_mountPermissions.tpl b/library/common/templates/lib/storage/_mountPermissions.tpl index 8799e91fa57..323d2a33771 100644 --- a/library/common/templates/lib/storage/_mountPermissions.tpl +++ b/library/common/templates/lib/storage/_mountPermissions.tpl @@ -51,9 +51,6 @@ spec: {{ if $csm.subPath }} subPath: {{ $csm.subPath }} {{ end }} - {{ if $csm.readOnly }} - readOnly: {{ $csm.readOnly }} - {{ end }} {{- end -}} {{- end -}} {{ end }}