Skip to content

Commit f49b7a7

Browse files
SozinovDSOZINOV Dmitry S
andauthored
feat(helm): add extraManifests field (#798)
* Create extramanifests.yaml implement ability to add generic manifests to release * Update values.yaml * Make new comment in style of existing ones * Bump version, generate docs * Bump version correctly * Bump minor chart version --------- Co-authored-by: SOZINOV Dmitry S <[email protected]>
1 parent 17c1793 commit f49b7a7

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

helm/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: sql-exporter
33
description: Database-agnostic SQL exporter for Prometheus
44
type: application
5-
version: 0.12.5
5+
version: 0.13.0
66
appVersion: 0.18.1
77
keywords:
88
- exporter

helm/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ as an example.
7272
| ingress.tls.key | string | `""` | Ingress tls.key, required if you don't have secret name. |
7373
| extraContainers | object | `{}` | Arbitrary sidecar containers list |
7474
| initContainers | object | `{}` | Arbitrary sidecar containers list for 1.29+ kubernetes |
75+
| extraManifests | list | `[]` | Arbitrary manifests list |
7576
| 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. |
7677
| serviceAccount.annotations | object | `{}` | Annotations to add to the Service Account |
7778
| livenessProbe.initialDelaySeconds | int | `5` | |

helm/templates/extramanifests.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{{ range .Values.extraManifests }}
2+
---
3+
{{ tpl (toYaml .) $ }}
4+
{{ end }}

helm/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,9 @@ extraContainers: {}
5959
# -- Arbitrary sidecar containers list for 1.29+ kubernetes
6060
initContainers: {}
6161

62+
# -- Arbitrary manifests list
63+
extraManifests: []
64+
6265
serviceAccount:
6366
# -- Specifies whether a Service Account should be created, creates "sql-exporter" service account if true, unless
6467
# overriden. Otherwise, set to `default` if false, and custom service account name is not provided. Check all the

0 commit comments

Comments
 (0)