8 lines
194 B
Bash
Executable File
8 lines
194 B
Bash
Executable File
#!/bin/bash
|
|
|
|
ns=$(kubectl get ns -l argocd.argoproj.io/instance | grep -v NAME | awk '{print $1}')
|
|
|
|
for n in $ns; do
|
|
kubectl label --overwrite namespace $n 'argocd.argoproj.io/instance-'
|
|
done
|