mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
Added support for existing rabbitmq password secret (#14958)
Signed-off-by: Jonny Ford <jonnyford1@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
965133033b
commit
acf9be96d3
@@ -1,7 +1,7 @@
|
||||
apiVersion: v1
|
||||
description: Rabbitmq metrics exporter for prometheus
|
||||
name: prometheus-rabbitmq-exporter
|
||||
version: 0.5.0
|
||||
version: 0.5.1
|
||||
appVersion: v0.29.0
|
||||
home: https://github.com/kbudde/rabbitmq_exporter
|
||||
sources:
|
||||
|
||||
@@ -54,6 +54,7 @@ The following table lists the configurable parameters and their default values.
|
||||
| `rabbitmq.url` | rabbitmq management url | `http://myrabbit:15672` |
|
||||
| `rabbitmq.user` | rabbitmq user login | `guest` |
|
||||
| `rabbitmq.password` | rabbitmq password login | `guest` |
|
||||
| `rabbitmq.existingPasswordSecret` | existing secret name containing password key | `~` |
|
||||
| `rabbitmq.capabilities` | comma-separated list of capabilities supported by the RabbitMQ server | `bert,no_sort` |
|
||||
| `rabbitmq.include_queues`| regex queue filter. just matching names are exported | `.*` |
|
||||
| `rabbitmq.skip_queues` | regex, matching queue names are not exported | `^$` |
|
||||
@@ -65,10 +66,10 @@ The following table lists the configurable parameters and their default values.
|
||||
| `rabbitmq.timeout` | timeout in seconds for retrieving data from management plugin | `30` |
|
||||
| `rabbitmq.max_queues` | max number of queues before we drop metrics (disabled if set to 0) | `0` |
|
||||
| `annotations` | pod annotations for easier discovery | {} |
|
||||
| `prometheus.monitor.enabled` | Set this to `true` to create ServiceMonitor for Prometheus operator | `false` |
|
||||
| `prometheus.monitor.additionalLabels` | Additional labels that can be used so ServiceMonitor will be discovered by Prometheus | {} |
|
||||
| `prometheus.monitor.interval` | Interval at which Prometheus Operator scrapes exporter | `15s` |
|
||||
| `prometheus.monitor.namespace` | Selector to select which namespaces the Endpoints objects are discovered from. | [] |
|
||||
| `prometheus.monitor.enabled` | Set this to `true` to create ServiceMonitor for Prometheus operator | `false` |
|
||||
| `prometheus.monitor.additionalLabels` | Additional labels that can be used so ServiceMonitor will be discovered by Prometheus | {} |
|
||||
| `prometheus.monitor.interval` | Interval at which Prometheus Operator scrapes exporter | `15s` |
|
||||
| `prometheus.monitor.namespace` | Selector to select which namespaces the Endpoints objects are discovered from. | [] |
|
||||
|
||||
For more information please refer to the [rabbitmq_exporter](https://github.com/kbudde/rabbitmq_exporter) documentation.
|
||||
|
||||
|
||||
@@ -30,8 +30,16 @@ spec:
|
||||
value: "{{ .Values.rabbitmq.url }}"
|
||||
- name: RABBIT_USER
|
||||
value: "{{ .Values.rabbitmq.user }}"
|
||||
{{- if .Values.rabbitmq.existingPasswordSecret }}
|
||||
- name: RABBIT_PASSWORD
|
||||
valueFrom:
|
||||
secretKeyRef:
|
||||
name: "{{ .Values.rabbitmq.existingPasswordSecret }}"
|
||||
key: password
|
||||
{{- else }}
|
||||
- name: RABBIT_PASSWORD
|
||||
value: "{{ .Values.rabbitmq.password }}"
|
||||
{{- end }}
|
||||
- name: PUBLISH_PORT
|
||||
value: "{{ .Values.service.internalPort }}"
|
||||
- name: LOG_LEVEL
|
||||
|
||||
@@ -33,6 +33,8 @@ rabbitmq:
|
||||
url: http://myrabbit:15672
|
||||
user: guest
|
||||
password: guest
|
||||
# If existingPasswordSecret is set then password is ignored
|
||||
existingPasswordSecret: ~
|
||||
capabilities: bert,no_sort
|
||||
include_queues: ".*"
|
||||
include_vhost: ".*"
|
||||
|
||||
Reference in New Issue
Block a user