This message was deleted.
# google-cloud
s
This message was deleted.
g
Copy code
k8s.core.v1.Service.get("istio-ingressgateway", "istio-system/istio-ingressgateway")
They are always installed on namespace
istio-system
with the same names, you can get them as a external resource.
m
thank you!!
@green-school-95910 is there a way to patch this resource via Pulumi? Want to try and assign a static IP (it’s ephemeral by default)
I mean the equivalent to:
kubectl patch
g
Yes there is, you can import the resource into Pulumi so it can be managed by it. I don't remember how exactly, I did it to import resources created with terraform. I'm on my phone now, if no one finds it till I get to my PC to check I'll send it here.
m
thank you
g
Copy code
new k8s.core.v1.Service(
  "istio-ingressgateway",
  {
  // The service definition as if it was not created automatically, you'll have to manage it completely
  },
  {
    import: 'istio-system/istio-ingressgateway'
  },
);
m
this is what I needed, thank you @green-school-95910 - life saver