Skip to content

Commit 1114b20

Browse files
author
Andrew Farries
committed
Add applicationCluster field to default bridge
1 parent 028703d commit 1114b20

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

install/installer/pkg/components/ws-manager-bridge/objects.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,6 @@ func WSManagerList(ctx *common.RenderContext) []WorkspaceCluster {
4747
Score: 50,
4848
Govern: true,
4949
AdmissionConstraints: nil,
50+
ApplicationCluster: ctx.Config.Metadata.InstallationShortname,
5051
}}
5152
}

install/installer/pkg/components/ws-manager-bridge/types.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ type WorkspaceCluster struct {
4040
Score int32 `json:"score"`
4141
Govern bool `json:"govern"`
4242
AdmissionConstraints []AdmissionConstraint `json:"admissionConstraints"`
43+
ApplicationCluster string `json:"applicationCluster"`
4344
}
4445

4546
// WorkspaceClusterTLS is the struct we use in ws-manager-bridge cluster registrations.

0 commit comments

Comments
 (0)