You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can you create a more detailed replication example please. From a quick hack up using your jsonschema, if I use the values:
---
dummy:
irsaRole: "foo"
I get the error:
$ helm template .
Error: values don't meet the specifications of the schema(s) in the following chart(s):
jschema:
- dummy.irsaRole: Must validate one and only one schema (oneOf)
- dummy.irsaRole: String length must be greater than or equal to 20
- dummy.irsaRole: Does not match pattern '^arn:aws:iam:.+$'
@gjenkins8 apologies for the non-reproducible example. The real source for this issue is the k8gb Helm chart. I can also try to get you a more minimal example if you'd prefer.
Given the following JSON schema:
And the following values.yaml:
I get a validation error:
What I expected: chart validation should pass.
Examples from jsonschemavalidator.net:
Output of
helm version
:Output of
kubectl version
:Cloud Provider/Platform (AKS, GKE, Minikube etc.):
AWS
The text was updated successfully, but these errors were encountered: