kudobuilder / kudo

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

Feature: Enable KUDO to read rendered templates #1735

Open rishabh96b opened 3 years ago

rishabh96b commented 3 years ago

What would you like to be added: KUDO supports multiple plan creation and enables us to see the status of a particular plan or trigger it. A plan uses single/multiple template YAML files. However, there is no way that we can see those rendered templates through the eyes of kudo for debugging purposes.
This can be done either by-

Why is this needed: Let's take an example scenario: If I manually trigger the validation plan of the zookeeper operator which uses validation.yaml to create a Job. I can only see the plan status. This is okay but not helpful when I want to verify the template, see values of environment variables, or test any new operator locally. Having this option will be super helpful for debugging purposes. Of course, we can check the rendered templates by describing them or getting the logs. But having this feature will definitely prove to be productive in the overall dev and testing workflow.