Skip to content

Commit 92641ca

Browse files
geroplroboquat
authored andcommitted
[installer] Add missing ports to server, ws-manager-bridge
1 parent 3204dd7 commit 92641ca

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

install/installer/pkg/components/server/deployment.go

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,14 @@ func deployment(ctx *common.RenderContext) ([]runtime.Object, error) {
242242
}, {
243243
Name: PrometheusPortName,
244244
ContainerPort: PrometheusPort,
245-
}},
245+
}, {
246+
Name: "debug",
247+
ContainerPort: 6060,
248+
}, {
249+
Name: "debugnode",
250+
ContainerPort: 9229,
251+
},
252+
},
246253
// todo(sje): do we need to cater for serverContainer.env from values.yaml?
247254
Env: env,
248255
// todo(sje): conditionally add github-app-cert-secret in

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ func deployment(ctx *common.RenderContext) ([]runtime.Object, error) {
132132
Value: "/config/ws-manager-bridge.json",
133133
}},
134134
),
135+
Ports: []corev1.ContainerPort{
136+
{
137+
ContainerPort: 9500,
138+
Name: "metrics",
139+
},
140+
},
135141
VolumeMounts: []corev1.VolumeMount{{
136142
Name: "config",
137143
MountPath: "/config",

0 commit comments

Comments
 (0)