freezing-quill-32178
03/28/2022, 8:48 AMnew k8s.helm.v3.Release(…)…
for XYZ
Helm chart… if you don’t specify the name
and leave Pulumi to autogenerate it, or even specify the name
whichever… and use the resource names later on it the program without inferring the name based on the prefix and whatever the chart is?billowy-army-68599
.get
methods to retrieve themfreezing-quill-32178
03/28/2022, 3:23 PMget
method on the Release
class or separate get
method on each k8s object that is needed to fetch?billowy-army-68599
freezing-quill-32178
03/28/2022, 3:36 PMconst grafanaSvc = k8s.core.v1.Service.get(
"kps-grafana-svc",
pulumi.interpolate`${kubePrometheusStack.status.namespace}/${kubePrometheusStack.status.name}-grafana`
);
so I have to know beforehand that there will be an svc with -grafana
postfix/suffix created?k8s.helm.v3.Release.get("test", kubePrometheusStack.id).resourceNames.apply((rn) => console.log(JSON.stringify(rn)));
guess this can help somehow, filtering out the resources from the resourceNames objectbillowy-army-68599
helm.v3.Chart
freezing-quill-32178
03/28/2022, 3:47 PMhelm.v3.Chart
causing some weird issues with deployment/update speed, CRDs and hooks hanging… trying helm.v3.Release
for the first time, way faster for now.