coreos / etcd-operator

etcd operator creates/configures/manages etcd clusters atop Kubernetes
https://coreos.com/blog/introducing-the-etcd-operator.html
Apache License 2.0
1.75k stars 741 forks source link

fix bug in tls validation #2159

Open viviyww opened 4 years ago

viviyww commented 4 years ago

Fix bug in tls validation when the operatorSecret is set but the member obj is nil. The error is as following: Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)

viviyww commented 4 years ago

/assign @hexfusion