I would like to be able to deploy External DNS into an existent K8S namespace in my cluster, such as kube-dns, without letting this module to create it for me.
As per actual behavior, the options are to use default kube-system or to create a new namespace.
I suggest to create an optional boolean flag (i.e.) k8s_create_namespace with default value true.
The new flag should be introduced in the count field of the kubernetes_namespace resource as follows:
@gastoncan
Hey, sorry for the delayed response. The change looks good to me.
Feel free to make a PR for this as well. If not one of us will take a look at implementing this later.
I would like to be able to deploy External DNS into an existent K8S namespace in my cluster, such as
kube-dns
, without letting this module to create it for me. As per actual behavior, the options are to use defaultkube-system
or to create a new namespace. I suggest to create an optional boolean flag (i.e.)k8s_create_namespace
with default valuetrue
. The new flag should be introduced in thecount
field of thekubernetes_namespace
resource as follows: