Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
controller: Add dashboardv2 to domain migration worker
Browse files Browse the repository at this point in the history
Signed-off-by: Jesse Stuart <email@jessestuart.ca>
  • Loading branch information
jvatic authored and titanous committed Jul 9, 2020
1 parent 41dfa13 commit 1a8e83b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions controller/worker/domain_migration/domain_migration.go
Expand Up @@ -167,6 +167,15 @@ func (m *migration) Run() error {
"URL": fmt.Sprintf("https://dashboard.%s", m.dm.Domain),
},
},
{
AppName: "dashboardv2",
NewEnv: map[string]string{
"DEFAULT_ROUTE_DOMAIN": m.dm.Domain,
"CONTROLLER_DOMAIN": fmt.Sprintf("controller-grpc.%s", m.dm.Domain),
"CONTROLLER_HOST": fmt.Sprintf("https://controller-grpc.%s", m.dm.Domain),
"INTERFACE_URL": fmt.Sprintf("https://dashboardv2.%s", m.dm.Domain),
},
},
}

for _, am := range appMigrations {
Expand Down

0 comments on commit 1a8e83b

Please sign in to comment.