Custom and use plugin authen and author on kong_ingress k8s #1711
-
hi everyone! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 12 replies
-
Hi @MinhDuc010194, You need to build a custom image that includes your plugin files and then deploy a If you're using the Helm chart there's a feature to load it via https://github.com/Kong/charts/blob/main/charts/kong/values.yaml#L305-L324 NotesThis gets more complicated if you need custom credentials and things like that. For instance in DBLESS mode you have to write the YAML directly and embed it in a secret: https://docs.konghq.com/kubernetes-ingress-controller/1.3.x/guides/configuring-custom-entities/ In DB mode you can't do this at all via the KIC currently: you have to do it directly via the Kong Admin API. |
Beta Was this translation helpful? Give feedback.
Hi @MinhDuc010194,
You need to build a custom image that includes your plugin files and then deploy a
KongPlugin
to get it loaded.If you're using the Helm chart there's a feature to load it via
ConfigMap
mounts:https://github.com/Kong/charts/blob/main/charts/kong/values.yaml#L305-L324
Notes
This gets more complicated if you need custom credentials and things like that.
For instance in DBLESS mode you have to write the YAML directly and embed it in a secret:
https://docs.konghq.com/kubernetes-ingress-controller/1.3.x/guides/configuring-custom-entities/
In DB mode you can't do this at all via the KIC currently: you have to do it directly via the Kong Admin API.