https://pulumi.com logo
#dotnet
Title
t

tall-librarian-49374

03/17/2020, 8:12 PM
Why not adopt those existing resources into your Pulumi stack?
f

fast-dinner-32080

03/17/2020, 8:16 PM
So these are custom resources created by rancher. Is there a way to import custom resource objects into my stack? From what I found was I can pull in the actual CRD but not the resources that you can be created of that type.
I am trying to import/modify the custom resource ApiVersion: management.cattle.io/v3 Kind: GlobalRole spec.name: user
t

tall-librarian-49374

03/17/2020, 8:19 PM
Maybe @gorgeous-egg-16927 can help
g

gorgeous-egg-16927

03/17/2020, 8:44 PM
You should be able to import
CustomResource
s, but I haven’t verified that it’s working myself. If you file an issue on the pulumi-kubernetes repo, I can take a closer look.
f

fast-dinner-32080

03/17/2020, 8:52 PM