Browse Source

Improve documentation for webhook auth secrets (#4485)

Add correct labels to secrets used for authentication in Webhook
Providers

Signed-off-by: Koenraad <koenraad@zimmo.be>
KoenraadM 1 year ago
parent
commit
ad9d759dec
1 changed files with 3 additions and 1 deletions
  1. 3 1
      docs/provider/webhook.md

+ 3 - 1
docs/provider/webhook.md

@@ -31,6 +31,8 @@ apiVersion: v1
 kind: Secret
 metadata:
   name: webhook-credentials
+  labels:
+    external-secrets.io/type: webhook #Needed to allow webhook to use this secret
 data:
   username: dGVzdA== # "test"
   password: dGVzdA== # "test"
@@ -105,7 +107,7 @@ spec:
     secret:
       name: test-secret
   data:
-    - conversionStrategy: 
+    - conversionStrategy:
       match:
         secretKey: testsecret
         remoteRef: