diff --git a/charts/prometheus-redis-exporter/Chart.yaml b/charts/prometheus-redis-exporter/Chart.yaml index be6927dd2909..f86b441c1f9c 100644 --- a/charts/prometheus-redis-exporter/Chart.yaml +++ b/charts/prometheus-redis-exporter/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v2 appVersion: v1.61.0 description: Prometheus exporter for Redis metrics name: prometheus-redis-exporter -version: 6.3.0 +version: 6.4.0 home: https://github.com/oliver006/redis_exporter sources: - https://github.com/oliver006/redis_exporter diff --git a/charts/prometheus-redis-exporter/ci/extramanifests-values.yaml b/charts/prometheus-redis-exporter/ci/extramanifests-values.yaml new file mode 100644 index 000000000000..a7ed38c96310 --- /dev/null +++ b/charts/prometheus-redis-exporter/ci/extramanifests-values.yaml @@ -0,0 +1,13 @@ +extraManifests: +- apiVersion: v1 + kind: ConfigMap + metadata: + name: '{{ include "prometheus-redis-exporter.fullname" . }}-extra-cm1' + data: + extra-data: "value1" +- apiVersion: v1 + kind: Secret + metadata: + name: '{{ include "prometheus-redis-exporter.fullname" . }}-extra-secret1' + stringData: + secret: "value" diff --git a/charts/prometheus-redis-exporter/templates/extra-manifests.yaml b/charts/prometheus-redis-exporter/templates/extra-manifests.yaml new file mode 100644 index 000000000000..567f7bf32971 --- /dev/null +++ b/charts/prometheus-redis-exporter/templates/extra-manifests.yaml @@ -0,0 +1,4 @@ +{{ range .Values.extraManifests }} +--- +{{ tpl (toYaml .) $ }} +{{ end }} diff --git a/charts/prometheus-redis-exporter/values.yaml b/charts/prometheus-redis-exporter/values.yaml index d113dcc15ad9..0a03f635d202 100644 --- a/charts/prometheus-redis-exporter/values.yaml +++ b/charts/prometheus-redis-exporter/values.yaml @@ -50,6 +50,16 @@ tolerations: [] affinity: {} +## Extra manifests to deploy as an array +extraManifests: [] + # - apiVersion: v1 + # kind: ConfigMap + # metadata: + # labels: + # name: redis-exporter-extra + # data: + # extra-data: "value" + # If serviceMonitor.multipleTarget is enabled, this configuration is actually not used redisAddress: redis://myredis:6379