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

proud-spoon-58287

11/11/2020, 10:12 AM
Hi all, how one specifies the namespace where to apply new k8s.yaml.ConfigFile?
in other words, how can I achieve this:
Copy code
k apply -f operators/kafka/kafka-ephemeral.yaml -n strimzi-w682v22g
using this
Copy code
const kafkaEphemeral = new k8s.yaml.ConfigFile("kafka-ephemeral", {
    file: "operators/kafka/kafka-ephemeral.yaml",
 }, {
    provider: strimziKafkaCluster.provider,
    dependsOn: strimziClusterOperator
});?
?
namespace postfix changes at every deploy, so I cannot really hardcoded it
@sticky-translator-17495 maybe you got a clue? 😆
s

steep-angle-29984

11/11/2020, 1:02 PM
4 Views