A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/openshift-evangelists/crd-code-generation below:

GitHub - openshift-evangelists/crd-code-generation

Example repository for the blog post Kubernetes Deep Dive: Code Generation for CustomResources.

export GOPATH=~/go
go get github.com/openshift-evangelists/crd-code-generation

First register the custom resource definition:

kubectl apply -f artifacts/databases-crd.yaml

Then add an example of the Database kind:

kubectl apply -f artifacts/my-database.yaml

Finally build and run the example:

cd ~/go/src/github.com/openshift-evangelists/crd-code-generation/cmd/example/
go build
./example -kubeconfig ~/.kube/config

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4