Error parsing yaml file: mapping values are not allowed here

后端 未结 7 1802
清歌不尽
清歌不尽 2021-01-30 15:53

I want to upload an app to Google App Engine:

I get this

Error parsing yaml file:
mapping values are not allowed here
  in \"/home/antonio/Desktop/ATI/cl         


        
7条回答
  •  半阙折子戏
    2021-01-30 16:25

    Another cause is wrong indentation which means trying to create the wrong objects. I've just fixed one in a Kubernetes Ingress definition:

    Wrong

    - path: / 
        backend: 
          serviceName:  
          servicePort:  
    

    Correct

    - path: /
      backend:
        serviceName: 
        servicePort: 
    

提交回复
热议问题