Admission webhook "validate.nginx.ingress.kubernetes.io"

From wikieduonline
Jump to navigation Jump to search
Admission webhook "validate.nginx.ingress.kubernetes.io" denied the request: ingress contains invalid paths: path /?(.*) cannot be used with pathType Prefix


Solution: disable in nginx strict-validate-path-type or change pathType: ImplementationSpecific in every ingress.

Example:

       paths:
         - path: /(.*)
           pathType: ImplementationSpecific
nginx.ingress.kubernetes.io/use-regex


See also[edit]

Advertising: