Duplicate resource URN with helm when using RoleLi...
# general
w
Duplicate resource URN with helm when using RoleList with multiple Roles in different namespaces Prometheus operator chart lets you install multiple roles with the same names into different namespaces: https://github.com/helm/charts/blob/master/stable/prometheus-operator/templates/prometheus/role-specificNamespace.yaml#L13 This breaks pulumi, because both the resource apiVersion, kind and name is the same for these roles, resulting in generating the same URN for them. eg: 
error: Duplicate resource URN 'urn:pulumi:sbx::k8s-monitoring::kubernetes:<http://helm.sh/v2:Chart$kubernetes:rbac.authorization.k8s.io/v1:Role::monitoring/sbx-kubernetes-monitoring-prometheus';|helm.sh/v2:Chart$kubernetes:rbac.authorization.k8s.io/v1:Role::monitoring/sbx-kubernetes-monitoring-prometheus';> try giving it a unique name