mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/prometheus-operator] Allow adding additional volumes and volumeMounts (#22672)
Signed-off-by: Andres Alvarez <1671935+kir4h@users.noreply.github.com>
This commit is contained in:
@@ -12,7 +12,7 @@ sources:
|
||||
- https://github.com/coreos/kube-prometheus
|
||||
- https://github.com/coreos/prometheus-operator
|
||||
- https://coreos.com/operators/prometheus
|
||||
version: 8.13.12
|
||||
version: 8.13.13
|
||||
appVersion: 0.38.1
|
||||
tillerVersion: ">=2.12.0"
|
||||
home: https://github.com/coreos/prometheus-operator
|
||||
|
||||
@@ -326,6 +326,8 @@ The following tables list the configurable parameters of the prometheus-operator
|
||||
| `prometheus.prometheusSpec.storageSpec` | Storage spec to specify how storage shall be used. | `{}` |
|
||||
| `prometheus.prometheusSpec.thanos` | Thanos configuration allows configuring various aspects of a Prometheus server in a Thanos environment. This section is experimental, it may change significantly without deprecation notice in any release.This is experimental and may change significantly without backward compatibility in any release. See https://github.com/coreos/prometheus-operator/blob/master/Documentation/api.md#thanosspec | `{}` |
|
||||
| `prometheus.prometheusSpec.tolerations` | If specified, the pod's tolerations. | `[]` |
|
||||
| `prometheus.prometheusSpec.volumes` | Additional Volumes on the output StatefulSet definition. | `[]` |
|
||||
| `prometheus.prometheusSpec.volumeMounts` | Additional VolumeMounts on the output StatefulSet definition. | `[]` |
|
||||
| `prometheus.service.additionalPorts` | Additional Prometheus Service ports to add for NodePort service type | `[]` |
|
||||
| `prometheus.service.annotations` | Prometheus Service Annotations | `{}` |
|
||||
| `prometheus.service.clusterIP` | Prometheus service clusterIP IP | `""` |
|
||||
|
||||
@@ -239,3 +239,11 @@ spec:
|
||||
{{- if .Values.prometheus.prometheusSpec.enforcedNamespaceLabel }}
|
||||
enforcedNamespaceLabel: {{ .Values.prometheus.prometheusSpec.enforcedNamespaceLabel }}
|
||||
{{- end }}
|
||||
{{- if .Values.prometheus.prometheusSpec.volumes }}
|
||||
volumes:
|
||||
{{ toYaml .Values.prometheus.prometheusSpec.volumes | indent 4 }}
|
||||
{{- end }}
|
||||
{{- if .Values.prometheus.prometheusSpec.volumeMounts }}
|
||||
volumeMounts:
|
||||
{{ toYaml .Values.prometheus.prometheusSpec.volumeMounts | indent 4 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1778,6 +1778,11 @@ prometheus:
|
||||
# storage: 50Gi
|
||||
# selector: {}
|
||||
|
||||
# Additional volumes on the output StatefulSet definition.
|
||||
volumes: []
|
||||
# Additional VolumeMounts on the output StatefulSet definition.
|
||||
volumeMounts: []
|
||||
|
||||
## AdditionalScrapeConfigs allows specifying additional Prometheus scrape configurations. Scrape configurations
|
||||
## are appended to the configurations generated by the Prometheus Operator. Job configurations must have the form
|
||||
## as specified in the official Prometheus documentation:
|
||||
|
||||
Reference in New Issue
Block a user