Because make will run ifeq shell commands on every invocation, every target
causes kubectl to be invoked to list namespaces, even targets which never
would have reached the targets in question. Instead, update such targets
to use kubectl apply instead of kubectl create so that creation will succeed
even if the namespace already exists.
Checklist
[X] Commits are signed with Developer Certificate of Origin (DCO)
Because make will run ifeq shell commands on every invocation, every target causes kubectl to be invoked to list namespaces, even targets which never would have reached the targets in question. Instead, update such targets to use kubectl apply instead of kubectl create so that creation will succeed even if the namespace already exists.
Checklist