The easiest way to get the ClamAV package is using Homebrew
$ brew install clamav
Before trying to start the clamd
process, you'll need a copy of the ClamAV databases.
Create a freshclam.conf
file and configure as so
The easiest way to get the ClamAV package is using Homebrew
$ brew install clamav
Before trying to start the clamd
process, you'll need a copy of the ClamAV databases.
Create a freshclam.conf
file and configure as so
# show full process arguments | |
cat /proc/$PID/cmdline | sed -e "s/\x00/ /g"; echo |
# remove xcode | |
sudo rm -rf $(xcode-select -print-path) | |
# trigger cmdline tools install again | |
xcode-select --install | |
# combined | |
sudo rm -rf $(xcode-select -print-path) && xcode-select --install |
# export, import secrets < 1.14 | |
kubectl get secret $my-secret --export -o yaml -n $source-ns | kubectl -n $target-ns apply -f - | |
# export => 1.14 | |
SECRET= SOURCE= TARGET= \ | |
&& kubectl get secret $SECRET --namespace=$SOURCE -o yaml | sed "s/namespace: .*/namespace: $TARGET/" | kubectl apply -f - | |
# force delete resources | |
kubectl -n prometheus delete --force --grace-period=0 pod |