From 7bca7fc02a804184ef73b52c3d6ee2c545859489 Mon Sep 17 00:00:00 2001 From: kjeld Schouten-Lebbing Date: Thu, 11 Feb 2021 17:45:55 +0100 Subject: [PATCH] Removes appVolumesEnabled --- library/common/Chart.yaml | 2 +- library/common/templates/custom/_appStorage.tpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/library/common/Chart.yaml b/library/common/Chart.yaml index 6c351e4f54f..3b2c42ffe2a 100644 --- a/library/common/Chart.yaml +++ b/library/common/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: common description: Function library for TrueCharts type: library -version: 0.12.0 +version: 0.12.1 # upstream_version: 2.4.0 keywords: - truecharts diff --git a/library/common/templates/custom/_appStorage.tpl b/library/common/templates/custom/_appStorage.tpl index f74eb9a8c4b..abaec0ca2ac 100644 --- a/library/common/templates/custom/_appStorage.tpl +++ b/library/common/templates/custom/_appStorage.tpl @@ -14,7 +14,7 @@ Retrieve host path from ix volumes based on dataset name Define appVolumeMounts for container */}} {{- define "common.custom.configuredAppVolumeMounts" -}} -{{- if and .Values.appVolumesEnabled .Values.appVolumeMounts }} +{{- if .Values.appVolumeMounts }} {{- range $name, $avm := .Values.appVolumeMounts -}} {{- if $avm.enabled }} - name: {{ $name }} @@ -31,7 +31,7 @@ Define appVolumeMounts for container Define hostPath for appVolumes */}} {{- define "common.custom.configuredAppVolumes" -}} -{{- if and .Values.appVolumesEnabled .Values.appVolumeMounts }} +{{- if .Values.appVolumeMounts }} {{- range $name, $av := .Values.appVolumeMounts -}} {{- if $av.enabled }} - name: {{ $name }}