diff --git a/charts/kubezero-kiam/README.md.gotmpl b/charts/kubezero-kiam/README.md.gotmpl index 6382e4e9..175c341d 100644 --- a/charts/kubezero-kiam/README.md.gotmpl +++ b/charts/kubezero-kiam/README.md.gotmpl @@ -35,5 +35,5 @@ By default all access to the meta-data service is blocked, expect for: ## Resources - https://github.com/uswitch/kiam - https://www.bluematador.com/blog/iam-access-in-kubernetes-kube2iam-vs-kiam - +- [Grafana Dashboard](https://raw.githubusercontent.com/uswitch/kiam/master/docs/dashboard-prom.json) ![Kiam overview](./kiam_architecure.png) diff --git a/charts/kubezero-kiam/values.yaml b/charts/kubezero-kiam/values.yaml index d8d4ac6d..ad05e576 100644 --- a/charts/kubezero-kiam/values.yaml +++ b/charts/kubezero-kiam/values.yaml @@ -26,6 +26,7 @@ kiam: prometheus: servicemonitor: enabled: false + interval: 30s labels: release: metrics log: @@ -53,6 +54,7 @@ kiam: prometheus: servicemonitor: enabled: false + interval: 30s labels: release: metrics log: diff --git a/deploy/templates/values.yaml b/deploy/templates/values.yaml index 86b47638..8fa5a96f 100644 --- a/deploy/templates/values.yaml +++ b/deploy/templates/values.yaml @@ -59,6 +59,10 @@ kubezero: prometheus: servicemonitor: enabled: {{ .Values.metrics.enabled }} + agent: + prometheus: + servicemonitor: + enabled: {{ .Values.metrics.enabled }} {{- end }} {{- if not .Values.kiam.not_ready }}