nginx-loadbalancer-kubernetes
nginx-loadbalancer-kubernetes copied to clipboard
Initialize Certificates Map to Avoid Nil Map Panic
In the NewCertificates method, the Certificates field is initialized to nil, which could cause a panic when trying to insert key-value pairs into the map. It should be initialized to an empty map instead: Certificates: make(map[string]map[string][]byte).