Hotfix: Conditional Creation for Alertmanager and Pushgateway Ingresses
Description:
This patch resolves an issue where the ingress resources for Alertmanager and Pushgateway were being created unconditionally, regardless of their enabled status. After the recent release candidate (rc-5), these ingress resources would always be generated when the metrics feature was enabled, even if ingress.enabled
was set to false
in the values configuration.
Changes:
- Added an extra conditional check for
ingress.enabled
in bothalertmanager/ingress.yaml
andpushgateway/ingress.yaml
templates. - This ensures ingress resources are only created when explicitly enabled.
Impact:
- Fixes unintended creation of Alertmanager and Pushgateway ingresses, aligning resource behavior with configuration settings.
Edited by Guillermo Facundo Colunga