From eba75ada60ef31fc7799a68e102fa4c08c26355a Mon Sep 17 00:00:00 2001 From: Carlo Lobrano Date: Mon, 8 Jan 2024 16:33:49 +0100 Subject: [PATCH] Update alm examples with optional retry parameters Signed-off-by: Carlo Lobrano --- .../fence-agents-remediation.clusterserviceversion.yaml | 5 ++++- ...e-agents-remediation_v1alpha1_fenceagentsremediation.yaml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/bundle/manifests/fence-agents-remediation.clusterserviceversion.yaml b/bundle/manifests/fence-agents-remediation.clusterserviceversion.yaml index fd8273e9..2de53958 100644 --- a/bundle/manifests/fence-agents-remediation.clusterserviceversion.yaml +++ b/bundle/manifests/fence-agents-remediation.clusterserviceversion.yaml @@ -22,13 +22,16 @@ metadata: "worker-2": "6235" } }, + "retrycount": 5, + "retryinterval": "5s", "sharedparameters": { "--action": "reboot", "--ip": "192.168.111.1", "--lanplus": "", "--password": "password", "--username": "admin" - } + }, + "timeout": "60s" } }, { diff --git a/config/samples/fence-agents-remediation_v1alpha1_fenceagentsremediation.yaml b/config/samples/fence-agents-remediation_v1alpha1_fenceagentsremediation.yaml index 47807976..84f021fa 100644 --- a/config/samples/fence-agents-remediation_v1alpha1_fenceagentsremediation.yaml +++ b/config/samples/fence-agents-remediation_v1alpha1_fenceagentsremediation.yaml @@ -4,6 +4,9 @@ metadata: name: worker-1 spec: agent: fence_ipmilan + retrycount: 5 + retryinterval: "5s" + timeout: "60s" sharedparameters: --username: "admin" --password: "password" @@ -17,4 +20,4 @@ spec: master-2: "6232" worker-0: "6233" worker-1: "6234" - worker-2: "6235" \ No newline at end of file + worker-2: "6235"