From 0c2fab7043a32ca7c5b213644f2feebfcae264ba Mon Sep 17 00:00:00 2001 From: Hannah Cooper Date: Wed, 4 Mar 2026 21:55:18 +0000 Subject: [PATCH] GITBOOK-23: Encrypt the database fix --- advanced/db-encryption.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/advanced/db-encryption.md b/advanced/db-encryption.md index 6a335c19..b3dbefbc 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`: