alanland opened a new issue #186:
URL: https://github.com/apache/apisix-helm-chart/issues/186


   I want use skywalking to monitor apisix request. 
[Documents](https://apisix.apache.org/docs/apisix/plugins/skywalking/)
   
   
   ## Software version
   - Dashboard: 2.9.0
   - Apisix:  2.10.0
   
   ## Reproduce steps
   
   1. Enable `Skywalking` plugin  in dashboard 
   2.  Edit `values.yaml`
       ```yaml
       customPlugins:
         enabled: true]
         plugins:
           - name: "skywalking"
             attrs: |
               service_name: APISIX
               service_instance_name: "APISIX Instance"
               endpoint_addr: http://myskywalking:12800
       ```
   3. Run `helm upgrade ...`
   4. Terminal outputs:
       ```sh
       Error: UPGRADE FAILED: template: apisix/templates/deployment.yaml:96:37: 
executing "apisix/templates/deployment.yaml" at <$plugin.configMap.mounts>: nil 
pointer evaluating interface {}.mounts
       ```
   5. The values template is:
       ```yaml
       customPlugins:
         enabled: false
         # the lua_path that tells APISIX where it can find plugins,
         # note the last ';' is required.
         luaPath: "/opts/custom_plugins/?.lua"
         plugins:
             # plugin name.
           - name: ""
             # plugin attrs
             attrs: |
             # plugin codes can be saved inside configmap object.
             configMap:
               # name of configmap.
               name: ""
               # since keys in configmap is flat, mountPath allows to define 
the mount
               # path, so that plugin codes can be mounted hierarchically.
               mounts:
                 - key: ""
                   path: ""
                 - key: ""
                   path: ""
       ```
   6. How to config `configMap` ?
   
   Thanks!


-- 
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: notifications-unsubscr...@apisix.apache.org

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


Reply via email to