You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2021/05/10 08:50:03 UTC

[GitHub] [apisix-ingress-controller] tokers edited a comment on issue #423: bug: ingress routing resource manifest file does not take effect 路由的资源清单文件不生效

tokers edited a comment on issue #423:
URL: https://github.com/apache/apisix-ingress-controller/issues/423#issuecomment-836396812


   > ```
   > apiVersion: v1
   > data:
   >   config.yaml: |
   >     # log options
   >     log_level: "info"
   >     log_output: "stderr"
   >     http_listen: ":8080"
   >     enable_profiling: true
   >     kubernetes:
   >       kubeconfig: ""
   >       resync_interval: "60s"
   >       app_namespaces:
   >       - "*"
   >     apisix:
   >       base_url: "http://xxxxxx:9180/apisix/admin"
   >       admin_key: "edd1c9f034335f136f87ad84b625c8f1"
   > kind: ConfigMap
   > metadata:
   >   annotations:
   >     meta.helm.sh/release-name: apisix-ingress-controller
   >     meta.helm.sh/release-namespace: ingress-apisix
   >   creationTimestamp: "2021-05-08T08:09:34Z"
   >   labels:
   >     app.kubernetes.io/instance: apisix-ingress-controller
   >     app.kubernetes.io/managed-by: Helm
   >     app.kubernetes.io/name: apisix-ingress-controller
   >     app.kubernetes.io/version: 0.4.0
   >     helm.sh/chart: apisix-ingress-controller-0.3.0
   >   name: apisix-ingress-controller-configmap
   >   namespace: ingress-apisix
   >   resourceVersion: "7545638850"
   >   selfLink: /api/v1/namespaces/ingress-apisix/configmaps/apisix-ingress-controller-configmap
   >   uid: 74524651-7a57-4d6d-a894-2f0b4715e11a
   > ```
   
   I add the change for the watching version of ingress.
   ```
   apiVersion: v1
   data:
     config.yaml: |
       # log options
       log_level: "info"
       log_output: "stderr"
       http_listen: ":8080"
       enable_profiling: true
       kubernetes:
         kubeconfig: ""
         resync_interval: "60s"
         ingressVersion: networking/v1beta1
         app_namespaces:
         - "*"
       apisix:
         base_url: "http://xxxxxx:9180/apisix/admin"
         admin_key: "edd1c9f034335f136f87ad84b625c8f1"
   kind: ConfigMap
   metadata:
     annotations:
       meta.helm.sh/release-name: apisix-ingress-controller
       meta.helm.sh/release-namespace: ingress-apisix
     creationTimestamp: "2021-05-08T08:09:34Z"
     labels:
       app.kubernetes.io/instance: apisix-ingress-controller
       app.kubernetes.io/managed-by: Helm
       app.kubernetes.io/name: apisix-ingress-controller
       app.kubernetes.io/version: 0.4.0
       helm.sh/chart: apisix-ingress-controller-0.3.0
     name: apisix-ingress-controller-configmap
     namespace: ingress-apisix
     resourceVersion: "7545638850"
     selfLink: /api/v1/namespaces/ingress-apisix/configmaps/apisix-ingress-controller-configmap
     uid: 74524651-7a57-4d6d-a894-2f0b4715e11a
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org