Closed skriss closed 2 years ago
There's an alternative mechanism via assertions: See as an example https://github.com/vmware-tanzu/tce/blob/main/addons/packages/knative-serving/bundle/config/overlays/assertions.yaml
Latest Carvel ytt will provide schema for values.yaml (https://carvel.dev/ytt/docs/latest/ytt-schema/) Also, latest Carvel's Package API provides schema validation for the Package (https://carvel.dev/kapp-controller/docs/latest/packaging/#package-cr) using OpenAPiSchemav3.
Feature Request
We should add validation functions to verify that the user has provided valid values.yaml values. These would be implemented in a .star file within the Contour addon dir.
Describe alternatives you've considered
N/A
Additional context
N/A
cc @vmware-tanzu/contour-owners