-
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-redis-exporter] Introduce extraManifests value (#4761)
* [prometheus-redis-exporter] Introduce extraManifests value Signed-off-by: Alexis Sellier <[email protected]> * Increase minor version Signed-off-by: Alexis Sellier <[email protected]> * add ci files for testing Signed-off-by: Alexis Sellier <[email protected]> * change k7s objects used for testing Signed-off-by: Alexis Sellier <[email protected]> --------- Signed-off-by: Alexis Sellier <[email protected]> Co-authored-by: MH <[email protected]>
- Loading branch information
1 parent
42a5358
commit 6e706cf
Showing
4 changed files
with
28 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
13 changes: 13 additions & 0 deletions
13
charts/prometheus-redis-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-redis-exporter.fullname" . }}-extra-cm1' | ||
data: | ||
extra-data: "value1" | ||
- apiVersion: v1 | ||
kind: Secret | ||
metadata: | ||
name: '{{ include "prometheus-redis-exporter.fullname" . }}-extra-secret1' | ||
stringData: | ||
secret: "value" |
4 changes: 4 additions & 0 deletions
4
charts/prometheus-redis-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