sparse-intern-71089
03/28/2022, 8:48 AMbillowy-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?freezing-quill-32178
03/28/2022, 3:38 PMk8s.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.