We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0bfee commit 2190d2eCopy full SHA for 2190d2e
internal/k8s/controller.go
@@ -249,7 +249,7 @@ type NewLoadBalancerControllerInput struct {
249
// NewLoadBalancerController creates a controller
250
func NewLoadBalancerController(input NewLoadBalancerControllerInput) *LoadBalancerController {
251
otelTrustedCertSecret := ""
252
- if input.NginxConfigurator.CfgParams.MainOtelExporterTrustedCA != "" {
+ if input.NginxConfigurator != nil && input.NginxConfigurator.CfgParams.MainOtelExporterTrustedCA != "" {
253
otelTrustedCertSecret = fmt.Sprintf("%s/%s", input.ControllerNamespace, input.NginxConfigurator.CfgParams.MainOtelExporterTrustedCA)
254
}
255
specialSecrets := specialSecrets{
0 commit comments