From 16a8c860e78ce3c9e82ddcc518b3badb12890e97 Mon Sep 17 00:00:00 2001 From: Dennis Lapchenko Date: Tue, 20 Jun 2023 17:38:03 +0300 Subject: [PATCH] docs: Update Kubernetes Secret backend docs Signed-off-by: Dennis Lapchenko --- docs/backends.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/backends.md b/docs/backends.md index d44eff23..fe71099a 100644 --- a/docs/backends.md +++ b/docs/backends.md @@ -706,13 +706,16 @@ data: password: ``` -### Kubernets Secret +### Kubernetes Secret -**Note**: The Kubernetes secret backend does not support versioning +Setup the backend with default secret from which to conveniently inject values from. +Optionally alternative secret names can be passed through path. + +**Note**: The Kubernetes Secret backend does not support versioning ##### Kubernetes Secret Authentication -Refer to the "Configuring Plugin" section, as this backend uses same in-cluster service-account as the plugin itself. +Backend inherits same in-cluster service-account as the plugin itself These are the parameters for Kubernetes Secret: @@ -720,6 +723,10 @@ These are the parameters for Kubernetes Secret: AVP_TYPE: kubernetessecret AVP_K8S_SECRET_SECRET: avp-secret-data ``` +`AVP_K8S_SECRET_SECRET` can have namespace prefix, ie.: +``` +AVS_K8S_SECRET_SECRET: prod:avp-secret-data +``` ##### Examples