You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add Role and RoleBinding templates for reading Kubernetes secrets.
Bump Helm chart version to 0.16.1.
Fix service account name resolution in _helpers.tpl.
Made-with: Cursor
| initContainers | object | `{}` | Arbitrary sidecar containers list for 1.29+ kubernetes |
85
-
| logFormat | string | `"logfmt"` | Set log format (logfmt if unset) |
86
-
| logLevel | string | `"info"` | Set log level (info if unset) |
87
-
| nameOverride | string | `""` | Provide a name in place of `sql-exporter` |
88
-
| podAnnotations | object | `{}` | Pod annotations |
92
+
| extraManifests | list | `[]` | Arbitrary manifests list |
93
+
| serviceAccount.create | bool | `true` | Specifies whether a Service Account should be created, creates "sql-exporter" service account if true, unless overriden. Otherwise, set to `default` if false, and custom service account name is not provided. Check all the available parameters. |
94
+
| serviceAccount.annotations | object | `{}` | Annotations to add to the Service Account |
95
+
| resources | object | `{}` | Resource limits and requests for the application controller pods |
89
96
| podLabels | object | `{}` | Pod labels |
97
+
| podAnnotations | object | `{}` | Pod annotations |
| resources | object | `{}` | Resource limits and requests for the application controller pods |
93
-
| service.annotations | object | `{}` | Service annotations |
94
-
| service.labels | object | `{}` | Service labels |
95
-
| service.type | string | `"ClusterIP"` | Service type |
96
-
| serviceAccount.annotations | object | `{}` | Annotations to add to the Service Account |
97
-
| serviceAccount.create | bool | `true` | Specifies whether a Service Account should be created, creates "sql-exporter" service account if true, unless overriden. Otherwise, set to `default` if false, and custom service account name is not provided. Check all the available parameters. |
99
+
| createConfig | bool | `true` | Set to true to create a config as a part of the helm chart |
100
+
| logLevel | string | `"info"` | Set log level (info if unset) |
101
+
| logFormat | string | `"logfmt"` | Set log format (logfmt if unset) |
98
102
| webConfig | object | `{"basicAuth":{"bcryptCost":12,"enabled":false,"initFromSecret":{"enabled":false,"image":"httpd:alpine","imagePullPolicy":"IfNotPresent","secretKey":"password","secretName":""},"username":"prometheus","users":{}},"enabled":false,"template":"","tls":{"certFile":"tls.crt","certKey":"tls.crt","keyFile":"tls.key","keyKey":"tls.key","secretName":""}}` | Enable and configure Prometheus web config file support web-config.yml is automatically placed at /etc/sql_exporter/web-config.yml |
103
+
| webConfig.template | string | `""` | Template for web-config content (Exporter Toolkit format). Set to empty string to use default template (defined in _helpers.tpl) Default: TLS 1.3 with AES-GCM cipher suites, uses cert from webConfig.tls.secretName You can override with your own YAML string here if needed |
| webConfig.basicAuth.initFromSecret.secretKey | string | `"password"` | Key in the secret that contains plaintext password |
104
119
| webConfig.basicAuth.initFromSecret.image | string | `"httpd:alpine"` | Image used for bcrypt hashing (httpd:alpine has htpasswd at /usr/local/apache2/bin/htpasswd) |
| webConfig.basicAuth.users | object | `{}` | Map of username: bcryptHash (when not using initFromSecret) |
110
-
| webConfig.template | string | `""` | Template for web-config content (Exporter Toolkit format). Set to empty string to use default template (defined in _helpers.tpl) Default: TLS 1.3 with AES-GCM cipher suites, uses cert from webConfig.tls.secretName You can override with your own YAML string here if needed |
@@ -133,13 +139,13 @@ See the [examples directory](../examples/) for complete configuration examples:
133
139
| Key | Type | Default | Description |
134
140
|-----|------|---------|-------------|
135
141
| config | object | `{"global":{"max_connections":3,"max_idle_connections":3,"min_interval":"0s","scrape_error_drop_interval":"0s","scrape_timeout":"10s","scrape_timeout_offset":"500ms","warmup_delay":"0s"}}` | SQL Exporter configuration, can be a dictionary, or a template yaml string. |
136
-
| config.global.max_connections | int | `3` | Number of open connections. |
137
-
| config.global.max_idle_connections | int | `3` | Number of idle connections. |
| config.global.scrape_error_drop_interval | string | `"0s"` | Interval between dropping scrape_errors_total metric: by default the metric is persistent. |
| config.global.scrape_timeout_offset | string | `"500ms"` | Scrape timeout offset. Must be strictly positive. |
144
+
| config.global.scrape_error_drop_interval | string | `"0s"` | Interval between dropping scrape_errors_total metric: by default the metric is persistent. |
0 commit comments