`stable/prometheus-redis-exporter` helm chart fail...
# general
i
stable/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?
g
You should be able to set
{serviceMonitor: {enabled: true}}
under the Chart values
i
@gorgeous-egg-16927 right, but
( .Capabilities.APIVersions.Has "<http://monitoring.coreos.com/v1|monitoring.coreos.com/v1>" )
will always return false as we’re using
helm template