This repository holds the API definitions for Kong's Kubernetes configuration.
👷 🚧 This is currently a work in progress which is heavily based on Kong's Ingress Controller CRDs Before KIC starts using these CRDs this repo should contain only additive, non-breaking changes on top of KIC's types.
api/
directory contains Go types that are the source for generating
pkg/clientset
: Go clientsets for users who want to interact
with Kong's Kubernetes configuration in Goconfig/crd
: Kubernetes CRDs for Kong configurationtest/
directory contains Go tests
test/crdsvalidation
directory contains Go tests which
perform operations against a live Kubernetes cluster, testing CEL rules
set on API typestest/unit
directory contains Go unit tests for generated Go typesdocs/
directory contains generated API reference markdown filesIn order to install the CRDs from this repo:
kustomize build github.com/kong/kubernetes-configuration/config/crd | kubectl apply -f -
In order to run code generation in this repo you can use make generate
.
When you add a new CRD make sure to
test/unit
test/crdsvalidation