From fa094baa7722b9b7849c5f354a66b672c6fba53f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Sztern?= Date: Fri, 13 Dec 2024 22:35:16 +0100 Subject: [PATCH] fix: use new secretInjectionConfigs keyMappings field in resource docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kévin Sztern --- resources-docs/disposablerequest_docs.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/resources-docs/disposablerequest_docs.md b/resources-docs/disposablerequest_docs.md index c98efa4..2a73b38 100644 --- a/resources-docs/disposablerequest_docs.md +++ b/resources-docs/disposablerequest_docs.md @@ -32,13 +32,11 @@ Here is an example `DisposableRequest` resource definition: - secretRef: name: response-secret namespace: default - secretKey: extracted-data - responsePath: .body.reminder - - secretRef: - name: response-secret - namespace: default - secretKey: extracted-data-headers - responsePath: .headers.Try[0] + keyMappings: + - secretKey: extracted-data + responseJQ: .body.reminder + - secretKey: extracted-data-headers + responseJQ: .headers.Try[0] ``` - deletionPolicy: specifies what will happen to the underlying external when this managed resource is deleted. in this case it should be set to "Orphan" the external resource.