Run the following command to verify that the authentication configuration was created successfully:
kubectl get konnectapiauthconfiguration konnect-api-auth -n kong
You should see output similar to the following:
NAME VALID ORGID SERVERURL
konnect-api-auth True 5ca26716-02f7-4430-9117-1d1a7a2695e7 https://us.api.konghq.com
The KonnectAPIAuthConfiguration is only usable once its APIAuthValid condition reports True:
You can verify the KonnectAPIAuthConfiguration was reconciled successfully by checking its APIAuthValid condition.
kubectl get -n kong konnectapiauthconfiguration konnect-api-auth \
-o=jsonpath='{.status.conditions[?(@.type=="APIAuthValid")]}' | jq
The output should look similar to this:
{
"observedGeneration": 1,
"reason": "Valid",
"status": "True",
"type": "APIAuthValid"
}