Add kubeconfig key to be used in connection secrets of kubernetes clusters

Signed-off-by: Muvaffak Onus <onus.muvaffak@gmail.com>
This commit is contained in:
Muvaffak Onus 2019-11-14 19:33:53 +03:00
parent 8686ab0b71
commit 4ed7edad48
No known key found for this signature in database
GPG Key ID: 86E282DC72236827
1 changed files with 4 additions and 2 deletions

View File

@ -46,8 +46,10 @@ const (
ResourceCredentialsSecretClientCertKey = "clientCert" ResourceCredentialsSecretClientCertKey = "clientCert"
// ResourceCredentialsSecretClientKeyKey is the key inside a connection secret for the client key // ResourceCredentialsSecretClientKeyKey is the key inside a connection secret for the client key
ResourceCredentialsSecretClientKeyKey = "clientKey" ResourceCredentialsSecretClientKeyKey = "clientKey"
// ResourceCredentialsTokenKey is the key inside a connection secret for the bearer token value // ResourceCredentialsSecretTokenKey is the key inside a connection secret for the bearer token value
ResourceCredentialsTokenKey = "token" ResourceCredentialsSecretTokenKey = "token"
// ResourceCredentialsSecretKubeconfigKey is the key inside a connection secret for the raw kubeconfig yaml
ResourceCredentialsSecretKubeconfigKey = "kubeconfig"
) )
// NOTE(negz): The below secret references differ from ObjectReference and // NOTE(negz): The below secret references differ from ObjectReference and