0

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?

MaartenDev
  • 5,631
  • 5
  • 21
  • 33
  • Hello and welcome to Stack Overflow. Can you provide any solutions that you might have tried already to help resolve your issue? – GRU119 Mar 09 '20 at 20:25

1 Answers1

2

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
...

links: this and this

kadir
  • 589
  • 1
  • 7
  • 29