mirror of
https://github.com/bitnami/charts.git
synced 2026-08-10 14:15:55 +08:00
[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:
@@ -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
|
||||
|
||||
@@ -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" . }}
|
||||
|
||||
Reference in New Issue
Block a user