Skip to content

Commit 0b1e133

Browse files
committed
print statement
1 parent 5761711 commit 0b1e133

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

charts/nginx-gateway-fabric/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ nginxGateway:
218218
endpointPicker:
219219
# -- Disable TLS for EndpointPicker communication. By default, TLS is enabled.
220220
# Set to true only for development/testing or when using a service mesh for encryption.
221-
disableTLS: false
221+
disableTLS: true
222222

223223
# -- Disables TLS certificate verification when connecting to the EndpointPicker.
224224
# By default, certificate verification is disabled.

cmd/gateway/endpoint_picker.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ func realExtProcClientFactory(disableTLS, tlsSkipVerify bool) extProcClientFacto
3939
return func(target string) (extprocv3.ExternalProcessorClient, func() error, error) {
4040
var opts []grpc.DialOption
4141

42+
fmt.Println("EPP flag values in factory:", disableTLS, tlsSkipVerify)
4243
if disableTLS {
4344
opts = append(opts, grpc.WithTransportCredentials(insecure.NewCredentials()))
4445
} else {

internal/controller/provisioner/objects.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,7 @@ func (p *NginxProvisioner) buildNginxPodTemplateSpec(
11331133
command = append(command, "--endpoint-picker-tls-skip-verify")
11341134
}
11351135

1136+
fmt.Println("commands field for EPP configuration:", command)
11361137
spec.Spec.Containers = append(spec.Spec.Containers, corev1.Container{
11371138
Name: "endpoint-picker-shim",
11381139
Image: p.cfg.GatewayPodConfig.Image,

0 commit comments

Comments
 (0)