sync missing secret type to external api repo

pull/58/head
zuoxiu.jm 2018-10-24 14:38:22 +08:00
parent e3b61ea9cf
commit e4a8ad49ee
1 changed files with 4 additions and 0 deletions

View File

@ -4996,6 +4996,10 @@ const (
TLSCertKey = "tls.crt"
// TLSPrivateKeyKey is the key for the private key field in a TLS secret.
TLSPrivateKeyKey = "tls.key"
// SecretTypeBootstrapToken is used during the automated bootstrap process (first
// implemented by kubeadm). It stores tokens that are used to sign well known
// ConfigMaps. They are used for authn.
SecretTypeBootstrapToken SecretType = "bootstrap.kubernetes.io/token"
)
// +k8s:deepcopy-gen:interfaces=k8s.io/apimachinery/pkg/runtime.Object