Skip to content
Snippets Groups Projects
Commit 2407081b authored by Arie Peterson's avatar Arie Peterson
Browse files

Bump mariadb to 9.6.0

parent c73fdf8a
No related branches found
No related tags found
1 merge request!39Resolve "Update mariadb chart version"
## Unreleased
* Update mariadb chart to 9.6.0
NOTE: the mariadb chart does not provide backwards compatibility in this
case, so manual action is required if you want to upgrade an existing
wordpress-helm release to this new version: either by migrating database data
from the old release to the new one, or by using the `existingClaim`
parameter(s) to reuse the existing persistent volumes. For details, see
[mariadb chart upgrade notes](
https://artifacthub.io/packages/helm/bitnami/mariadb/9.6.0#to-8-0-0)
## [0.2.1] - 2021-09-16
* Allow setting custom labels on pods and statefulset
......
......@@ -9,7 +9,7 @@ version: 0.2.1
icon: https://make.wordpress.org/design/files/2016/09/WordPress-logotype-wmark.png
dependencies:
- name: mariadb
version: 7.3.16
version: 9.6.0
repository: "https://charts.bitnami.com/bitnami"
tags:
- mysql
......
......@@ -38,10 +38,10 @@ For a simple WordPress installation, you only need to edit the following values:
| `ansibleVars.WP_TITLE` | The title of the site | Demo WP |
| `ansibleVars.WP_THEME_ACTIVE` | A *slug* for the theme you want to install on your site (can also be changed through interface) | twentytwenty |
| `ansibleVars.WP_EMAIL` | The administrator's email adress | youremailhere@example.com |
| `database.db.user` | Database user | wordpress |
| `database.db.password` | `wordpress` db user password | You **really** need to set this |
| `database.db.rootUser.password ` | root user password | You **really** need to set this |
| `database.db.replicationUser.password`| replication user password | You **really** need to set this |
| `database.auth.username` | Database user | wordpress |
| `database.auth.password` | `wordpress` db user password | You **really** need to set this |
| `database.auth.rootPassword ` | root user password | You **really** need to set this |
| `database.auth.replicationPassword` | replication user password | You **really** need to set this |
You can read the descriptions of the other variables in
`values-local.yaml.example` and of even more variables in `values.yaml`.
......
......@@ -62,14 +62,14 @@ spec:
- name: WORDPRESS_DB_HOST
value: {{ .Release.Name }}-database
- name: WORDPRESS_DB_USER
value: {{ .Values.database.db.user }}
value: {{ .Values.database.auth.username }}
- name: WORDPRESS_DB_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-database
key: mariadb-password
- name: WORDPRESS_DB_NAME
value: {{ .Values.database.db.name }}
value: {{ .Values.database.auth.database }}
- name: WORDPRESS_TABLE_PREFIX
value: {{ .Values.wordPressTablePrefix }}
containers:
......@@ -108,14 +108,14 @@ spec:
- name: WORDPRESS_DB_HOST
value: {{ .Release.Name }}-database
- name: WORDPRESS_DB_USER
value: {{ .Values.database.db.user }}
value: {{ .Values.database.auth.username }}
- name: WORDPRESS_DB_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-database
key: mariadb-password
- name: WORDPRESS_DB_NAME
value: {{ .Values.database.db.name }}
value: {{ .Values.database.auth.database }}
- name: WORDPRESS_TABLE_PREFIX
value: {{ .Values.wordPressTablePrefix }}
# readinessProbe:
......@@ -144,14 +144,14 @@ spec:
- name: WORDPRESS_DB_HOST
value: {{ .Release.Name }}-database
- name: WORDPRESS_DB_USER
value: {{ .Values.database.db.user }}
value: {{ .Values.database.auth.username }}
- name: WORDPRESS_DB_PASSWORD
valueFrom:
secretKeyRef:
name: {{ .Release.Name }}-database
key: mariadb-password
- name: WORDPRESS_DB_NAME
value: {{ .Values.database.db.name }}
value: {{ .Values.database.auth.database }}
- name: WORDPRESS_TABLE_PREFIX
value: {{ .Values.wordPressTablePrefix }}
- name: BACKUP_INTERVAL_SECONDS
......
......@@ -118,13 +118,11 @@ openid_connect_settings:
role_key: roles
database:
db:
user: wordpress
auth:
username: wordpress
password: <SET A DATABASE PASSWORD>
rootUser:
password: <SET A DB ROOT USER PASSWORD FOR UPGRADES TO WORK>
replication:
password: <SET A REPLICATION USER PASSWORD IF YOU HAVE REPLICATION ENABLED>
rootPassword: <SET A DB ROOT USER PASSWORD FOR UPGRADES TO WORK>
replicationPassword: <SET A REPLICATION USER PASSWORD IF YOU HAVE REPLICATION ENABLED>
# Set this to true to have a Redis container next to your WP. The WP will be
# configured to connect to this Redis and `Redis Object Cache` plugin will be
......
......@@ -264,14 +264,14 @@ nodeSelector: {}
tolerations: []
affinity: {}
database:
db:
user: wordpress
auth:
username: wordpress
password: CHANGE-THIS-PASSWORD
name: wordpress_db
replication:
enabled: true
master:
database: wordpress_db
architecture: replication
primary:
persistence:
size: 4Gi
config: |-
......@@ -295,7 +295,7 @@ database:
[manager]
port=3306
socket=/opt/bitnami/mariadb/tmp/mysql.sock
slave:
secondary:
persistence:
size: 4Gi
config: |-
......@@ -319,6 +319,7 @@ database:
[manager]
port=3306
socket=/opt/bitnami/mariadb/tmp/mysql.sock
redis:
# Set redis.enabled to true to have a Redis container next to your WP. The WP will be
# configured to connect to this Redis and `Redis Object Cache` plugin will be
......@@ -348,11 +349,11 @@ ansibleSecrets: |
BACKUP_NAME: {{ .Release.Name }}
BACKUP_TARGET: {{ .Values.backup.target }}
BACKUP_ISDATE: {{ .Values.backup.isDate }}
DB_HOST: {{ .Release.Name }}-database
DB_NAME: {{ .Values.database.db.name }}
DB_PASS: {{ .Values.database.db.password }}
DB_HOST: {{ .Release.Name }}-database-primary
DB_NAME: {{ .Values.database.auth.database }}
DB_PASS: {{ .Values.database.auth.password }}
DB_PREFIX: {{ .Values.wordpress.config.db.prefix}}
DB_USER: {{ .Values.database.db.user }}
DB_USER: {{ .Values.database.auth.username }}
LANGUAGES: {{ .Values.wordpress.site.languages }}
DEFAULT_LANG: {{ .Values.wordpress.site.default_language }}
WP_CONTENT_MOUNT: {{ .Values.wordpress.wp_content.mount_path }}
......
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