From 142e7095aacb2234ebcd3b21189bea689b2eb179 Mon Sep 17 00:00:00 2001 From: Lukas Joergensen Date: Thu, 26 Mar 2020 13:49:34 +0100 Subject: [PATCH] fix(azure-registry): Describe isBinary in the README --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index bc24cdc4..de7e9058 100644 --- a/README.md +++ b/README.md @@ -389,6 +389,24 @@ spec: property: value ``` +Due to the way Azure handles binary files, you need to explicitly let the ExternalSecret know that the secret is binary. +You can do that with the `isBinary` field on the key. This is necessary for certificates and other secret binary files. + +```yml +apiVersion: kubernetes-client.io/v1 +kind: ExternalSecret +metadata: + name: hello-keyvault-service +spec: + backendType: azureKeyVault + keyVaultName: hello-world + data: + - key: hello-service/credentials + name: password + isBinary: "true" +``` + + ## Metrics kubernetes-external-secrets exposes the following metrics over a prometheus endpoint: