diff --git a/flux2/apps/wordpress/wordpress-values-configmap.yaml b/flux2/apps/wordpress/wordpress-values-configmap.yaml
index 9ef653d43de0635af5df5ccc9abf4532d2cc93a3..3b8fe598d51425b0c51f5337c9b08c09caa3fd41 100644
--- a/flux2/apps/wordpress/wordpress-values-configmap.yaml
+++ b/flux2/apps/wordpress/wordpress-values-configmap.yaml
@@ -41,12 +41,11 @@ data:
       role_key: openappstack_roles
 
     database:
-      db:
-        user: wordpress
+      auth:
+        username: wordpress
         password: "${wordpress_mariadb_password}"
-      rootUser:
-        password: "${wordpress_mariadb_root_password}"
-      master:
+        rootPassword: "${wordpress_mariadb_root_password}"
+      primary:
         persistence:
           ## Enable MariaDB persistence using Persistent Volume Claims.
           enabled: true
@@ -61,8 +60,7 @@ data:
           requests:
             cpu: 100m
             memory: 256Mi
-      replication:
-        enabled: false
+      architecture: "standalone"
 
     # It's advisable to set resource limits to prevent your K8s cluster from
     # crashing
diff --git a/flux2/infrastructure/sources/wordpress.yaml b/flux2/infrastructure/sources/wordpress.yaml
index e8743410c3642b9338e259ac8fe0dd9a674120d8..16caf91d63077f23d914b5172290592dc16a9601 100644
--- a/flux2/infrastructure/sources/wordpress.yaml
+++ b/flux2/infrastructure/sources/wordpress.yaml
@@ -14,4 +14,4 @@ spec:
   # For all available options, see:
   # https://toolkit.fluxcd.io/components/source/api/#source.toolkit.fluxcd.io/v1beta1.GitRepositoryRef
   ref:
-    tag: 0.2.2
+    tag: 0.4.0