Skip to content

Conversation

@eschwartz
Copy link
Contributor

Context

The ingress component failed to deploy when running make deploy, with:

W0313 14:22:12.722815 31494 warnings.go:70] path /(/|$) cannot be used with pathType Prefix Error: 1 error occurred: * admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: ingress contains invalid paths: path /raster(/|$)(.) cannot be used with pathType Prefix path /stac(/|$)(.) cannot be used with pathType Prefix path /vector(/|$)(.*) cannot be used with pathType Prefix path /(/|$) cannot be used with pathType Prefix

Changing the type to ImplementationSpecific fixes the error, and the app seems to function as expected

This was after following the GKE setup instructions. I'm guessing there is a newer version of the NGINX Ingress controller that is causing this error.

What I am changing

How I did it

  • I ran through the GCP SKE setup instructions in this repo, then run make deploy.
    • The command failed, and the services were not available via my GKE cluster

How you can test it

  • Run through the GCP SKE setup instructions in this repo, then run make deploy.
    • The command succeeded, and I was able to access all the services via the GKE cluster public IP

eschwartz and others added 2 commits March 13, 2025 14:59
The ingress component failed to deploy when running 
make deploy, with:

W0313 14:22:12.722815 31494 warnings.go:70] path /(/|$) cannot be used with pathType Prefix Error: 1 error occurred: * admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: ingress contains invalid paths: path /raster(/|$)(.*) cannot be used with pathType Prefix path /stac(/|$)(.*) cannot be used with pathType Prefix path /vector(/|$)(.*) cannot be used with pathType Prefix path /(/|$) cannot be used with pathType Prefix

Changing the type to ImplementationSpecific fixes the error,
and the app seems to function as expected
@ividito ividito requested review from ividito and pantierra April 1, 2025 19:31
@ividito ividito merged commit a7c99bd into developmentseed:main Apr 1, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants