This message was deleted.
# general
s
This message was deleted.
b
Name is set on the metadata, so:
Copy code
const openfaasNamespace = new k8s.core.v1.Namespace("openfaas-fn", {
  metadata: {
      name: "openfaas-fn"
   }
}, { provider: k8sProvider });
n
Thanks a lot for helping me. I just installed openfaas for lambda function in digitalocean using pulumi. Also its not mentioned to use metadata for name in pulumi docs.
s
names in metadata are a k8s thing, not pulumi per se https://www.pulumi.com/docs/concepts/resources/names/
n
@straight-cartoon-24485 I read this docs and I was following this https://www.pulumi.com/registry/packages/kubernetes/api-docs/core/v1/namespace/#objectmeta but its taking name directly
👍 1
s
? kinda what I was thinking, they refer you to k8s docs
n
@straight-cartoon-24485 yes, I am able to pass the namespace value using metadata.name, but also for name without suffix, I have to use the same, which is missing in the docs. Should I create an issue for it, if I am right ?
s
can't hurt 🙂, you're right that's an important detail when they must match
n
Thanks, I will raise an issue in the docs now.
❤️ 1