[bitnami/mediawiki] Don't create a PVC when using existing claim (#6322)

* Fix creating a PVC when using existing claim

This prevents a new PVC from being created when an existing PVC is
expected.

If an existing claim is used another PVC will get created potentially
causing a default provisioner to act on it but it will never be used.

* [bitnami/mediawiki] bump chart version
This commit is contained in:
Eric
2021-05-10 09:43:22 +01:00
committed by GitHub
parent 6b476bc169
commit 758e1bb187
2 changed files with 2 additions and 2 deletions

View File

@@ -32,4 +32,4 @@ name: mediawiki
sources:
- https://github.com/bitnami/bitnami-docker-mediawiki
- http://www.mediawiki.org/
version: 12.2.7
version: 12.2.8

View File

@@ -1,4 +1,4 @@
{{- if .Values.persistence.enabled -}}
{{- if and .Values.persistence.enabled (not .Values.persistence.existingClaim) -}}
kind: PersistentVolumeClaim
apiVersion: v1
metadata: