mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Kubernetes Prow Robot
parent
057270ae8e
commit
dfb0e2dd7a
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user