losisin/helm-values-schema-json

Add support for patternProperties

Jonasei opened this issue · 3 comments

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!

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 P.S. thanks for the previous contribution :)

Great! Thanks for the quick response 👍