Hello guys! Due to this issue <https://github.com/...
# python
Hello guys! Due to this issue https://github.com/pulumi/pulumi-kubernetes/issues/800 I have to use a transformation below to install helm charts' CRDS
Copy code
def remove_crds_status(obj):
    if obj["kind"] == "CustomResourceDefinition" and "status" in obj:
        del obj["status"]
or TypeError is raised
Copy code
TypeError: _internal_init() got an unexpected keyword argument 'status'
However, after I upgraded to Pulumi 3.0, remove_crds_status() transformation raises an exception
Copy code
AssertionError: Unexpected type. Expected 'dict' got 'typing.Union[pulumi_kubernetes.apiextensions.v1._inputs.JSONSchemaPropsArgs, bool, typing.Awaitable[typing.Union[pulumi_kubernetes.apiextensions.v1._inputs.JSONSchemaPropsArgs, bool]], pulumi.output.Output[~T], NoneType]'
Can you please help me find a workaround?
Sorry to disturb you @red-match-15116, can you check this out please?
Hi dz, we’re looking into this issue. It’s being tracked at https://github.com/pulumi/pulumi-kubernetes/issues/1541
thank you @microscopic-pilot-97530