Validation package 'readConfig()' function ignores config 'settings'
Closed this issue · 0 comments
f1ames commented
Reading config file like:
plugins:
yaml-syntax: false
open-policy-agent: false
kubernetes-schema: true
pod-security-standards: true
settings:
kubernetes-schema:
schemaVersion: v1.27.1
results in settings
being completely ignored.
This seems to be related to a fact that we have incomplete Zod schema there:
monokle-core/packages/validation/src/config/parse.ts
Lines 25 to 43 in ca88d49