|
|
|
|
|
by NewJazz
338 days ago
|
|
That is when you are writing the values when using the chart though, right? Yeah that's not too hard. I was talking about the go templates that make up the actual chart. Ensuring they only use string values for annotations for example seems like a hard problem to solve. Even just showing the type and description from the schema seems nontrivial. |
|
---
As for the "only string values for annotations," I think you mean patternProperties:
and if I put the following, then the 123 gets flagged as a schema violation as does ---If you mean schema checking on the output, that is checked by the OpenAPI built into Kubernetes itself, so yes, doing something silly in golang templates will not, by itself, check the result - that's one of the major limitations of Helm's moronic choice of using a text templating language for a structured file format