If you're using this script to convert something that isn't self-contained, you are further into the abyss than I ever ventured, and I am certain it will end terribly.
Hmm, does this handle CRDs and operators? My setup depends quite heavily on them you see. My application manifests use services and operators defined in my core manifests. Everything works together like a finely oiled machine rotating through a few too many dimensions. I do not remember why it works. The abyss calls to me, whispering of self configuring services. The undying light calls to me, with promises of simpler systems and less madness. I hesitate, and turn towards the abyss...
Yog Sa'rath, stay away from me.
After witness this creation, even Yog Sa`rath is eyeing you wearily and giving you a wide berth, recognising one of their own, who has risen above the rest.