Flush DNS Cache
How to clear the DNS cache on Windows, macOS, and Linux.
In my case, I’ve created a special Kubernetes controller to work with a GitHub App to exchange the App JWT for an installation-specific and short-lived GHS token. This controller updates the token before it expires and updates some third-party integrations such as ArgoCD OCI repository credentials and Dockerconfig JSON secrets. Unfortunately, this controller is currently useless due to GitHub limitations: only personal access tokens (classic) can access private registries (see GitHub discussion for more details).
This is a quite common problem with quite common solutions.
1 | sudo killall coreaudiod |