diff --git a/charts/monitoring/Chart.yaml b/charts/monitoring/Chart.yaml index e008c99..cb1ca7e 100644 --- a/charts/monitoring/Chart.yaml +++ b/charts/monitoring/Chart.yaml @@ -3,7 +3,7 @@ appVersion: 1.16.0 description: A Helm chart for Monitoring name: monitoring type: application -version: 0.1.12 +version: 0.1.13 dependencies: - name: prometheus-msteams condition: prometheus-msteams.enabled diff --git a/charts/monitoring/templates/kubermetes-pods-metrics dashboard.yaml b/charts/monitoring/templates/kubernetes-pods-metrics-dashboard.yaml similarity index 100% rename from charts/monitoring/templates/kubermetes-pods-metrics dashboard.yaml rename to charts/monitoring/templates/kubernetes-pods-metrics-dashboard.yaml diff --git a/charts/monitoring/templates/vault-servicemonitor.yaml b/charts/monitoring/templates/vault-servicemonitor.yaml new file mode 100644 index 0000000..25986e6 --- /dev/null +++ b/charts/monitoring/templates/vault-servicemonitor.yaml @@ -0,0 +1,28 @@ +apiVersion: monitoring.coreos.com/v1 +kind: ServiceMonitor +metadata: + labels: + app.kubernetes.io/instance: vault + app.kubernetes.io/name: vault + release: prometheus + name: {{ include "monitoring.fullname" . }}-vault +spec: + endpoints: + - interval: 30s + params: + format: + - prometheus + path: /v1/sys/metrics + port: http + scheme: http + scrapeTimeout: 10s + tlsConfig: + insecureSkipVerify: true + namespaceSelector: + matchNames: + - capten + selector: + matchLabels: + app.kubernetes.io/instance: vault + app.kubernetes.io/name: vault + vault-internal: "true" \ No newline at end of file