KubeZero/charts/kubezero/templates/metrics.yaml

39 lines
871 B
YAML
Raw Normal View History

2020-11-26 13:21:10 +00:00
{{- define "metrics-values" }}
{{- with .Values.metrics.istio }}
istio:
{{- toYaml . | nindent 2 }}
2020-11-26 13:21:10 +00:00
{{- end }}
{{- if index .Values "metrics" "kube-prometheus-stack" }}
kube-prometheus-stack:
{{- with index .Values "metrics" "kube-prometheus-stack" }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- end }}
{{- if index .Values "metrics" "prometheus-adapter" }}
prometheus-adapter:
{{- with index .Values "metrics" "prometheus-adapter" }}
{{- toYaml . | nindent 2 }}
{{- end }}
{{- 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" . }}