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

damp-painter-36857

03/08/2020, 9:52 AM
hey - quick question. I'm working with kubernetes in typescript. I want to add an annotation to a pre-existing Namespace (the
default
namespace, to be specific), but if I fetch it with
ns = Namespace.get(...)
and then try to modify
ns.metadata.annotations
then Pulumi bombs out claiming the property is read-only. Any ideas for a workaround? I've tried defining it as plain old YAML and using
ConfigFile
but that fails too.
3 Views