chore: Change mount path in the git-credentials-secret (#292)

In order to have a common credentials path for all editors, remove theia specific path segment from the git-credentials-secret mount path.
pull/301/head
Igor Vinokur 2022-05-02 16:29:27 +03:00 committed by GitHub
parent 67b5a871f1
commit 2eb0a6e018
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ public class KubernetesGitCredentialManager implements GitCredentialManager {
public static final String ANNOTATION_SCM_URL = "che.eclipse.org/scm-url";
public static final String ANNOTATION_SCM_USERNAME = "che.eclipse.org/scm-username";
public static final String ANNOTATION_CHE_USERID = "che.eclipse.org/che-userid";
public static final String CREDENTIALS_MOUNT_PATH = "/home/theia/.git-credentials";
public static final String CREDENTIALS_MOUNT_PATH = "/.git-credentials";
public static final String LABEL_DEV_WORKSPACE_CREDENTIAL =
DEV_WORKSPACE_PREFIX + "/git-credential";