From de8def5614425e4638bf13ab5a9a26a18f21b01e Mon Sep 17 00:00:00 2001 From: Gabor Nemes Date: Wed, 5 Feb 2025 11:40:08 +0100 Subject: [PATCH 1/2] feat: add values to templates --- charts/blank/Chart.yaml | 4 ++-- charts/blank/README.md | 3 ++- charts/blank/values.schema.json | 7 +++++++ charts/blank/values.yaml | 8 ++++++++ 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/charts/blank/Chart.yaml b/charts/blank/Chart.yaml index 51933a4..5e32569 100644 --- a/charts/blank/Chart.yaml +++ b/charts/blank/Chart.yaml @@ -14,5 +14,5 @@ annotations: - name: Chart Source url: https://github.com/foomo/helm-charts/tree/main/charts/blank -version: 0.1.0 -appVersion: 0.1.0 +version: 0.1.1 +appVersion: 0.1.1 diff --git a/charts/blank/README.md b/charts/blank/README.md index cb9dffa..82672fd 100644 --- a/charts/blank/README.md +++ b/charts/blank/README.md @@ -1,6 +1,6 @@ # blank -![Version: 0.1.0](https://img.shields.io/badge/Version-0.1.0-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.0](https://img.shields.io/badge/AppVersion-0.1.0-informational?style=flat-square) +![Version: 0.1.1](https://img.shields.io/badge/Version-0.1.1-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: 0.1.1](https://img.shields.io/badge/AppVersion-0.1.1-informational?style=flat-square) Blank Resource Chart @@ -25,3 +25,4 @@ Blank Resource Chart | Key | Type | Default | Description | |-----|------|---------|-------------| | templates | object | `{}` | Custom templates to inject | +| templatesValues | object | `{}` | Custom values to inject into templates | diff --git a/charts/blank/values.schema.json b/charts/blank/values.schema.json index 19b8358..06277c7 100644 --- a/charts/blank/values.schema.json +++ b/charts/blank/values.schema.json @@ -35,6 +35,13 @@ "required": [], "title": "templates", "type": "object" + }, + "templatesValues": { + "additionalProperties": true, + "description": "Custom values to inject into templates", + "required": [], + "title": "templatesValues", + "type": "object" } }, "required": [], diff --git a/charts/blank/values.yaml b/charts/blank/values.yaml index d13a943..cbd561c 100644 --- a/charts/blank/values.yaml +++ b/charts/blank/values.yaml @@ -26,3 +26,11 @@ namespaceOverride: '' # -- Custom templates to inject # @section -- General templates: {} + +# @schema +# type: object +# additionalProperties: true +# @schema +# -- Custom values to inject into templates +# @section -- General +templatesValues: {} \ No newline at end of file From cb131778256cc99ecc8a0e274fd5c66ff138c837 Mon Sep 17 00:00:00 2001 From: Gabor Nemes Date: Wed, 5 Feb 2025 11:41:10 +0100 Subject: [PATCH 2/2] fix: nl --- charts/blank/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/blank/values.yaml b/charts/blank/values.yaml index cbd561c..d3e56d8 100644 --- a/charts/blank/values.yaml +++ b/charts/blank/values.yaml @@ -33,4 +33,4 @@ templates: {} # @schema # -- Custom values to inject into templates # @section -- General -templatesValues: {} \ No newline at end of file +templatesValues: {}