I'm struggling to deploy Hashicorp's Vault to GKE in HA mode at the moment.
I'm currently running into the following error:
Translation failed: invalid ingress spec: failed to validate prefix path /* due to invalid wildcard Translate
Within the vault.yaml file, I have the ingress set up as follows:
ingress:
enabled: true
labels:
traffic: external
annotations:
kubernetes.io/ingress.global-static-ip-name: "vault-ui"
kubernetes.io/ingress.allow-http: "false"
kubernetes.io/tls-acme: "true"
ingressClassName: ""
pathType: Prefix
activeService: true
hosts:
- host: vault-lab.company.com
paths:
- /*
According to the documentation (https://cloud.google.com/kubernetes-engine/docs/concepts/ingress#multiple_backend_services), "/*" should be fine to use.
What am I doing wrong?
Any help with this would be appreciated.
The fix is to switch the pathType to ImplementationSpecific instead of Prefix. /* is only supported with ImplementationSpecific.