Skip to content

Commit 4ea5e44

Browse files
committed
feat: allow additional (service|pod)monitors
1 parent bd40b10 commit 4ea5e44

File tree

3 files changed

+208
-196
lines changed

3 files changed

+208
-196
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- It's now possible to use the ``kube_prometheus_stack_additional_service_monitors``
4+
and the ``kube_prometheus_stack_additional_pod_monitors`` variables to add new
5+
monitors for the ``kube-prometheus-stack``.

roles/kube_prometheus_stack/defaults/main.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ kube_prometheus_stack_helm_release_namespace: monitoring
2020
kube_prometheus_stack_helm_kubeconfig: "{{ kubeconfig_path | default('/etc/kubernetes/admin.conf') }}"
2121
kube_prometheus_stack_helm_values: {}
2222

23+
kube_prometheus_stack_additional_service_monitors: []
24+
kube_prometheus_stack_additional_pod_monitors: []
25+
2326
kube_prometheus_stack_node_exporter_tls_template: "{{ _kube_prometheus_stack_tls_template }}"
2427
kube_prometheus_stack_node_exporter_config:
2528
tls_server_config:

0 commit comments

Comments
 (0)