[stable/phpmyadmin] Fix an SSL certificates directory conflict (#20086)

Mount the SSL certificates used to connect to the database in  /db_certs instead of /certs, as /certs is already used by the bitnami/phpmyadmin Docker image to configure Apache internally.

Signed-off-by: Nicolas Camus <nicolas@octopulse.io>
This commit is contained in:
Nicolas Camus
2020-01-15 02:27:31 -08:00
committed by Kubernetes Prow Robot
parent 057270ae8e
commit dfb0e2dd7a
2 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
apiVersion: v1
name: phpmyadmin
version: 4.2.8
version: 4.2.9
appVersion: 5.0.1
description: phpMyAdmin is an mysql administration frontend
keywords:
+4 -4
View File
@@ -76,11 +76,11 @@ spec:
value: {{ ternary "yes" "no" .Values.db.enableSsl | quote }}
{{- if .Values.db.enableSsl }}
- name: DATABASE_SSL_KEY
value: "/certs/server_key.pem"
value: "/db_certs/server_key.pem"
- name: DATABASE_SSL_CERT
value: "/certs/server_certificate.pem"
value: "/db_certs/server_certificate.pem"
- name: DATABASE_SSL_CA
value: "/certs/ca_certificate.pem"
value: "/db_certs/ca_certificate.pem"
{{- if .Values.db.ssl.ciphers }}
- name: DATABASE_SSL_CIPHERS
values: {{ .Values.db.ssl.ciphers | quote }}
@@ -111,7 +111,7 @@ spec:
{{- if .Values.db.enableSsl }}
volumeMounts:
- name: ssl-certs
mountPath: /certs
mountPath: /db_certs
{{- end }}
{{- if .Values.metrics.enabled }}
- name: metrics