From b8f285380836e4ebba86c63ea14c3eb0ebd3671c Mon Sep 17 00:00:00 2001 From: Tomas Pizarro Date: Fri, 10 Aug 2018 10:05:01 +0200 Subject: [PATCH] Fix ghost chart (#7097) --- stable/ghost/Chart.yaml | 2 +- stable/ghost/templates/deployment.yaml | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stable/ghost/Chart.yaml b/stable/ghost/Chart.yaml index 6101bc1694..cd178b135d 100644 --- a/stable/ghost/Chart.yaml +++ b/stable/ghost/Chart.yaml @@ -1,5 +1,5 @@ name: ghost -version: 4.0.13 +version: 4.0.14 appVersion: 1.25.3 description: A simple, powerful publishing platform that allows you to share your stories with the world diff --git a/stable/ghost/templates/deployment.yaml b/stable/ghost/templates/deployment.yaml index f263a7897b..fa1f5216e7 100644 --- a/stable/ghost/templates/deployment.yaml +++ b/stable/ghost/templates/deployment.yaml @@ -48,8 +48,10 @@ spec: {{- else }} value: {{ .Values.externalDatabase.host | quote }} {{- end }} - {{- if and (not .Values.mariadb.enabled) .Values.externalDatabase.port }} - name: MARIADB_PORT_NUMBER + {{- if .Values.mariadb.enabled }} + value: "3306" + {{- else }} value: {{ .Values.externalDatabase.port | quote }} {{- end }} - name: GHOST_DATABASE_NAME