This repository contains the example files for my blog article on defining and accessing Kubernetes Custom Resources with the Kubernetes client-go package.
Building the example:
$ go get github.com/martin-helmich/kubernetes-crd-example
Setting up a custom resource definition (CRD) with an example object:
$ kubectl apply -f https://raw.githubusercontent.com/martin-helmich/kubernetes-crd-example/master/kubernetes/crd.yaml
$ kubectl apply -f https://raw.githubusercontent.com/martin-helmich/kubernetes-crd-example/master/kubernetes/project.yaml