2020-11-26 13:21:10 +00:00
|
|
|
{{- define "metrics-values" }}
|
|
|
|
|
2021-09-28 14:12:23 +00:00
|
|
|
{{- with .Values.metrics.additionalRuleLabels }}
|
|
|
|
additionalRuleLabels:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
2020-12-02 11:53:19 +00:00
|
|
|
{{- with .Values.metrics.istio }}
|
|
|
|
istio:
|
2021-05-05 11:11:16 +00:00
|
|
|
{{- toYaml . | nindent 2 }}
|
2020-11-26 13:21:10 +00:00
|
|
|
{{- end }}
|
2021-07-21 13:15:47 +00:00
|
|
|
{{- with index .Values "metrics" "kube-prometheus-stack" }}
|
2020-11-26 13:21:10 +00:00
|
|
|
kube-prometheus-stack:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
|
|
|
{{- end }}
|
2021-07-21 13:15:47 +00:00
|
|
|
{{- with index .Values "metrics" "prometheus-adapter" }}
|
2021-01-21 12:31:06 +00:00
|
|
|
prometheus-adapter:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
2021-07-21 13:15:47 +00:00
|
|
|
{{- end }}
|
|
|
|
{{- with index .Values "metrics" "prometheus-pushgateway" }}
|
|
|
|
prometheus-pushgateway:
|
|
|
|
{{- toYaml . | nindent 2 }}
|
2021-01-21 12:31:06 +00:00
|
|
|
{{- end }}
|
2020-11-26 13:21:10 +00:00
|
|
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
|
|
|
|
{{- define "metrics-argo" }}
|
2020-11-24 15:29:38 +00:00
|
|
|
|
|
|
|
ignoreDifferences:
|
|
|
|
- group: admissionregistration.k8s.io
|
|
|
|
kind: ValidatingWebhookConfiguration
|
|
|
|
jsonPointers:
|
|
|
|
- /webhooks/0/failurePolicy
|
|
|
|
- group: admissionregistration.k8s.io
|
|
|
|
kind: MutatingWebhookConfiguration
|
|
|
|
jsonPointers:
|
|
|
|
- /webhooks/0/failurePolicy
|
|
|
|
|
2020-07-30 17:18:32 +00:00
|
|
|
{{- end }}
|
2020-11-26 13:21:10 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{ include "kubezero-app.app" . }}
|