Skip to content

jakewins/crd-missing-type

Repository files navigation

This is a simple clone of the opkit sample project. The Controller gets upset if an Added resource is missing TypeMeta.

How to test

# Compile
CGO_ENABLED=0 GOOS=linux go build

# Register CRD and run controller watch loop
./crd-missing-type &

# Create a new resource..
k apply -f sample-resource.yaml

# Expect log message saying the controller saw the TypeMeta

About

Simple poc of hiccup in custom kube resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published