From b74a9682d6740be8e2f57fb8ede971fb37534395 Mon Sep 17 00:00:00 2001 From: rasmus Date: Thu, 7 Aug 2025 18:49:08 +0300 Subject: [PATCH] docs for comparing ns <> dir <> argo --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index c161013..3392142 100644 --- a/README.md +++ b/README.md @@ -70,3 +70,12 @@ _This page is referenced by wiki [front page](https://wiki.k-space.ee) as **the* - etherpad NB! probably NOT using kspace_etherpad_kube NB! does not take DNS likely due to netpol, hardcoded to 172.20.36.1 - grafana - woodpecker + +# manual sync +```sh +kubectl g ns -o name | cut -d/ -f2- | grep -v \ + -e calico-apiserver -e calico-system `# by tigera-operator` \ + -e kube-node-lease -e kube-public -e node-feature-discovery `# generated by kube` \ + | sort > namespaces.swp +find -mindepth 1 -maxdepth 1 -type d | cut -d/ -f2- | grep -v -e _disabled -e .git | sort > dirs.swp +ls argocd/applications | exteat > argo.swp # exteat from github.com/jtagcat/jtagcat