tao12345666333 commented on issue #722:
URL: 
https://github.com/apache/apisix-ingress-controller/issues/722#issuecomment-958785270


   I used an empty apisixupstream for testing, but no panic occurred.
   
   ```bash
   ➜  ~ kubectl -n foo get au -oyaml                 
   apiVersion: v1
   items:
   - apiVersion: apisix.apache.org/v1
     kind: ApisixUpstream
     metadata:
       annotations:
         kubectl.kubernetes.io/last-applied-configuration: |
           
{"apiVersion":"apisix.apache.org/v1","kind":"ApisixUpstream","metadata":{"annotations":{},"name":"foo","namespace":"foo"}}
       creationTimestamp: "2021-11-03T09:33:38Z"
       generation: 1
       name: foo
       namespace: foo
       resourceVersion: "9746"
       uid: 6fad05a4-4cc1-4108-9ea1-f33df2c06239
   kind: List
   metadata:
     resourceVersion: ""
     selfLink: ""
   ➜  ~ kubectl -n foo describe au foo
   Name:         foo
   Namespace:    foo
   Labels:       <none>
   Annotations:  <none>
   API Version:  apisix.apache.org/v1
   Kind:         ApisixUpstream
   Metadata:
     Creation Timestamp:  2021-11-03T09:33:38Z
     Generation:          1
     Managed Fields:
       API Version:  apisix.apache.org/v1
       Fields Type:  FieldsV1
       fieldsV1:
         f:metadata:
           f:annotations:
             .:
             f:kubectl.kubernetes.io/last-applied-configuration:
       Manager:         kubectl-client-side-apply
       Operation:       Update
       Time:            2021-11-03T09:33:38Z
     Resource Version:  9746
     UID:               6fad05a4-4cc1-4108-9ea1-f33df2c06239
   Events:              <none>
   ```
   
   


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