Add support for patternProperties
Jonasei opened this issue · 3 comments
Jonasei commented
Support for patternProperties would be really useful if added.
The case I am trying to solve is to get something like this, where I know the property is an object with key-values, and the values should all be strings:
"environmentVariables": {
"type": "object",
"patternProperties": {
"^.*": {
"type": "string"
}
}
}
Cheers!
losisin commented
patternProperties
is now available in v1.2.4 and here is how to use it: https://github.com/losisin/helm-values-schema-json/blob/main/testdata/full.yaml#L42.
Jonasei commented
Great! Thanks for the quick response 👍