sunkara007 opened a new issue, #2010:
URL: https://github.com/apache/apisix-ingress-controller/issues/2010

   ### Current Behavior
   
   ````
   kubectl apply -f - <<EOF
   apiVersion: apisix.apache.org/v2
   kind: ApisixUpstream
   metadata:
     name: springboot-template-upstream
   spec:
     scheme: https
     passHost: node
     externalNodes:
       - type: Domain
         name: dev1.clouddev.net
         port: 443
   EOF
   ````
   Above upstream signature is giving error as `passHost` is unknown field
   
   ### Expected Behavior
   
   Above yaml should be able to apply using ingress controller as per 
specification provided by 
https://github.com/apache/apisix-ingress-controller/blob/master/samples/deploy/crd/v1/ApisixUpstream.yaml
   
   ### Error Logs
   
   strict decoding error: unknown field "spec.passHost"
   
   ### Steps to Reproduce
   
   1. install APISIX along with ingress controller using helm chart
   2. create ApisixUpstream as mentioned above 
   3. check errors on console
   
   ### Environment
   
   - APISIX Ingress controller version (run `apisix-ingress-controller version 
--long`)
   - Kubernetes cluster version (run `kubectl version`)
   - OS version if running APISIX Ingress controller in a bare-metal 
environment (run `uname -a`)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to