https://pulumi.com logo
#golang
Title
# golang
b

boundless-telephone-98269

02/12/2022, 10:43 PM
I'm working with helm charts and I'm trying to grab the cluster IP of a service.
Copy code
clusterIP := chart.GetResource("v1/Service", "onepassword-connect", Namespace).ApplyT(
			func(r interface{}) (pulumi.StringPtrOutput, error) {
				return r.(*corev1.Service).Spec.ClusterIP(), nil
			},
		)
3 Views