From 3a7af7c6c0de552f6fa4c7450f5a50cbc5859324 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Fri, 17 May 2024 15:20:32 +0300 Subject: [PATCH] operator: update runtime config patching. Update to use updated Values.nri.runtime.patchConfig instead of Values.nri.patchRuntimeConfig. Signed-off-by: Krisztian Litkey --- deployment/operator/README.md | 8 +++++++- .../samples/config.nri_v1alpha1_nriplugindeployment.yaml | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/deployment/operator/README.md b/deployment/operator/README.md index 432b45d93..3a3b2e748 100644 --- a/deployment/operator/README.md +++ b/deployment/operator/README.md @@ -39,7 +39,13 @@ spec: state: present values: nri: - patchRuntimeConfig: true + plugin: + index: 90 + runtime: + patchConfig: true +# config: +# pluginRegistrationTimeout: 5s +# pluginRequestTimeout: 2s tolerations: - key: "node-role.kubernetes.io/control-plane" operator: "Exists" diff --git a/deployment/operator/config/samples/config.nri_v1alpha1_nriplugindeployment.yaml b/deployment/operator/config/samples/config.nri_v1alpha1_nriplugindeployment.yaml index fc60a1c6a..6889c4326 100644 --- a/deployment/operator/config/samples/config.nri_v1alpha1_nriplugindeployment.yaml +++ b/deployment/operator/config/samples/config.nri_v1alpha1_nriplugindeployment.yaml @@ -15,5 +15,5 @@ spec: state: present values: nri: - patchRuntimeConfig: true - + runtime: + patchConfig: true