fix sync kubeconfig bug
Signed-off-by: shaowenchen <mail@chenshaowen.com>
This commit is contained in:
@@ -64,7 +64,7 @@ const (
|
||||
// - Secret.Data["secret"] - secret
|
||||
SecretTypeKubeConfig v1.SecretType = DevOpsCredentialPrefix + "kubeconfig"
|
||||
// KubeConfigSecretKey is the key of the secret for SecretTypeKubeConfig secrets
|
||||
KubeConfigSecretKey = "secret"
|
||||
KubeConfigSecretKey = "content"
|
||||
// CredentialAutoSyncAnnoKey is used to indicate whether the secret is automatically synchronized to devops.
|
||||
// In the old version, the credential is stored in jenkins and cannot be obtained.
|
||||
// This field is set to ensure that the secret is not overwritten by a nil value.
|
||||
|
||||
Reference in New Issue
Block a user