From c4223ccf2a59ac479868864259b1032d0a234813 Mon Sep 17 00:00:00 2001 From: whitfiea Date: Mon, 9 Dec 2024 22:27:31 +0000 Subject: [PATCH] update backofflimit --- .../templates/04-postsync-manage-sanity.yaml | 2 +- .../templates/04-postsync-maximoit-sanity.yaml | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-manage-sanity.yaml b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-manage-sanity.yaml index 16bdb94f..40a7e2ab 100644 --- a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-manage-sanity.yaml +++ b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-manage-sanity.yaml @@ -1108,6 +1108,6 @@ spec: path: tests.py defaultMode: 420 optional: false - backoffLimit: 4 + backoffLimit: 10 {{- end }} diff --git a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml index 22c8a18e..05737257 100644 --- a/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml +++ b/instance-applications/510-550-ibm-mas-suite-app-config/templates/04-postsync-maximoit-sanity.yaml @@ -79,11 +79,16 @@ rules: - list apiGroups: - "apps.mas.ibm.com" + - "route.openshift.io" + - "" resources: - manageworkspace - manageapp - manageworkspaces - manageapps + - routes + - secrets + - verbs: - get - list @@ -306,7 +311,7 @@ data: api_key = get_api_key(user_id, client_cert, session, manage_host_ca_filepath) logger.info(f"GENERATED MXAPIKEY for {user_id} is: " + api_key) user_api_key = api_key - yeild api_key + yield api_key else: logger.info("Failed to Create APIKEY: " + user_id) logger.info(resp.status_code) @@ -2048,7 +2053,7 @@ spec: path: tests.py defaultMode: 420 optional: false - backoffLimit: 4 + backoffLimit: 10 {{- end }} {{- end }}