From 25eb679d3e561ac8910e7f2391b72ff6808589f4 Mon Sep 17 00:00:00 2001 From: sanadhis Date: Tue, 10 Sep 2024 15:41:49 +0200 Subject: [PATCH] fix(chart): schema enum types for ipDualStack setting --- .../caddy-ingress-controller/values.schema.json | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/charts/caddy-ingress-controller/values.schema.json b/charts/caddy-ingress-controller/values.schema.json index c0ec129..652a7c0 100644 --- a/charts/caddy-ingress-controller/values.schema.json +++ b/charts/caddy-ingress-controller/values.schema.json @@ -229,11 +229,23 @@ }, "ipFamilies": { "$id": "#/properties/service/properties/ipDualStack/properties/ipFamilies", - "type": "array" + "type": "array", + "items": { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + } }, "ipFamilyPolicy": { "$id": "#/properties/service/properties/ipDualStack/properties/ipFamilyPolicy", - "type": "string" + "type": "string", + "enum": [ + "SingleStack", + "PreferDualStack", + "RequireDualStack" + ] } } }