diff --git a/guides/check_definition.schema.json b/guides/check_definition.schema.json index a4af869a..025d3787 100644 --- a/guides/check_definition.schema.json +++ b/guides/check_definition.schema.json @@ -163,8 +163,7 @@ "additionalProperties": false, "properties": { "target_type": { - "type": "string", - "enum": ["host", "cluster"] + "type": "string" } }, "patternProperties": { diff --git a/guides/specification.md b/guides/specification.md index 9237e428..2ba41301 100644 --- a/guides/specification.md +++ b/guides/specification.md @@ -250,13 +250,13 @@ A key-value map that enriches the Check being declared by providing extra inform - keys must be non empty strings (`foo`, `bar`, `foo_bar`, `qux1`) - values can be any of the following types `string`, `number`, `boolean`, `string[]` (list of strings) -- `target_type` is a **required** key of the `metadata` map. It's value can be either a `host` or `cluster`. +- `target_type` is a **required** key of the `metadata` map. It's value is a `string`. Example: ```yaml metadata: - target_type: host + target_type: example_target foo: bar bar: 42 baz: true