Skip to content

Commit c774917

Browse files
committed
schema(metamcp): for STDIO, forbid cache, envFrom, secretEnv; bump 0.1.13
1 parent f27240b commit c774917

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

charts/metamcp/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apiVersion: v2
22
name: metamcp
33
description: MetaMCP aggregator Helm chart for Kubernetes
44
type: application
5-
version: 0.1.11
5+
version: 0.1.13
66
appVersion: "latest"
77
icon: https://icoretech.github.io/helm/charts/metamcp/logo.png
88
keywords:

charts/metamcp/values.schema.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,9 @@
157157
}
158158
},
159159
"allOf": [
160-
{ "if": { "properties": { "type": { "const": "STDIO" } } }, "then": { "required": ["command"] } }
160+
{ "if": { "properties": { "type": { "const": "STDIO" } } }, "then": { "required": ["command"] } },
161+
{ "if": { "properties": { "type": { "const": "STDIO" } } }, "then": { "not": { "required": ["cache"] } } },
162+
{ "if": { "properties": { "type": { "const": "STDIO" } } }, "then": { "not": { "anyOf": [ { "required": ["envFrom"] }, { "required": ["secretEnv"] } ] } } }
161163
]
162164
}
163165
},

0 commit comments

Comments
 (0)