Creates constants for bootstrap tokens.

Move these form core API to a separate package (pkg/bootstrap/api).

This also creates the constant for the new kube-public namespace.
This commit is contained in:
Joe Beda
2017-02-09 15:43:32 -08:00
parent 8fcbd56974
commit 20e1f8ea9b
13 changed files with 120 additions and 12 deletions

20
pkg/bootstrap/api/doc.go Normal file
View File

@@ -0,0 +1,20 @@
/*
Copyright 2017 The Kubernetes Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
// Package api (pkg/bootstrap/api) contains constants and types needed for
// bootstrap tokens as maintained by the BootstrapSigner and TokenCleaner
// controllers (in pkg/controller/bootstrap)
package api // import "k8s.io/kubernetes/pkg/bootstrap/api"