[bitnami/rabbitmq] Add possibility to specify params for ServiceMonitor (#16896)

* [bitnami/rabbitmq] Add possibility to specify `params` for ServiceMonitor

Signed-off-by: sturman <4456572+sturman@users.noreply.github.com>

* Update README.md with readme-generator-for-helm

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>

* Update bitnami/rabbitmq/Chart.yaml

Co-authored-by: Juan José Martos <jotamartos@gmail.com>
Signed-off-by: Roman <4456572+sturman@users.noreply.github.com>

---------

Signed-off-by: sturman <4456572+sturman@users.noreply.github.com>
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
Signed-off-by: Roman <4456572+sturman@users.noreply.github.com>
Signed-off-by: Juan José Martos <jotamartos@gmail.com>
Co-authored-by: Bitnami Containers <bitnami-bot@vmware.com>
Co-authored-by: Juan José Martos <jotamartos@gmail.com>
This commit is contained in:
Roman
2023-05-31 15:38:05 +03:00
committed by GitHub
parent 94da8bb6df
commit a5dba57522
4 changed files with 8 additions and 1 deletions

View File

@@ -22,4 +22,4 @@ maintainers:
name: rabbitmq
sources:
- https://github.com/bitnami/charts/tree/main/bitnami/rabbitmq
version: 11.15.7
version: 11.16.0

View File

@@ -339,6 +339,7 @@ The command removes all the Kubernetes components associated with the chart and
| `metrics.serviceMonitor.targetLabels` | Used to keep given service's labels in target | `{}` |
| `metrics.serviceMonitor.podTargetLabels` | Used to keep given pod's labels in target | `{}` |
| `metrics.serviceMonitor.path` | Define the path used by ServiceMonitor to scrap metrics | `""` |
| `metrics.serviceMonitor.params` | Define the HTTP URL parameters used by ServiceMonitor | `{}` |
| `metrics.serviceMonitor.selector` | ServiceMonitor selector labels | `{}` |
| `metrics.serviceMonitor.labels` | Extra labels for the ServiceMonitor | `{}` |
| `metrics.serviceMonitor.annotations` | Extra annotations for the ServiceMonitor | `{}` |

View File

@@ -25,6 +25,9 @@ spec:
{{- if .Values.metrics.serviceMonitor.path }}
path: {{ .Values.metrics.serviceMonitor.path }}
{{- end }}
{{- if .Values.metrics.serviceMonitor.params }}
params: {{ toYaml .Values.metrics.serviceMonitor.params | nindent 8 }}
{{- end }}
{{- if .Values.metrics.serviceMonitor.interval }}
interval: {{ .Values.metrics.serviceMonitor.interval }}
{{- end }}

View File

@@ -1272,6 +1272,9 @@ metrics:
## Could be /metrics for aggregated metrics or /metrics/per-object for more details
##
path: ""
## @param metrics.serviceMonitor.params Define the HTTP URL parameters used by ServiceMonitor
##
params: {}
## @param metrics.serviceMonitor.selector ServiceMonitor selector labels
## ref: https://github.com/bitnami/charts/tree/main/bitnami/prometheus-operator#prometheus-configuration
##