API gateway on Kubernetes error messages
This topic provides information about potential error messages associated with Consul API gateway. If you receive an error message that does not appear in this section, refer to the following resources:
Helm installation failed: "no matches for kind"
Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [unable to recognize "": no matches for kind "GatewayClass" in version "gateway.networking.k8s.io/v1" or "consul.hashicorp.com/v1beta1", unable to recognize "": no matches for kind "GatewayClassConfig" in version "api-gateway.consul.hashicorp.com/v1alpha1"]
Conditions: Consul API gateway generates this error when you did not install the required CRD files in Kubernetes prior to installing Consul API gateway.
Impact: The installation process typically fails after this error message is generated.
Resolution:
Install the required CRDs. Refer to the connectInject. apiGateway.manageExternalCRDs stanza in Consul API gateway installation instructions.
Operation cannot be fulfilled, the object has been modified
Error: Operation cannot be fulfilled on gatewayclassconfigs.consul.hashicorp.com. The object "consul-api-gateway" has been modified. Please apply your changes to the latest version and try again.
Conditions: This error occurs when the gateway controller attempts to update an object that has been modified previously.
Impact: Excessive error logs are produced, but there is no impact to the functionality of the controller.
Resolution: Update the object manually or re-apply the manifest. This shall solve the error.