When deploying the WatchTower alert-insights capability in a Kubernetes environment the alert-insights-api pod fails to start. Error messages issued:
ERROR org.springframework.boot.SpringApplication - Application run failedjava.lang.IllegalArgumentException: apiml.service.ssl.keyStore property not configuredERROR com.broadcom.restapi.sdk.lifecycle.LifeCycleLogger - BRSA112E Alert Insights server startup failed
WatchTower 1.3
The alert-insights-api service requires the environment variable, apiml_service_ssl_keyStore, to be defined in its deployment manifest.
This property tells the application where to locate the SSL keystore file required for secure communication (APIML integration). Failure to define this property in the container's environment causes the Spring Boot context initialization to fail.
Manually add apiml_service_ssl_keyStore to the alert-insights-api deployment YAML as below:
'alert-insights-api' yaml.- name: apiml_service_ssl_keyStore
value: /etc/opt/brcm/AlertInsights/certs/key-store
kubectl apply -f alert-insights-api.yaml
'BRSA110I Alert Insights server startup initiated'.