Move metrics to monitoring NS
This commit is contained in:
parent
676273f7e2
commit
987ad6aef0
@ -1,6 +1,11 @@
|
||||
{{- if index .Values "metrics" "enabled" }}
|
||||
{{ template "kubezero-app.app" dict "root" . "name" "metrics" "type" "helm" }}
|
||||
{{ template "kubezero-app.app" dict "root" . "name" "metrics" "type" "helm" "namespace" "monitoring"}}
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: monitoring
|
||||
{{- end }}
|
||||
|
@ -85,6 +85,8 @@ kubezero:
|
||||
{{- toYaml .Values.istio.ingress | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
metrics:
|
||||
enabled: {{ .Values.metrics.enabled }}
|
||||
{{- end }}
|
||||
|
||||
argo-cd:
|
||||
|
@ -25,6 +25,10 @@ kiam:
|
||||
istio:
|
||||
enabled: false
|
||||
|
||||
metrics:
|
||||
enabled: false
|
||||
|
||||
# Deprecated once metrics goes live
|
||||
prometheus:
|
||||
enabled: false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user