You are browsing documentation for an older version. See the latest documentation here.
Enterprise License
Kong Gateway Operator can enable enterprise features using the KongLicense
CRD.
-
Create a file named
license.json
containing your Kong Gateway Enterprise license. -
Create a
KongLicense
object with therawLicenseString
field set to your license:echo " apiVersion: configuration.konghq.com/v1alpha1 kind: KongLicense metadata: name: kong-license rawLicenseString: '$(cat ./license.json)' " | kubectl apply -f -
-
Verify that Kong Ingress Controller is using the license:
kubectl describe konglicense kong-license
The results should look like this, including the
Programmed
condition withTrue
status:Name: kong-license Namespace: Labels: <none> Annotations: <none> API Version: configuration.konghq.com/v1alpha1 Enabled: true Kind: KongLicense Metadata: Creation Timestamp: 2024-02-06T15:37:58Z Generation: 1 Resource Version: 2888 Raw License String: <your-license-string> Status: Controllers: Conditions: Last Transition Time: 2024-02-06T15:37:58Z Message: Reason: PickedAsLatest Status: True Type: Programmed Controller Name: konghq.com/kong-gateway-operator