https://pulumi.com logo
#general
Title
# general
d

damp-room-71337

08/08/2019, 12:53 PM
does anyone know how kubernetes namespaces work with the
getResourceProperty()
method? All the examples I’ve seen look like this:
Copy code
guestbook.getResourceProperty("v1/Service", "frontend", "status")
but I get an exception unless I prefix the resource name with the namespace:
Copy code
mysql.getResourceProperty("v1/Service", "idm-mysql", "spec")
...
TypeError: Cannot read property 'spec' of undefined
whereas this works:
mysql.getResourceProperty("v1/Service", "pulimi-test/idm-mysql", "spec")
what am I missing?