From ecaa2a3d1d3c6a0bb0c644cb77f5a39e2d8fc2bd Mon Sep 17 00:00:00 2001 From: Julien Bouquillon Date: Tue, 3 Oct 2023 10:01:54 +0200 Subject: [PATCH] fix: allow ~chart in pg --- plugins/fabrique/charts/pg/kontinuous.values.schema.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/plugins/fabrique/charts/pg/kontinuous.values.schema.json b/plugins/fabrique/charts/pg/kontinuous.values.schema.json index b665e1ab60..13483c4bdf 100644 --- a/plugins/fabrique/charts/pg/kontinuous.values.schema.json +++ b/plugins/fabrique/charts/pg/kontinuous.values.schema.json @@ -2,10 +2,14 @@ "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "$id": "https://raw.githubusercontent.com/socialgouv/kontinuous/v1/plugins/fabrique/charts/pg/kontinuous.values.schema.json", - "title": "Kontinuous pg helm chart", + "title": "Kontinuous pg helm chart, see https://github.com/SocialGouv/kontinuous/blob/master/plugins/fabrique/charts/pg", "markdownDescription": "The [pg chart](https://github.com/SocialGouv/kontinuous/blob/master/plugins/fabrique/charts/pg) is a wrapper around [cnpg-cluster helm chart](https://github.com/SocialGouv/kontinuous/blob/master/plugins/fabrique/charts/pg)", "required": [], "properties": { + "~chart": { + "type": "string", + "const": "pg" + }, "cnpg-cluster": { "title": "Kontinuous cnpg-cluster helm-chart", "markdownDescription": "The [cnpg-cluster helm chart](https://github.com/SocialGouv/helm-charts/tree/main/charts/cnpg-cluster) based on [https://cloudnative-pg.io](https://https://cloudnative-pg.io)\n\n💡 You can use the [meta `~tpl~` prefix](https://socialgouv.github.io/kontinuous/#/./advanced/build?id=meta-values-plugin-tpl) to make it a template",