sample-apiserver: add note that the pkg is k8s.io/sample-apiserver

This commit is contained in:
Dr. Stefan Schimanski 2018-06-20 11:26:29 +02:00
parent 6d3f5b75f5
commit 943405d3d2
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,7 @@
Demonstration of how to use the k8s.io/apiserver library to build a functional API server.
**Note:** go-get or vendor this package as `k8s.io/sample-apiserver`.
## Purpose

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.