Add --timeout option to Longhorn Helm upgrade tasks for improved deployment control

This commit is contained in:
Nikholas Pcenicni
2026-05-13 20:28:48 -04:00
parent 0acb5856b4
commit 07de0ec629
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
---
# Helm --wait default (5m) is often too short for first Longhorn install on several nodes
# (image pulls + manager/driver ordering). See ansible/roles/noble_metallb/defaults/main.yml.
noble_helm_longhorn_wait_timeout: 20m

View File

@@ -27,6 +27,8 @@
- "{{ noble_repo_root }}/clusters/noble/bootstrap/longhorn/values.yaml"
- --force-conflicts
- --wait
- --timeout
- "{{ noble_helm_longhorn_wait_timeout }}"
environment:
KUBECONFIG: "{{ noble_kubeconfig }}"
changed_when: true