siderolabs / talos

Talos Linux is a modern Linux distribution built for Kubernetes.
https://www.talos.dev
Mozilla Public License 2.0
6.91k stars 556 forks source link

fix: use more correct condition to skip generating hosts files #9599

Closed smira closed 3 weeks ago

smira commented 3 weeks ago

After a fix a while ago, the condition was hard to understand - but we should skip this block as long as there's no TLS config, which might mean either being nil or having default values.

I found this while debugging #9594, but it doesn't change anything.

smira commented 3 weeks ago

/m