Closed sergerad closed 4 years ago
Hi @SergeRadinovich according to {plugins={[5]={route=\"value must be null\"}}}"}
looks like you are attaching this plugin to a specific route. However this plugin can only be used as a global plugin at present.
Thanks for the response.
Am I right in assuming all I have to do is kubectl apply -f
the following yaml for the plugin to be working globally?
apiVersion: configuration.konghq.com/v1
kind: KongPlugin
metadata:
name: acme
plugin: acme
config:
domains:
- kongtroller.projectmin.org
- api.projectmin.org
- guardian-api.projectmin.org
tos_accepted: true
account_email: serge@edgeworx.io
Without the annotation the logs show this when trying to make the acme dummy ingress
W0611 06:31:15.177197 1 parser.go:1617] service kong/acme-dummy does not have any active endpoints
I0611 06:31:15.178356 1 kong.go:68] no configuration change, skipping sync to Kong
Do I need to make a deployment that the svc points to? Or make another svc type? This is not documented I believe.
Found that the plugin is not required for setting up HTTPs on K8s Kong as per this guide:
https://github.com/Kong/kubernetes-ingress-controller/blob/master/docs/guides/cert-manager.md
Had an issue relating to the ClusterIssuer
I am trying to configure the plugin on Kong deployed on K8s (dbless).
Ingress Controller logs show this error:
Trying to hit the acme route produces 503:
KongPlugin CR looks like this:
Relevant ingress looks like this:
Ingress points to this svc (selector pointing to nothing)