diff --git a/charts/kubezero/Chart.yaml b/charts/kubezero/Chart.yaml index 285c51dd..5c549c68 100644 --- a/charts/kubezero/Chart.yaml +++ b/charts/kubezero/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 name: kubezero description: KubeZero ArgoCD Application - Root App of Apps chart of KubeZero type: application -version: 0.3.11 +version: 0.4.0 home: https://kubezero.com icon: https://cdn.zero-downtime.net/assets/kubezero/logo-small-64.png keywords: diff --git a/charts/kubezero/README.md b/charts/kubezero/README.md index 7fe23c66..eaca185e 100644 --- a/charts/kubezero/README.md +++ b/charts/kubezero/README.md @@ -27,4 +27,5 @@ Source code can be found [here](https://kubezero.com) | istio.enabled | bool | `false` | | | kiam.enabled | bool | `false` | | | local-volume-provisioner.enabled | bool | `false` | | +| metrics.enabled | bool | `false` | | | platform | string | `"aws"` | | diff --git a/charts/kubezero/templates/metrics.yaml b/charts/kubezero/templates/metrics.yaml new file mode 100644 index 00000000..139a6098 --- /dev/null +++ b/charts/kubezero/templates/metrics.yaml @@ -0,0 +1,6 @@ +{{- if index .Values "metrics" "enabled" }} +{{ template "kubezero-app.app" dict "root" . "name" "metrics" "type" "helm" }} + syncPolicy: + automated: + prune: true +{{- end }} diff --git a/charts/kubezero/values.yaml b/charts/kubezero/values.yaml index dba77824..2c486f11 100644 --- a/charts/kubezero/values.yaml +++ b/charts/kubezero/values.yaml @@ -35,3 +35,6 @@ aws-efs-csi-driver: istio: enabled: false + +metrics: + enabled: false