Skip to content

Commit

Permalink
Merge pull request #159 from cho4036/tks-issues-873
Browse files Browse the repository at this point in the history
minor fix: add keycloak_url param to workflow
  • Loading branch information
ktkfree authored Oct 19, 2023
2 parents cff562c + d09a7f7 commit c66fbc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/usecase/cluster.go
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ func (u *ClusterUsecase) Create(ctx context.Context, dto domain.Cluster) (cluste
"creator=" + user.GetUserId().String(),
"cloud_account_id=" + tksCloudAccountId,
"base_repo_branch=" + viper.GetString("revision"),
"keycloak_url=" + viper.GetString("keycloak-address"),
//"manifest_repo_url=" + viper.GetString("git-base-url") + "/" + viper.GetString("git-account") + "/" + clusterId + "-manifests",
},
})
Expand Down Expand Up @@ -355,6 +356,8 @@ func (u *ClusterUsecase) Delete(ctx context.Context, clusterId domain.ClusterId)
"tks_api_url=http://tks-api.tks.svc:9110",
"cluster_id=" + clusterId.String(),
"cloud_account_id=" + tksCloudAccountId,
"keycloak_url=" + viper.GetString("keycloak-address"),
"contract_id=" + cluster.OrganizationId,
},
})
if err != nil {
Expand Down

0 comments on commit c66fbc2

Please sign in to comment.