alanland commented on issue #186:
URL: 
https://github.com/apache/apisix-helm-chart/issues/186#issuecomment-985214098


   > "skywalking" is a built-in plugin, so you don't have to use 
`customPlugins`. Let's edit the plugin list to add the `skywalking`, see 
https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L140
 for details.
   
   Thanks.
   
   But my problem is cannot set skywalking in `values.yaml` endpoint, documents 
says to config plugin attr like:
   ```yaml
   plugin_attr:
     skywalking:
       service_name: APISIX
       service_instance_name: "APISIX Instance Name"
       endpoint_addr: http://127.0.0.1:12800
   ```
   when you configed `plugin_attr`,the `deployment.yaml` will create 
a`volumeMount`, that my real trouble.
   
   Finally I solved it by rewrite `configmap.yaml` to apply plugin_attrs.
   
   ```yaml
       {{- if .Values.myCustomPlugins.enabled }}
       plugin_attr:
       {{- range $plugin := .Values.myCustomPlugins.plugins }}
         {{ $plugin.name }}: {{ $plugin.attrs | toYaml | nindent 8 }}
       {{- end }}
       {{- end }}
   ```
   


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