012aaadacc
A new release is added to the cluster: Name: metrics-server Namespace: kube-system Version: 3.11.0 Chart: metrics-server/metrics-server
23 lines
817 B
Smarty
23 lines
817 B
Smarty
{{/* Default Prometheus is enabled if its enabled and there are no config overrides set */}}
|
|
{{ define "default-prometheus" }}
|
|
{{- and
|
|
(not .Values.meshConfig.defaultProviders)
|
|
.Values.telemetry.enabled .Values.telemetry.v2.enabled .Values.telemetry.v2.prometheus.enabled
|
|
}}
|
|
{{- end }}
|
|
|
|
{{/* SD has metrics and logging split. Default metrics are enabled if SD is enabled */}}
|
|
{{ define "default-sd-metrics" }}
|
|
{{- and
|
|
(not .Values.meshConfig.defaultProviders)
|
|
.Values.telemetry.enabled .Values.telemetry.v2.enabled .Values.telemetry.v2.stackdriver.enabled
|
|
}}
|
|
{{- end }}
|
|
|
|
{{/* SD has metrics and logging split. */}}
|
|
{{ define "default-sd-logs" }}
|
|
{{- and
|
|
(not .Values.meshConfig.defaultProviders)
|
|
.Values.telemetry.enabled .Values.telemetry.v2.enabled .Values.telemetry.v2.stackdriver.enabled
|
|
}}
|
|
{{- end }} |