This example stands up a Kong Gateway instance on a pre-provisioned instance of OpenSgift, using Kong Ingress Controller (KIC) for proxying service calls and HAProxy as Ingress Controller. This way, we can leverage OpenShift Routes to proxy requests into kong-manager, admin-api and dev-portal. Lastly, we enable OIDC RBAC for Kong Manager and Developer Portal and configure Okta as the IdP.
- An OpenShift instance up and running and access to a
cluster-admin
user. oc
CLI
-
Copy your enterprise license file to a new file called
license
. -
Run the install script via a BASH shell, passing the
.apps.*
part or your OpenShift cluster URL e.g..apps.pvergilis-rosa.ukwh.p1.openshiftapps.com
:
./install.sh <apps URL>
-
Login to Kong Manager with
http://manager-kong.<apps URL>
(u: kong_admin p: kong) -
Kong Dev Portal can be reached at
http://dev-portal.<apps URL>
once Dev Portal has been enabled via the Manager. -
API requests can be posted to
proxy-kong.<apps URL>
.