Azure / draft

A day 0 tool for getting your app on k8s fast
MIT License
561 stars 63 forks source link

Add Validators and Transformers #409

Closed bfoley13 closed 3 weeks ago

bfoley13 commented 1 month ago

Description

Add Validators and Transformers into the DraftConfig GetVariableValue logic. This will allow validating and transforming variable input based on the defined kind within the DraftConfig.

Added ConditionalRef onto the BuilderVar, which can act as a reference to another variable that can affect the validation and transformation of the associated variable.

Migrated the rest of the templates and added some more validation on the template names.

Type of change

How Has This Been Tested?

Provide instructions so we can reproduce, and list any relevant details for your test configuration. Please mention if this is a breaking change which will impact consuming tool(s).

Checklist: