From 3e5f02f9df693bc7efc62ee86351afe0fc73c805 Mon Sep 17 00:00:00 2001 From: Hannah Cooper Date: Wed, 4 Mar 2026 22:52:04 +0000 Subject: [PATCH] GITBOOK-4: Encrypting the database instructions fix --- advanced/db-encryption.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/advanced/db-encryption.md b/advanced/db-encryption.md index c4aef8c0..62e9fbc8 100644 --- a/advanced/db-encryption.md +++ b/advanced/db-encryption.md @@ -180,6 +180,23 @@ containers: In the `volumeMounts` section, add a definition for the secret created earlier: +{% hint style="info" %} +Note this step differs between Business Edition and Community Edition versions of Portainer. +{% endhint %} + +{% tabs %} +{% tab title="Business Edition" %} +``` +volumeMounts: + - name: data + mountPath: /data + - name: portainer-key + mountPath: /run/portainer/portainer + subPath: portainer +``` +{% endtab %} + +{% tab title="Community Edition" %} ``` volumeMounts: - name: data @@ -188,6 +205,8 @@ volumeMounts: mountPath: /run/secrets/portainer subPath: portainer ``` +{% endtab %} +{% endtabs %} We also need to add a definition to the `volumes` definition for the `spec`: