diff --git a/stable/orangehrm/Chart.yaml b/stable/orangehrm/Chart.yaml index f05661a1e3..d6dc05f118 100644 --- a/stable/orangehrm/Chart.yaml +++ b/stable/orangehrm/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: orangehrm -version: 6.1.1 +version: 6.1.2 appVersion: 4.3.2-0 description: OrangeHRM is a free HR management system that offers a wealth of modules to suit the needs of your business. diff --git a/stable/orangehrm/requirements.lock b/stable/orangehrm/requirements.lock index a8586b0c6d..87b4aa452e 100644 --- a/stable/orangehrm/requirements.lock +++ b/stable/orangehrm/requirements.lock @@ -1,6 +1,6 @@ dependencies: - name: mariadb repository: https://kubernetes-charts.storage.googleapis.com/ - version: 6.7.2 + version: 6.8.2 digest: sha256:a363428d6463718a9523a88c70e485218373e315f2979cb1bb17b034ec2be96a -generated: "2019-07-25T09:26:32.03089+02:00" +generated: "2019-08-22T17:49:48.731564+02:00" diff --git a/stable/orangehrm/templates/_helpers.tpl b/stable/orangehrm/templates/_helpers.tpl index 721b972b0d..8a0098916c 100644 --- a/stable/orangehrm/templates/_helpers.tpl +++ b/stable/orangehrm/templates/_helpers.tpl @@ -130,25 +130,25 @@ but Helm 2.9 and 2.10 does not support it, so we need to implement this if-else {{- if .Values.global -}} {{- if .Values.global.storageClass -}} {{- if (eq "-" .Values.global.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.global.storageClass -}} + {{- printf "storageClassName: %s" .Values.global.storageClass -}} {{- end -}} {{- else -}} {{- if .Values.persistence.orangehrm.storageClass -}} {{- if (eq "-" .Values.persistence.orangehrm.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.orangehrm.storageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.orangehrm.storageClass -}} {{- end -}} {{- end -}} {{- end -}} {{- else -}} {{- if .Values.persistence.orangehrm.storageClass -}} {{- if (eq "-" .Values.persistence.orangehrm.storageClass) -}} - {{- printf "\"\"" -}} + {{- printf "storageClassName: \"\"" -}} {{- else }} - {{- printf "%s" .Values.persistence.orangehrm.storageClass -}} + {{- printf "storageClassName: %s" .Values.persistence.orangehrm.storageClass -}} {{- end -}} {{- end -}} {{- end -}} diff --git a/stable/orangehrm/templates/orangehrm-pvc.yaml b/stable/orangehrm/templates/orangehrm-pvc.yaml index 2b0a41972a..490253913c 100644 --- a/stable/orangehrm/templates/orangehrm-pvc.yaml +++ b/stable/orangehrm/templates/orangehrm-pvc.yaml @@ -14,5 +14,5 @@ spec: resources: requests: storage: {{ .Values.persistence.orangehrm.size | quote }} - storageClassName: {{ include "orangehrm.storageClass" . }} + {{ include "orangehrm.storageClass" . }} {{- end -}}