From 5101406afe4339bc691d54e02aad5cb3d5fb56fc Mon Sep 17 00:00:00 2001 From: StephenRobin Date: Wed, 20 Mar 2024 14:09:53 +0000 Subject: [PATCH] Allow prometheus-prefect-exporter to be used as a sub-chart (#311) Helm adds a property called "global" when a chart is being used as a sub-chart. This must be allowed for in the schema or validation will fail. The prefect-server and prefect-worker charts already have this defined but it's missing from prometheus-prefect-exporter. --- charts/prometheus-prefect-exporter/values.schema.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/charts/prometheus-prefect-exporter/values.schema.json b/charts/prometheus-prefect-exporter/values.schema.json index 40e14513..6bcc75df 100644 --- a/charts/prometheus-prefect-exporter/values.schema.json +++ b/charts/prometheus-prefect-exporter/values.schema.json @@ -317,6 +317,12 @@ "title": "Common", "description": "common configuration. Not set by user but required as common vars are passed to all manifests.", "form": true + }, + "global": { + "type": "object", + "title": "Global", + "description": "global configuration. Not set by user but required when prefect is referenced as a downstream Chart", + "form": true } } }