-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[prometheus-postgres-exporter] Introduce extraManifests value (#4765)
* Introduce extraManifests value Signed-off-by: Alexis Sellier <[email protected]> * Increase minor version Signed-off-by: Alexis Sellier <[email protected]> * add ci values for testing purpose Signed-off-by: Alexis Sellier <[email protected]> * fix naming Signed-off-by: Alexis Sellier <[email protected]> * Change k8s objects use for testing Signed-off-by: Alexis Sellier <[email protected]> * Add CI test case with default values Signed-off-by: zeritti <[email protected]> --------- Signed-off-by: Alexis Sellier <[email protected]> Signed-off-by: zeritti <[email protected]> Co-authored-by: zeritti <[email protected]>
- Loading branch information
1 parent
5657a6c
commit 34a6212
Showing
5 changed files
with
29 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
# Default chart values |
13 changes: 13 additions & 0 deletions
13
charts/prometheus-postgres-exporter/ci/extramanifests-values.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
extraManifests: | ||
- apiVersion: v1 | ||
kind: ConfigMap | ||
metadata: | ||
name: '{{ include "prometheus-postgres-exporter.fullname" . }}-extra-cm1' | ||
data: | ||
extra-data: "value1" | ||
- apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: '{{ include "prometheus-postgres-exporter.fullname" . }}-extra-secret1' | ||
stringData: | ||
secret: "value" |
4 changes: 4 additions & 0 deletions
4
charts/prometheus-postgres-exporter/templates/extra-manifests.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{{ range .Values.extraManifests }} | ||
--- | ||
{{ tpl (toYaml .) $ }} | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters