Skip to content
Snippets Groups Projects
Commit 551f3966 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

Merge branch '91-fix-database-host-for-standalone-architecture' into 'master'

Resolve "Fix database host for standalone architecture"

Closes #91

See merge request openappstack/wordpress-helm!41
parents bf0ea2c1 0de0e876
No related branches found
No related tags found
1 merge request!41Resolve "Fix database host for standalone architecture"
## [0.3.1] - 2021-09-30
* Fix database service name for standalone architecture
## [0.3.0] - 2021-09-28
* Cron overhaul:
......
......@@ -5,7 +5,7 @@ description: WordPress with a replicated MariaDB backend
name: wordpress
# Please only change the chart version as part of the release procedure: see
# RELEASING.md
version: 0.3.0
version: 0.3.1
icon: https://make.wordpress.org/design/files/2016/09/WordPress-logotype-wmark.png
dependencies:
- name: mariadb
......
......@@ -220,13 +220,13 @@ ansibleVars:
image:
repository: open.greenhost.net:4567/openappstack/wordpress-helm/wordpress
tag: 0.3.0
tag: 0.3.1
pullPolicy: Always
pullSecrets: []
initImage:
repository: open.greenhost.net:4567/openappstack/wordpress-helm/wordpress-cli-ansible
tag: 0.3.0
tag: 0.3.1
pullPolicy: Always
ingress:
......@@ -331,7 +331,7 @@ ansibleSecrets: |
BACKUP_NAME: {{ .Release.Name }}
BACKUP_TARGET: {{ .Values.backup.target }}
BACKUP_ISDATE: {{ .Values.backup.isDate }}
DB_HOST: {{ .Release.Name }}-database-primary
DB_HOST: {{ ternary (printf "%s-%s" .Release.Name "database") (printf "%s-%s" .Release.Name "database-primary") (eq .Values.database.architecture "standalone") }}
DB_NAME: {{ .Values.database.auth.database }}
DB_PASS: {{ .Values.database.auth.password }}
DB_PREFIX: {{ .Values.wordpress.config.db.prefix}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment