lgy1027 commented on issue #641:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/641#issuecomment-902386069


   > please paste the plain text instead of image
   
   apisixrouter:
   ````
   apiVersion: apisix.apache.org/v1
   kind: ApisixRoute
   metadata:
     creationTimestamp: "2021-08-20T01:48:08Z"
     generation: 1
     managedFields:
     - apiVersion: apisix.apache.org/v2alpha1
       fieldsType: FieldsV1
       fieldsV1:
         f:metadata:
           f:ownerReferences:
             .: {}
             k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
               .: {}
               f:apiVersion: {}
               f:kind: {}
               f:name: {}
               f:uid: {}
         f:spec: {}
       manager: inference-server
       operation: Update
       time: "2021-08-20T01:48:08Z"
     - apiVersion: apisix.apache.org/v2alpha1
       fieldsType: FieldsV1
       fieldsV1:
         f:spec:
           f:http: {}
         f:status:
           .: {}
           f:conditions: {}
       manager: apisix-ingress-controller
       operation: Update
       time: "2021-08-20T01:48:09Z"
     name: test-apisix-lgy-grpc
     namespace: huan
     ownerReferences:
     - apiVersion: apps/v1
       kind: Deployment
       name: test-apisix-lgy
       uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
     resourceVersion: "17416599"
     selfLink: 
/apis/apisix.apache.org/v1/namespaces/huan/apisixroutes/test-apisix-lgy-grpc
     uid: fb6eda46-327a-40fc-80b7-7f37fa8d002e
   spec:
     http:
     - authentication:
         enable: true
         keyauth: {}
         type: keyAuth
       backends:
       - serviceName: test-apisix-lgy-grpc
         servicePort: 8501
         weight: 100
       match:
         hosts:
         - test-apisix-lgy-testinference.bitahub.com
         paths:
         - /*
       name: test-apisix-lgy-grpc
       plugins:
       - config:
           whitelist:
           - huan_testconsumerapisixconsumerlgy
         enable: true
         name: consumer-restriction
       websocket: false
   status:
     conditions:
     - lastTransitionTime: "2021-08-20T01:48:09Z"
       message: Sync Successfully
       reason: ResourcesSynced
       status: "True"
       type: ResourcesAvailable
   ````
   
   apisixUpstream
   ````
   apiVersion: apisix.apache.org/v1
   kind: ApisixUpstream
   metadata:
     creationTimestamp: "2021-08-20T01:48:08Z"
     generation: 1
     managedFields:
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:metadata:
           f:ownerReferences:
             .: {}
             k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
               .: {}
               f:apiVersion: {}
               f:kind: {}
               f:name: {}
               f:uid: {}
         f:spec:
           .: {}
           f:portLevelSettings: {}
       manager: inference-server
       operation: Update
       time: "2021-08-20T01:48:08Z"
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:status:
           .: {}
           f:conditions: {}
       manager: apisix-ingress-controller
       operation: Update
       time: "2021-08-20T01:48:09Z"
     name: test-apisix-lgy-grpc
     namespace: huan
     ownerReferences:
     - apiVersion: apps/v1
       kind: Deployment
       name: test-apisix-lgy
       uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
     resourceVersion: "17417069"
     selfLink: 
/apis/apisix.apache.org/v1/namespaces/huan/apisixupstreams/test-apisix-lgy-grpc
     uid: f8ad3d42-ea39-4443-8866-7500b79692a8
   spec:
     portLevelSettings:
     - port: 8501
       scheme: grpc
   status:
     conditions:
     - lastTransitionTime: "2021-08-20T01:49:14Z"
       message: Sync Successfully
       reason: ResourcesSynced
       status: "True"
       type: ResourcesAvailable
   ````
   
   apisixTls:
   ````
   apiVersion: apisix.apache.org/v1
   kind: ApisixTls
   metadata:
     creationTimestamp: "2021-08-20T01:48:08Z"
     generation: 1
     managedFields:
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:metadata:
           f:ownerReferences:
             .: {}
             k:{"uid":"b4f0c172-bdf4-4094-9464-36f13c6464f6"}:
               .: {}
               f:apiVersion: {}
               f:kind: {}
               f:name: {}
               f:uid: {}
         f:spec:
           .: {}
           f:hosts: {}
           f:secret:
             .: {}
             f:name: {}
             f:namespace: {}
       manager: inference-server
       operation: Update
       time: "2021-08-20T01:48:08Z"
     - apiVersion: apisix.apache.org/v1
       fieldsType: FieldsV1
       fieldsV1:
         f:status:
           .: {}
           f:conditions: {}
       manager: apisix-ingress-controller
       operation: Update
       time: "2021-08-20T01:48:09Z"
     name: test-apisix-lgy-grpc
     namespace: huan
     ownerReferences:
     - apiVersion: apps/v1
       kind: Deployment
       name: test-apisix-lgy
       uid: b4f0c172-bdf4-4094-9464-36f13c6464f6
     resourceVersion: "17416594"
     selfLink: 
/apis/apisix.apache.org/v1/namespaces/huan/apisixtlses/test-apisix-lgy-grpc
     uid: 21e2604a-55a1-41c8-8fc2-a59b90cabbef
   spec:
     hosts:
     - test-apisix-lgy-testinference.bitahub.com
     secret:
       name: test-apisix-lgy-grpc-tls
       namespace: huan
   status:
     conditions:
     - lastTransitionTime: "2021-08-20T01:48:09Z"
       message: Sync Successfully
       reason: ResourcesSynced
       status: "True"
       type: ResourcesAvailable
   ````
   
   I am using V2alpha1 to create apisixrouter, why does the resource display v1


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