Reverse K8s resources: from YAML to Go structs


Watch Jan’s talk at ContainerDays 2022

In the Kubernetes world, it is a common use case to convert API resources written in Go to YAML manifests for further distribution whether as part of helm chart, kustomize template or other tools. How hard can it be to go the other way around, take a YAML manifest and generate a valid Go code from that? This session looks at Kubernetes codecs, scheme, Go reflections, and Go AST parsers from a little unusual perspective.

Speaker: Jan Wozniak, Software Engineer at Kubermatic

Leading Companies Choose Kubermatic