kubectl-ai icon indicating copy to clipboard operation
kubectl-ai copied to clipboard

add yaml validation

Open sozercan opened this issue 2 years ago • 0 comments

  • make sure the output is a valid (kubernetes) yaml by validating the yaml. example: https://github.com/yannh/kubeconform

  • if llm outputs non-valid yaml,

    • prompt if user wants to retry and/or
    • use the error for feedback back to llm for llm to fix its own mistake

sozercan avatar Aug 02 '23 23:08 sozercan