Fix Moodle init containers (#4213)

This commit is contained in:
Alejandro Moreno
2020-11-04 14:35:07 +01:00
committed by GitHub
parent abb7aefe4d
commit 3ab16fc5f2
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: moodle
version: 9.0.3
version: 9.0.4
appVersion: 3.9.2
description: Moodle is a learning platform designed to provide educators, administrators and learners with a single robust, secure and integrated system to create personalised learning environments
keywords:

View File

@@ -55,7 +55,7 @@ spec:
- ip: "127.0.0.1"
hostnames:
- "status.localhost"
initContainers: {{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }}
initContainers: {{- if .Values.initContainers -}}{{- include "common.tplvalues.render" (dict "value" .Values.initContainers "context" $) | nindent 8 }}{{- end -}}
{{- if and .Values.volumePermissions.enabled .Values.persistence.enabled }}
- name: volume-permissions
image: {{ include "moodle.volumePermissions.image" . }}