kudobuilder / kudo

Kubernetes Universal Declarative Operator (KUDO)
https://kudo.dev
Apache License 2.0
1.18k stars 101 forks source link

Restrict Param Value setting to a Operator Defined Set #1563

Open kensipe opened 4 years ago

kensipe commented 4 years ago

It would be great if we could restrict params being set at install / update / upgrade to a set of predefined values... lets say a param defines a protocol or an output to json or xml and those are the only 2 valid options... the install should fail if out of range.

restrictions might include: set of string values ("xml", "json") numbers with min, max numbers odd, even (for example for quorum)

Issues: