If you install solar panels, you have 10 years or more of lifetime to develop your domestic supply chain for replacements. This doesn't sound like a problem.
More like 25 years.