Skip to content
Snippets Groups Projects
Commit 66e91612 authored by nicktming's avatar nicktming Committed by Sheng Yang
Browse files

add default service account name for debugging of out-of-cluster

parent f2cc07a7
Branches
Tags
No related merge requests found
...@@ -32,6 +32,7 @@ var ( ...@@ -32,6 +32,7 @@ var (
EnvHelperImage = "HELPER_IMAGE" EnvHelperImage = "HELPER_IMAGE"
DefaultHelperImage = "busybox" DefaultHelperImage = "busybox"
FlagServiceAccountName = "service-account-name" FlagServiceAccountName = "service-account-name"
DefaultServiceAccount = "local-path-provisioner-service-account"
EnvServiceAccountName = "SERVICE_ACCOUNT_NAME" EnvServiceAccountName = "SERVICE_ACCOUNT_NAME"
FlagKubeconfig = "kubeconfig" FlagKubeconfig = "kubeconfig"
DefaultConfigFileKey = "config.json" DefaultConfigFileKey = "config.json"
...@@ -98,6 +99,7 @@ func StartCmd() cli.Command { ...@@ -98,6 +99,7 @@ func StartCmd() cli.Command {
Name: FlagServiceAccountName, Name: FlagServiceAccountName,
Usage: "Required. The ServiceAccountName for deployment", Usage: "Required. The ServiceAccountName for deployment",
EnvVar: EnvServiceAccountName, EnvVar: EnvServiceAccountName,
Value: DefaultServiceAccount,
}, },
}, },
Action: func(c *cli.Context) { Action: func(c *cli.Context) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment