Skip to content

Commit

Permalink
Allow prometheus-prefect-exporter to be used as a sub-chart (#311)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
StephenRobin authored Mar 20, 2024
1 parent 756c391 commit 5101406
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions charts/prometheus-prefect-exporter/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}

0 comments on commit 5101406

Please sign in to comment.