Resources also report status.conditions, where each condition carries a reason that explains the current state.
The KongVault reports the outcome of the reference in the ConfigStoreRefValid condition:
kubectl get kongvault $VAULT_PREFIX -o jsonpath-as-json="{.status.conditions[?(@.type=='ConfigStoreRefValid')]}"
|
Reason
|
Meaning
|
Valid
|
The referenced KonnectConfigStore is programmed and its ID was used as the config_store_id.
|
NotProgrammed
|
The KonnectConfigStore exists but hasn’t been created in Konnect yet, so its ID is unknown. This resolves on its own once the Config Store is programmed.
|
RefNotPermitted
|
No KongReferenceGrant in the Config Store’s namespace allows the reference. Check that the grant’s from
entry names the KongVault kind with an empty namespace.
|
Invalid
|
The reference can’t be used at all, for example because the KonnectConfigStore doesn’t exist, the vault
backend isn’t konnect, or spec.config also sets config_store_id. The condition message names the cause,
and fixing it requires a spec change.
|
While the reference is unresolved, Kong Operator doesn’t push the KongVault to
Konnect, so that a Vault is never created with a missing or wrong Config Store ID.
A KonnectConfigStore that still holds secrets isn’t deleted from Konnect. It stays in
Terminating and reports Programmed=False with reason DeletionBlocked:
kubectl get konnectconfigstore $CONFIG_STORE_NAME -n $NAMESPACE -o jsonpath-as-json="{.status.conditions[?(@.type=='Programmed')]}"
Kong Operator retries periodically, and the deletion proceeds once you remove the secrets from the
Config Store in Konnect. For more information, see
lifecycle and deletion.
A KonnectConfigStoreSync always reports four conditions:
ConfigStoreRefValid: whether the referenced KonnectConfigStore exists, is programmed, and is allowed by a
KongReferenceGrant if it’s in another namespace.
SecretRefValid: whether the referenced Secret exists and is allowed by a KongReferenceGrant if it’s in another
namespace. A Secret without the konghq.com/secret: "true" label is reported as NotFound.
PairValid: whether the certificate and key in the Secret form a valid pair. It’s always NotApplicable in Split
mode.
Synced: whether every entry is up to date in the Config Store.
To check why a KonnectConfigStoreSync isn’t Synced:
kubectl get konnectconfigstoresync $CONFIG_STORE_NAME -n $NAMESPACE -o jsonpath-as-json="{.status.conditions[?(@.type=='Synced')]}"
|
Reason
|
Meaning
|
AllEntriesUpToDate
|
Every entry is synced. The condition status is True.
|
WaitingForConfigStore
|
The referenced KonnectConfigStore doesn’t exist, isn’t programmed yet, or isn’t allowed by a KongReferenceGrant.
Check the ConfigStoreRefValid condition.
|
SecretRefInvalid
|
The referenced Secret is missing, isn’t allowed by a KongReferenceGrant, or lacks a mapped field. Check the
SecretRefValid condition. The entries already in the Config Store are kept.
|
PairMismatch
|
The certificate or key is malformed, or they don’t match. Nothing is written until the Secret holds a valid pair.
|
ValueTooLarge
|
An entry value exceeds 5120 bytes. In Combined mode, the limit applies to the JSON object that holds both PEM
values.
|
KeyTooLong
|
A store key exceeds 512 bytes. This can happen with a derived key built from a long namespace, name, or Split
field name. Use shorter names, or set an explicit, shorter store key in a new KonnectConfigStoreSync, because
store keys are immutable once set.
|
KeyConflict
|
Another entry or another KonnectConfigStoreSync uses the same store key in the same Config Store. The oldest
sync keeps the key. Use a different store key.
|
PushFailed
|
The Konnect API request failed. The condition message contains the error.
|
EntryInUse
|
The sync is being deleted with deletionPolicy: Delete, but a KongCertificate still references one of its
entries. Remove the reference, or set deletionPolicy: Orphan to keep the entries.
|
ConfigStoreDeletionBlocked
|
The referenced KonnectConfigStore is being deleted, so the sync doesn’t write or delete entries. Remove the
secrets from the Config Store in Konnect to let the deletion proceed.
|
When a KonnectAPIAuthConfiguration uses a private serverURL, for example to connect over AWS PrivateLink, Kong Operator doesn’t start a component with a configuration that would send its traffic over the public internet. Instead, it holds the component, which means it stops applying changes to it, and reports one of the following conditions:
|
Resource
|
Condition and reason
|
Meaning
|
KonnectAPIAuthConfiguration
|
APIAuthValid=False, Invalid
|
The serverURL host isn’t under an allowed Konnect domain, so Kong Operator doesn’t send a request to it. The message names the allowed domains. They default to konghq.com and konghq.tech. You set them with the --konnect-server-url-domains flag.
|
KonnectExtension
|
Ready=False, InvalidEndpoint
|
An endpoint for the Kong Ingress Controller in Konnect has a path. There’s no private route for its API yet.
|
KonnectExtension
|
Ready=False, EndpointMismatch
|
The serverURL has a path, but Konnect returned public endpoints because it doesn’t return private endpoints for this geo yet. The condition clears on its own once Konnect returns private endpoints for the geo.
|
AIGatewayDataPlane
|
KonnectAIGatewayResolved=False, EndpointMismatch
|
The serverURL and the endpoints that Konnect returned don’t match, or an endpoint has a path. AI Gateway data planes can’t use private endpoints yet.
|
KegDataPlane
|
KonnectEventGatewayResolved=False, EndpointMismatch
|
The serverURL of the KonnectEventGateway has a path. Kong Event Gateway data planes can’t use a path. Setting spec.config.konnect.domain on the KegDataPlane skips the check, but the data plane then connects over the public internet.
|
A held data plane keeps serving traffic.
Until the condition clears, Kong Operator doesn’t apply spec, image, or certificate changes to it, and doesn’t deploy a data plane that isn’t deployed yet.