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