Align HelmRelease 'timeout' settings for workload clusters
Aligns the HelmRelease timeout configuration in sylva-units-operator for workload clusters with the settings used in sylva-core till version 1.5 as we were not using operator for the deployment before
pkg/helmrelease/helmrelease.go
Added function that checks if cluster is workload based on valuesFrom entry and then apply timeout settings
- Added
Install.Timeout: 5m- explicit timeout for Helm install operations - Added
Upgrade.Timeout: 5m- explicit timeout for Helm upgrade operations - Set
Timeout: 80m- overall timeout for delete-hook operations - Kept
Uninstall.Timeout: 25m(non-CAPM3) /80m(CAPM3) - infrastructure-dependent uninstall timeout
Also, added controller tests to check if timeout settings are applied correctly
closes #56 (closed)
Edited by Priya Goyal