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 2020/09/08 08:18:33 UTC

[GitHub] [apisix] gxthrj commented on issue #2182: bug: error in the pod when deploying apisix-gw-config-cm.yaml in kubernetes

gxthrj commented on issue #2182:
URL: https://github.com/apache/apisix/issues/2182#issuecomment-688703913


   > This is config.yaml file content:
   > 
   > ```yaml
   > apiVersion: v1
   > data:
   >   config.yaml: |
   > kind: ConfigMap
   > metadata:
   >   name: apisix-gw-config.yaml
   >   namespace: default
   > dns_resolver:
   >   10.244.3.14
   > ```
   
   ```yaml
   apiVersion: v1
   data:
     config.yaml: |
     dns_resolver:
       10.244.3.14
   kind: ConfigMap
   metadata:
     name: apisix-gw-config.yaml
     namespace: default
   
   ```
   the `dns_resolver ` should be in `data` field


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