Skip to content

Commit

Permalink
[Cherry-Pick] increase cert-manager wait time for kubeflow-issuer to …
Browse files Browse the repository at this point in the history
…be install (#632)

Cherry pick this commit from main to temporarily solve:
```
: Internal error occurred: failed calling webhook "webhook.cert-manager.io": failed to call webhook: Post "[https://cert-manager-webhook.cert-manager.svc:443/mutate?timeout=10s](https://cert-manager-webhook.cert-manager.svc/mutate?timeout=10s)": context deadline exceeded
```
  • Loading branch information
jsitu777 committed Mar 21, 2023
1 parent ca10eb4 commit bb0fa37
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/e2e/utils/kubeflow_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -132,12 +132,12 @@ def install_component(
else:
apply_kustomize(kustomize_path)
# TO DO: Debug and add additional validation step for cert-manager resources in future for kubeflow-issuer to be installed
# temporary solution to wait for 30s
# temporary solution to wait for 60s
if component_name == "cert-manager":
print(
"wait for 30s for cert-manager-webhook resource to be ready..."
"wait for 60s for cert-manager-webhook resource to be ready..."
)
time.sleep(30)
time.sleep(60)

if "validations" in installation_config[component_name]:
validate_component_installation(installation_config, component_name)
Expand Down

0 comments on commit bb0fa37

Please sign in to comment.