Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sql-exporter
description: Database-agnostic SQL exporter for Prometheus
type: application
version: 0.17.7
version: 0.18.0
appVersion: 0.24.0
annotations:
artifacthub.io/signKey: |
Expand Down
4 changes: 3 additions & 1 deletion helm/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# sql-exporter

![Version: 0.17.7](https://img.shields.io/badge/Version-0.17.7-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.24.0](https://img.shields.io/badge/AppVersion-0.24.0-informational?style=flat-square)
![Version: 0.18.0](https://img.shields.io/badge/Version-0.18.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.24.0](https://img.shields.io/badge/AppVersion-0.24.0-informational?style=flat-square)

Database-agnostic SQL exporter for Prometheus

Expand Down Expand Up @@ -64,6 +64,7 @@ See the [examples directory](../examples/) for complete configuration examples:
| commonAnnotations | object | `{}` | Common annotations to add to all the deployed resources |
| commonLabels | object | `{}` | Common labels to add to all deployed resources |
| createConfig | bool | `true` | Set to true to create a config as a part of the helm chart |
| dnsConfig | object | `{}` | Pod DNS configuration (e.g. set ndots to reduce DNS lookup latency) |
| extraContainers | object | `{}` | Arbitrary sidecar containers list |
| extraManifests | list | `[]` | Arbitrary manifests list |
| fullnameOverride | string | `""` | String to fully override "sql-exporter.fullname" |
Expand All @@ -89,6 +90,7 @@ See the [examples directory](../examples/) for complete configuration examples:
| podLabels | object | `{}` | Pod labels |
| podSecurityContext | object | `{}` | Pod security context |
| reloadEnabled | bool | `false` | Enable reload collector data handler (endpoint /reload) |
| resizePolicy | list | `[]` | Container resize policy for in-place vertical scaling |
| resources | object | `{}` | Resource limits and requests for the application controller pods |
| service.annotations | object | `{}` | Service annotations |
| service.labels | object | `{}` | Service labels |
Expand Down
8 changes: 8 additions & 0 deletions helm/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,10 @@ spec:
protocol: TCP
resources:
{{- toYaml .Values.resources | nindent 12 }}
{{- with .Values.resizePolicy }}
resizePolicy:
{{- toYaml . | nindent 12 }}
{{- end }}
{{- with .Values.extraContainers }}
{{- toYaml . | nindent 8 }}
{{- end }}
Expand All @@ -255,3 +259,7 @@ spec:
tolerations:
{{- toYaml . | nindent 8 }}
{{- end }}
{{- with .Values.dnsConfig }}
dnsConfig:
{{- toYaml . | nindent 8 }}
{{- end }}
11 changes: 11 additions & 0 deletions helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,17 @@ resources: {}
# requests:
# cpu: 100m
# memory: 128Mi
# -- Container resize policy for in-place vertical scaling
resizePolicy: []
# - resourceName: cpu
# restartPolicy: NotRequired
# - resourceName: memory
# restartPolicy: RestartContainer
# -- Pod DNS configuration (e.g. set ndots to reduce DNS lookup latency)
dnsConfig: {}
# options:
# - name: ndots
# value: "2"
# -- Pod labels
podLabels: {}
# -- Pod annotations
Expand Down
Loading