Jan Wozniak is a software engineer at Kubermatic. Throughout his career, he contributed to various parts of the Kubernetes ecosystem as well as few Erlang based opensource projects.
Reverse K8s resources: from YAML to Go stucts
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.