add dockercfg secret types
This commit is contained in:
@@ -1754,6 +1754,17 @@ const (
|
||||
ServiceAccountUIDKey = "kubernetes.io/service-account.uid"
|
||||
// ServiceAccountTokenKey is the key of the required data for SecretTypeServiceAccountToken secrets
|
||||
ServiceAccountTokenKey = "token"
|
||||
// ServiceAccountKubeconfigKey is the key of the optional kubeconfig data for SecretTypeServiceAccountToken secrets
|
||||
ServiceAccountKubeconfigKey = "kubernetes.kubeconfig"
|
||||
|
||||
// SecretTypeDockercfg contains a dockercfg file that follows the same format rules as ~/.dockercfg
|
||||
//
|
||||
// Required fields:
|
||||
// - Secret.Data[".dockercfg"] - a serialized ~/.dockercfg file
|
||||
SecretTypeDockercfg SecretType = "kubernetes.io/dockercfg"
|
||||
|
||||
// DockerConfigKey is the key of the required data for SecretTypeDockercfg secrets
|
||||
DockerConfigKey = ".dockercfg"
|
||||
)
|
||||
|
||||
type SecretList struct {
|
||||
|
Reference in New Issue
Block a user