mirror of
https://github.com/kubernetes/sample-controller.git
synced 2026-02-04 00:06:14 +08:00
Add sample CustomResourceDefinition controller
sample-controller: add API types sample-controller: regenerate files sample-controller: add implementation sample-controller: update bazel sample-controller: update make-rules and cache_go_dirs sample-controller: Set noStatus tag. Remove openapi-gen tag. sample-controller: add deletion tombstone handling logic sample-controller: update README, remove use of reflect in UpdateFuncs sample-controller: add OWNERS file sample-controller: add LICENSE Kubernetes-commit: 740afa0e65bf44a95752fb863017a7cf14b476ad
This commit is contained in:
committed by
Kubernetes Publisher
parent
a5a4aadacb
commit
00e875e461
11
artifacts/examples/crd.yaml
Normal file
11
artifacts/examples/crd.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
apiVersion: apiextensions.k8s.io/v1beta1
|
||||
kind: CustomResourceDefinition
|
||||
metadata:
|
||||
name: foos.samplecontroller.k8s.io
|
||||
spec:
|
||||
group: samplecontroller.k8s.io
|
||||
version: v1alpha1
|
||||
names:
|
||||
kind: Foo
|
||||
plural: foos
|
||||
scope: Namespaced
|
||||
Reference in New Issue
Block a user