This message was deleted.
# kubernetes
s
This message was deleted.
r
you can set the resource to be a parent of another resource
so the urn's will be different
b
hmmm, example? /me googling
r
which language is being used for pulumi?
I can show an example then
b
typescript
r
Copy code
import * as k8s from "@pulumi/kubernetes";

const ns = new k8s.core.v1.Namespace("ns")

const kongGatewayDP = new k8s.helm.v3.Chart("dataplane",{chart: "foo"}, {parent: ns})
b
Interesting, giving that a shot
🤞 1
Seems to have worked. I'm still getting attempted duplicate CRD creation but I think I can do a PR against the helm chart repo to fix that (i think)
💪 1
starting new thread, looks like
--include-crds
is forced at the pulumi level
r
const kongGatewayDP = new k8s.helm.v3.Chart("dataplane",{chart: "foo",skipCRDRendering: true}, {parent: ns})
🤯 1
you could skip them
b
that got messy fast https://termbin.com/7mbt
perhapse I can remove the child resources, then re-deploy them but without the crds
r
try deleting and re-creating from start
b
yep, doing
Copy code
parent: kongGatewayCP,
Copy code
skipCRDRendering: true,
These two lines of magic from you made my week. Thank you!!
👍 1
140 Views