Skip to content

Custom and use plugin authen and author on kong_ingress k8s #1711

Answered by shaneutt
MinhDuc010194 asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 12 replies

Comment options

You must be logged in to vote
12 replies
@MinhDuc010194
Comment options

@MinhDuc010194
Comment options

@shaneutt
Comment options

@MinhDuc010194
Comment options

@shaneutt
Comment options

Answer selected by shaneutt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants