Kong Ingress Controller & KeyCloak

I have found this thread (Nokia/kong-oidc and Auth0 on Kubernetes help) that creates a docker image from kong and installs a plugin from luarocks, which meets my use case however this is the full kong image and I need to do this with the ingress image. Is there an example of this anywhere that I can follow?

I’ve got the following which is getting close (I hope) but still not managing to get the docker image to run.

Output when trying to run the docker image.

-------------------------------------------------------------------------------
Kong Ingress controller
  Release:    f10c76e
  Build:      f10c76e
  Repository: https://github.com/Kong/kubernetes-ingress-controller
  Go:         go1.13.7
-------------------------------------------------------------------------------

F0206 05:20:16.779928       1 main.go:100] either --publish-service or --publish-status-addressmust be specified

Am I missing some configuration?

Docker Image

FROM kong-docker-kubernetes-ingress-controller.bintray.io/master:latest

USER root

RUN apk update && apk add wget && rm -rf /var/cache/apk/*

ENV LUA_VERSION 5.3
ENV LUA_PACKAGE lua${LUA_VERSION}
ENV LUAROCKS_VERSION 3.0.3

# Install packages necessary for Lua, Luarocks.
RUN apk add ${LUA_PACKAGE}
RUN apk add ${LUA_PACKAGE}-dev
RUN apk add luajit
RUN apk add luarocks
RUN apk add build-base git bash zip unzip curl
RUN ln -s /usr/bin/luarocks-$LUA_VERSION /usr/bin/luarocks

RUN luarocks install kong-oidc

I’ve also tried to customize Kong with https://github.com/Kong/docker-kong/tree/master/customize but when starting the image it looks for a database so it’s either that the Ingress controller image is different or that there is config missing to setup db-lss mode.

Any help would be greatly appreciated.