Skip to content

Commit

Permalink
minor fix: add keycloak_url param to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
cho4036 committed Oct 19, 2023
1 parent fe95bb6 commit d09a7f7
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 @@ -187,6 +187,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 @@ -350,6 +351,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 d09a7f7

Please sign in to comment.