Skip to content

Commit 98074c3

Browse files
authored
env-vars-setting (#2421)
1 parent e1033f6 commit 98074c3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

backend/service_clients/k8s.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,11 +210,11 @@ func (k K8sJobClient) TriggerProjectsRefreshService(
210210
"triggerSource": "orchestrator-api",
211211
},
212212
Env: map[string]string{
213-
"CloneUrl": cloneUrl,
214-
"Branch": branch,
215-
"GithubToken": githubToken, // consider moving to SecretKeyRef in production
216-
"RepoFullName": repoFullName,
217-
"OrgId": orgId,
213+
"DIGGER_GITHUB_REPO_CLONE_URL": cloneUrl,
214+
"DIGGER_GITHUB_REPO_CLONE_BRANCH": branch,
215+
"DIGGER_GITHUB_TOKEN": githubToken,
216+
"DIGGER_REPO_FULL_NAME": repoFullName,
217+
"DIGGER_ORG_ID": orgId,
218218
},
219219
// Optionally override defaults:
220220
CPU: "1",

0 commit comments

Comments
 (0)