mirror of
https://github.com/cozystack/cozystack.git
synced 2026-11-09 05:25:14 +09:00
Add final robustness improvements: **Helm template validation** 1. **certWaitTimeout range check**: Added validation that timeout is between 10 and 3600 seconds. Prevents invalid values like 0, negative numbers, or excessive timeouts that would waste resources. Complements runtime validation by failing fast at template render time. **Runtime error handling** 2. **Check apk add success**: Added explicit error handling for openssl installation. If apk fails (network issues, mirror unavailable, package missing), Job now fails immediately with clear error message instead of cryptic "openssl: command not found" later in execution. These changes improve user experience by providing early validation and clear error messages when configuration is incorrect or runtime dependencies fail. Signed-off-by: IvanHunters <xorokhotnikov@gmail.com>