The only comfort, so far, is learning that this seems to be very, very common among us tech types.
I have coworkers that ask me for help with infra/virtualization stuff that I know well, and they know the programming side of automation better than I do. I'm working to learn it, and deal with the inadequacy feelings all the time.
They tell me they couldn't get by without my knowledge, and to keep going on the automation coding, that I'll figure it out.
Sometimes, I say to myself, "They can say it until they're blue in the face; if I don't believe it, it doesn't matter. It's in one ear, and out the other."
I don't know if I'm really coping. Just continuing to try to learn, and move forward.
My apologies, if it's not the upbeat answer you may have been hoping for. Just trying to be real about it.