I'm getting an error
"error: unable to recognize "harbor.yaml": no matches for kind "Deployment" in version "v1.10."
What should I use in version variable, while writing the YAML, please tell?
I really don't know about Harbor but if it is related to kubernetes deployment definition yaml, in kubernetes's documentation it says deployment version would be like this:
...
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
...