Open spkane opened 3 years ago
Hi @spkane thanks for reporting. yes currently kubectl-neat only cleans the proper metadata at the top level, it doesn't know about other metadata items that "hide" within the pod template. I'll leave this open in case someone wants to propose a solution
kubectl create deployment test --image=test --namespace test --dry-run=client -o yaml --replicas=3 | kubectl neat