Skip to content

Decide what to do with the cern_chart_values reference for the ${MONITORING_ENABLED} value once we are adding the monit chart support

For example:

ingress-nginx:
  controller:
    metrics:
      enabled: ${MONITORING_ENABLED}
      serviceMonitor:
        enabled: ${MONITORING_ENABLED}

We have a a few components that rely on this value (that comes from the monitoring_enabled label) to decide if service monitors needs to be deployed: ingress-nginx, cluster-autoscaler, cilium, kubernetes-dashboard

The monit chart installation can be triggered by providing a few extra values in cern_chart_user_values.yaml. Now we would need to find a way to decide whether the monitoring components should be installed or not, without having this label to rely on.