incalculable-diamond-5088
09/20/2019, 5:50 PMstable/prometheus-redis-exporter
helm chart fails to install ServiceMonitor
. Probably because of the following line:
{{- if and ( .Capabilities.APIVersions.Has "<http://monitoring.coreos.com/v1|monitoring.coreos.com/v1>" ) ( .Values.serviceMonitor.enabled ) }}
in https://github.com/helm/charts/blob/master/stable/prometheus-redis-exporter/templates/servicemonitor.yaml
Is there a workaruond?gorgeous-egg-16927
09/20/2019, 6:57 PM{serviceMonitor: {enabled: true}}
under the Chart valuesincalculable-diamond-5088
09/21/2019, 6:22 AM( .Capabilities.APIVersions.Has "<http://monitoring.coreos.com/v1|monitoring.coreos.com/v1>" )
will always return false as we’re using helm template