Provide current namespace to InClusterConfig

This commit is contained in:
Jordan Liggitt
2016-02-11 14:46:56 -05:00
parent f0061c7105
commit 20216fa607
6 changed files with 100 additions and 8 deletions

View File

@@ -2218,6 +2218,8 @@ const (
ServiceAccountKubeconfigKey = "kubernetes.kubeconfig"
// ServiceAccountRootCAKey is the key of the optional root certificate authority for SecretTypeServiceAccountToken secrets
ServiceAccountRootCAKey = "ca.crt"
// ServiceAccountNamespaceKey is the key of the optional namespace to use as the default for namespaced API calls
ServiceAccountNamespaceKey = "namespace"
// SecretTypeDockercfg contains a dockercfg file that follows the same format rules as ~/.dockercfg
//