https://pulumi.com logo
Title
b

big-potato-91793

02/14/2023, 2:08 PM
any idea related to this?
e

echoing-dinner-19531

02/14/2023, 2:16 PM
b

big-potato-91793

02/14/2023, 2:20 PM
So removing the
pulumi.resources: true
should do the trick?
e

echoing-dinner-19531

02/14/2023, 2:20 PM
Should at least get pulumi to stop trying to download it
b

big-potato-91793

02/14/2023, 2:21 PM
Ok let us try 🙂
@purple-beach-36424 here 🙂
p

purple-beach-36424

02/14/2023, 3:04 PM
Yeah well that I already did yesterday, but I still see the issues with the kubernetes plugin version 🤷‍♂️
Is there something we can do for the second part? I notices that the issue thread has been left hanging on this exact note 🤔
b

big-potato-91793

02/14/2023, 3:29 PM
@echoing-dinner-19531 do you have any idea?
e

echoing-dinner-19531

02/14/2023, 3:40 PM
You might be able to fix up the versions in the generated code manually, but really this needs a codegen fix
b

big-potato-91793

02/14/2023, 3:40 PM
Those this will be made inside crd2pulumi?
p

purple-beach-36424

02/14/2023, 3:42 PM
Yeah, for the codegen part we were already aware… at the moment I feel like we have a codegen on top of the codegen 😅
@echoing-dinner-19531 which version should be fixed and is there a way to defer to the default version. I don’t want the CRD to enforce a specific version of kubernetes plugin it’s really not its responsability to do so?
e

echoing-dinner-19531

02/14/2023, 3:44 PM
I think if you just remove the version it might default to whatever k8s version the rest of the program used
p

purple-beach-36424

02/14/2023, 4:55 PM
So I ended up replacing the
getVersion
method by
export function getVersion(): string {
    return '';
}
It’s not a very accurate fix, but at least it’s now working
b

brash-hairdresser-60389

03/23/2023, 9:43 PM
I’m trying that solution right now. I hope it will work since I’m struggling to find a suitable solution
b

big-potato-91793

03/23/2023, 9:44 PM
It dit works for us @brash-hairdresser-60389
b

brash-hairdresser-60389

03/23/2023, 11:06 PM
I’m trying right now
@big-potato-91793, it seems it works! Thanks