Removes appVolumesEnabled

This commit is contained in:
kjeld Schouten-Lebbing
2021-02-11 17:45:55 +01:00
parent 8940e298d7
commit 7bca7fc02a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v2
name: common name: common
description: Function library for TrueCharts description: Function library for TrueCharts
type: library type: library
version: 0.12.0 version: 0.12.1
# upstream_version: 2.4.0 # upstream_version: 2.4.0
keywords: keywords:
- truecharts - truecharts
@@ -14,7 +14,7 @@ Retrieve host path from ix volumes based on dataset name
Define appVolumeMounts for container Define appVolumeMounts for container
*/}} */}}
{{- define "common.custom.configuredAppVolumeMounts" -}} {{- define "common.custom.configuredAppVolumeMounts" -}}
{{- if and .Values.appVolumesEnabled .Values.appVolumeMounts }} {{- if .Values.appVolumeMounts }}
{{- range $name, $avm := .Values.appVolumeMounts -}} {{- range $name, $avm := .Values.appVolumeMounts -}}
{{- if $avm.enabled }} {{- if $avm.enabled }}
- name: {{ $name }} - name: {{ $name }}
@@ -31,7 +31,7 @@ Define appVolumeMounts for container
Define hostPath for appVolumes Define hostPath for appVolumes
*/}} */}}
{{- define "common.custom.configuredAppVolumes" -}} {{- define "common.custom.configuredAppVolumes" -}}
{{- if and .Values.appVolumesEnabled .Values.appVolumeMounts }} {{- if .Values.appVolumeMounts }}
{{- range $name, $av := .Values.appVolumeMounts -}} {{- range $name, $av := .Values.appVolumeMounts -}}
{{- if $av.enabled }} {{- if $av.enabled }}
- name: {{ $name }} - name: {{ $name }}