{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/kontinuous-values-yaml/_shared/latest--kontinuous.values.schema.json",
  "title": "Kontinuous pg helm chart, see https://github.com/SocialGouv/kontinuous/blob/master/plugins/fabrique/charts/pg",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/socialgouv/kontinuous/v1/plugins/fabrique/charts/pg/kontinuous.values.schema.json",
    "sourceSha256": "be1560f6153e2b6f91ec24b02c3168a1eedf44f1691235d5e9547a8c2b54ae30"
  },
  "type": "object",
  "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",
      "$ref": "https://catalog.lintel.tools/schemas/schemastore/kontinuous-values-yaml/_shared/latest--values.schema.json"
    },
    "backup": {
      "type": "object",
      "required": [],
      "properties": {
        "enabled": {
          "type": "boolean",
          "description": "Enable database backups. \\n\\nEnabled by default on preprod and prod environments",
          "default": "false"
        },
        "name": {
          "type": "string",
          "description": "to override the backup destination path (in case we need a new destination for a new cluster)",
          "default": ""
        }
      }
    }
  },
  "required": [],
  "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)"
}
