Skip to content

Commit

Permalink
Add OKD preset to expose the same port as OpenShift
Browse files Browse the repository at this point in the history
OKD and openshift preset both need same ports to be expose on the host
to work with user mode networking.
  • Loading branch information
praveenkumar authored and anjannath committed Aug 1, 2022
1 parent 5c207ac commit e351afa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/crc/machine/vsock.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func vsockPorts(preset crcPreset.Preset) []types.ExposeRequest {
},
}
switch preset {
case crcPreset.OpenShift:
case crcPreset.OpenShift, crcPreset.OKD:
exposeRequest = append(exposeRequest,
types.ExposeRequest{
Protocol: "tcp",
Expand Down

0 comments on commit e351afa

Please sign in to comment.