[bitnami/wordpress] Fix AllowOverrideNone logic (#6236)

* [bitnami/wordpress] Fix allowOverrideNone logic

Signed-off-by: Miguel A. Cabrera Minagorri <macabrera@bitnami.com>

* Bump chart version
This commit is contained in:
Miguel Ángel Cabrera Miñagorri
2021-04-28 10:34:49 +02:00
committed by GitHub
parent 0092dfee06
commit f0a53eb330
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -35,4 +35,4 @@ name: wordpress
sources:
- https://github.com/bitnami/bitnami-docker-wordpress
- https://wordpress.org/
version: 10.10.11
version: 10.10.12
+2 -2
View File
@@ -221,7 +221,7 @@ spec:
mountPath: /opt/bitnami/wordpress/wp-config.php
subPath: wp-config.php
{{- end }}
{{- if and .Values.allowOverrideNone .Values.customHTAccessCM }}
{{- if and (not .Values.allowOverrideNone) .Values.customHTAccessCM }}
- mountPath: /htaccess
name: custom-htaccess
{{- end }}
@@ -269,7 +269,7 @@ spec:
secretName: {{ include "wordpress.configSecretName" . }}
defaultMode: 0644
{{- end }}
{{- if and .Values.allowOverrideNone .Values.customHTAccessCM }}
{{- if and (not .Values.allowOverrideNone) .Values.customHTAccessCM }}
- name: custom-htaccess
configMap:
name: {{ template "wordpress.customHTAccessCM" . }}