You need something that will do basically CI/CD. There are few options (in no particular order):
Gitlab + autodeploy (or custom deployment)
skaffold + git-sync + kaniko
There are more, but basically, you need a component to watch for changes, something that knows how to build an image, and something else that can deploy it (some of these might be done by ...
As per https://kubernetes.io/docs/tasks/tools/install-kubectl/#before-you-begin
You must use a kubectl version that is within one minor version difference of your >cluster. For example, a v1.2 client should work with v1.1, v1.2, and v1.3 master. >Using the latest version of kubectl helps avoid unforeseen issues.
So you need to either downgrade your ...