This example stands up a Kong Gateway instance on a pre-provisioned instance of ROSA, using HAProxy as the Ingress Controller instead of Kong Ingress Controller (KIC). This way, we can leverage OpenShift Routes to proxy requests into Kong Gateway. Lastly, we enable BasicAuth RBAC for Kong Manager and Developer Portal.
- A Red Hat account so you can access the Cluster Console.
- A ROSA instance on AWS. You can provision ROSA using these instructions. I create a
cluster-admin
user withHTPasswd
as my IdP for demonstration purposes. oc
CLIrosa
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.simongreen-rosa.27y7.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>
.