Merge pull request #65265 from sttts/sttts-sample-apiserver-pkg

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

staging-repos: add note that these are to be imported as k8s/*

Fixes https://github.com/kubernetes/sample-controller/issues/17
Fixes https://github.com/kubernetes/sample-controller/issues/20

Kubernetes-commit: 418a0e6c297aeed3e5289bfd32be0a72b43ffde6
This commit is contained in:
Kubernetes Publisher 2018-06-21 11:13:50 -07:00
commit c86c38bb83

View File

@ -3,6 +3,8 @@
This repository implements a simple controller for watching Foo resources as
defined with a CustomResourceDefinition (CRD).
**Note:** go-get or vendor this package as `k8s.io/sample-controller`.
This particular example demonstrates how to perform basic operations such as:
* How to register a new custom resource (custom resource type) of type `Foo` using a CustomResourceDefinition.