Skip to content

Commit 50e5814

Browse files
committed
set skipVerify to true for EPP
1 parent 5de8bf6 commit 50e5814

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/gateway/commands.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ func createControllerCommand() *cobra.Command {
166166
}
167167

168168
endpointPickerDisableTLS bool
169-
endpointPickerTLSSkipVerifyFlag bool
169+
endpointPickerTLSSkipVerifyFlag = true
170170
)
171171

172172
usageReportParams := usageReportParams{
@@ -767,7 +767,8 @@ func createSleepCommand() *cobra.Command {
767767
}
768768

769769
func createEndpointPickerCommand() *cobra.Command {
770-
var endpointPickerDisableTLS, endpointPickerTLSSkipVerifyFlag bool
770+
var endpointPickerDisableTLS bool
771+
endpointPickerTLSSkipVerifyFlag := true
771772
cmd := &cobra.Command{
772773
Use: "endpoint-picker",
773774
Short: "Shim server for communication between NGINX and the Gateway API Inference Extension Endpoint Picker",

0 commit comments

Comments
 (0)