[stable/testlink] Fix 'storageClass' macros (#16557)

* Fix 'storageClass' macros

Signed-off-by: Alejandro Moreno <amoreno@bitnami.com>

* Update MariaDB dependency

Signed-off-by: juan131 <juan@bitnami.com>

* [stable/testlink] Update components versions

Signed-off-by: Bitnami Containers <containers@bitnami.com>
This commit is contained in:
Alejandro Moreno
2019-08-22 10:55:07 -07:00
committed by Kubernetes Prow Robot
parent 80658ed923
commit 7008198224
5 changed files with 12 additions and 12 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: testlink
version: 6.1.1
version: 6.1.2
appVersion: 1.9.19
description: Web-based test management system that facilitates software quality assurance.
icon: https://bitnami.com/assets/stacks/testlink/img/testlink-stack-220x234.png
+2 -2
View File
@@ -1,6 +1,6 @@
dependencies:
- name: mariadb
repository: https://kubernetes-charts.storage.googleapis.com/
version: 6.7.4
version: 6.8.2
digest: sha256:a363428d6463718a9523a88c70e485218373e315f2979cb1bb17b034ec2be96a
generated: 2019-08-12T05:21:13.584954298Z
generated: "2019-08-22T17:45:51.811208+02:00"
+6 -6
View File
@@ -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.testlink.storageClass -}}
{{- if (eq "-" .Values.persistence.testlink.storageClass) -}}
{{- printf "\"\"" -}}
{{- printf "storageClassName: \"\"" -}}
{{- else }}
{{- printf "%s" .Values.persistence.testlink.storageClass -}}
{{- printf "storageClassName: %s" .Values.persistence.testlink.storageClass -}}
{{- end -}}
{{- end -}}
{{- end -}}
{{- else -}}
{{- if .Values.persistence.testlink.storageClass -}}
{{- if (eq "-" .Values.persistence.testlink.storageClass) -}}
{{- printf "\"\"" -}}
{{- printf "storageClassName: \"\"" -}}
{{- else }}
{{- printf "%s" .Values.persistence.testlink.storageClass -}}
{{- printf "storageClassName: %s" .Values.persistence.testlink.storageClass -}}
{{- end -}}
{{- end -}}
{{- end -}}
+1 -1
View File
@@ -14,5 +14,5 @@ spec:
resources:
requests:
storage: {{ .Values.persistence.testlink.size | quote }}
storageClassName: {{ include "testlink.storageClass" . }}
{{ include "testlink.storageClass" . }}
{{- end -}}
+2 -2
View File
@@ -14,7 +14,7 @@
image:
registry: docker.io
repository: bitnami/testlink
tag: 1.9.19-debian-9-r172
tag: 1.9.19-debian-9-r181
## Specify a imagePullPolicy
## Defaults to 'Always' if image tag is 'latest', else set to 'IfNotPresent'
## ref: http://kubernetes.io/docs/user-guide/images/#pre-pulling-images
@@ -253,7 +253,7 @@ metrics:
image:
registry: docker.io
repository: bitnami/apache-exporter
tag: 0.7.0-debian-9-r21
tag: 0.7.0-debian-9-r32
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.