From e0df9df519fab7f8126984f4d73b583063fb30aa Mon Sep 17 00:00:00 2001 From: Kevin Carter Date: Sun, 24 Mar 2024 13:05:37 -0500 Subject: [PATCH] fix: document the creation of the maxscale secret Signed-off-by: Kevin Carter --- docs/infrastructure-mariadb.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/infrastructure-mariadb.md b/docs/infrastructure-mariadb.md index 28aa5539..231c532f 100644 --- a/docs/infrastructure-mariadb.md +++ b/docs/infrastructure-mariadb.md @@ -3,11 +3,18 @@ ## Create secret ``` shell +# MariaDB kubectl --namespace openstack \ create secret generic mariadb \ --type Opaque \ --from-literal=root-password="$(< /dev/urandom tr -dc _A-Za-z0-9 | head -c${1:-32};echo;)" \ --from-literal=password="$(< /dev/urandom tr -dc _A-Za-z0-9 | head -c${1:-32};echo;)" + +# MaxScale +kubectl --namespace openstack \ + create secret generic maxscale \ + --type Opaque \ + --from-literal=password="$(< /dev/urandom tr -dc _A-Za-z0-9 | head -c${1:-32};echo;)" ``` ## Deploy the mariadb operator