Skip to content

Commit

Permalink
added variables for tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
jokestax committed Jul 21, 2024
1 parent b59c8c1 commit 30c8894
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/controller/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,10 @@ func (clctrl *ClusterController) CreateTokens(kind string) interface{} {
GitRunnerDescription: fmt.Sprintf("Self Hosted %s Runner", clctrl.GitProvider),
GitRunnerNS: fmt.Sprintf("%s-runner", clctrl.GitProvider),
GitURL: clctrl.GitopsTemplateURL,
AdminTeamName: clctrl.AdminTeamName,
DeveloperTeamName: clctrl.DeveloperTeamName,
MetaphorRepoName: clctrl.MetaphorRepoName,
GitopsRepoName: clctrl.GitopsRepoName,
GitopsRepoURL: destinationGitopsRepoURL,

GitHubHost: fmt.Sprintf("https://github.com/%s/gitops.git", clctrl.GitAuth.Owner),
Expand Down
5 changes: 5 additions & 0 deletions pkg/providerConfigs/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,11 @@ type GitopsDirectoryValues struct {
GitRunnerDescription string
GitRunnerNS string
GitURL string
AdminTeamName string
DeveloperTeamName string
MetaphorRepoName string
GitopsRepoName string


GitHubHost string
GitHubOwner string
Expand Down

0 comments on commit 30c8894

Please sign in to comment.