Tanzu Framework provides a set of building blocks to build atop of the Tanzu platform and leverages Carvel packaging and plugins to provide users with a much stronger, more integrated experience than the loose coupling and stand-alone commands of the previous generation of tools.
Apache License 2.0
197
stars
194
forks
source link
windows tests should (1) fail if management cluster is specified (2) accomodate 'prod' clusters #1014
in YTT Right now , any user making a windows cluster shouldnt label it as management, bc we only support windows for workload clusters. Lets add a unit test confirming YTT FAILS if the management cluster is set (b/c you can NEVER have windows nodes in a management cluster)
Bug description
Lets add several validations to our windows YTT:
management
, bc we only support windows for workload clusters. Lets add a unit test confirming YTT FAILS if the management cluster is set (b/c you can NEVER have windows nodes in a management cluster)Affected product area (please put an X in all that apply)
Expected behavior
The windows cluster creation is smart enough to short circuit in cases where other parameters are non compatibly such as this one.
Steps to reproduce the bug
Make a windows ytt template with IS_WINDOWS_CLUSTER true, but set it to type
management
.