Remove mandatory field from OCIClusterSpec
and use webhook validation instead
#66
Labels
enhancement
New feature or request
What would you like to be added:
We want to remove the
mandatory
fromCompartmentId string `mandatory:"true" json:"compartmentId"`
in theOCIClusterSpec
and setup the mandatory validation inocicluster_webhook
Why is this needed:
This seems to be the preferred way to do validation and it will allow use to remove the
compartmentId: REPLACE
defined intemplates/clusterclass-example.yaml
The text was updated successfully, but these errors were encountered: