Skip to content

Commit c9ffe1a

Browse files
Add k8s EndpointSlice support to prometheus.json (SchemaStore#5076)
* Add k8s EndpointSlice support to prometheus.json * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1 parent d193c12 commit c9ffe1a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/schemas/json/prometheus.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,14 @@
698698
"role": {
699699
"description": "The Kubernetes role of entities that should be discovered. One of endpoints, service, pod, node, or ingress.",
700700
"type": "string",
701-
"enum": ["endpoints", "service", "pod", "node", "ingress"]
701+
"enum": [
702+
"endpointslice",
703+
"endpoints",
704+
"service",
705+
"pod",
706+
"node",
707+
"ingress"
708+
]
702709
},
703710
"kubeconfig_file": {
704711
"$ref": "#/definitions/filepath"

0 commit comments

Comments
 (0)