https://pulumi.com logo
#kubernetes
Title
# kubernetes
f

famous-jelly-72366

06/12/2020, 12:22 PM
when using helm charts with CRDs (e.g. cert-manager) it looks like those resources' urn aren't properly prefixed. At least I'm getting errors when trying to bring up a second cluster also using cert-manager claiin that the urns are not unique :S
Copy code
kubernetes:<http://apiextensions.k8s.io:CustomResourceDefinition|apiextensions.k8s.io:CustomResourceDefinition> (<http://certificaterequests.cert-manager.io|certificaterequests.cert-manager.io>):
    error: Duplicate resource URN 'urn:pulumi:k8s::tms-pulumi::kubernetes:<http://helm.sh/v2:Chart$kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefino/v1beta1:CustomResourceDefinition::certificaterequests.cert-manager.io';|helm.sh/v2:Chart$kubernetes:apiextensions.k8s.io/v1beta1:CustomResourceDefino/v1beta1:CustomResourceDefinition::certificaterequests.cert-manager.io';> try giving it a unique name
hmmm maybe `resourcePrefix`can help 🤔
yeah that did the trick
3 Views