KubeZero/charts/kubezero/templates/metrics.yaml

12 lines
269 B
YAML
Raw Normal View History

2020-07-30 17:18:32 +00:00
{{- if index .Values "metrics" "enabled" }}
2020-07-30 17:26:11 +00:00
{{ template "kubezero-app.app" dict "root" . "name" "metrics" "type" "helm" "namespace" "monitoring"}}
2020-07-30 17:18:32 +00:00
syncPolicy:
automated:
prune: true
2020-07-30 17:26:11 +00:00
---
apiVersion: v1
kind: Namespace
metadata:
name: monitoring
2020-07-30 17:18:32 +00:00
{{- end }}