You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I'm using Kubernetes manifest to create Gateway Route
---
apiVersion: appmesh.k8s.aws/v1beta2
kind: GatewayRoute
metadata:
name: service
namespace: develop
spec:
awsName: service
httpRoute:
match:
prefix: /api/service/
port: 80
action:
rewrite:
prefix:
defaultPrefix: DISABLED
target:
virtualService:
virtualServiceRef:
name: service
I want to remove the ending / at prefix /api/service/ in the manifest file but the CRDs does not allow me to do it. But I can remove it on Console but it keeps adding the / again.
Does anyone know how to get through this one?
Platform
EKS
Expected behavior
A clear and concise description of what you expected to happen.
Error from server (Prefix to be matched on must start and end with '/'): error when applying patch:
{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"appmesh.k8s.aws/v1beta2\",.......
So what I have done to get through it here by created it manually in the console, and it worked without the /
Describe the bug
I'm using Kubernetes manifest to create Gateway Route
I want to remove the ending
/
at prefix/api/service/
in the manifest file but the CRDs does not allow me to do it. But I can remove it on Console but it keeps adding the/
again.Does anyone know how to get through this one?
Platform
EKS
Expected behavior
A clear and concise description of what you expected to happen.
Config files, and API responses
Here is the CRDs file that I'm using: kubectl apply -k "https://github.com/aws/eks-charts/stable/appmesh-controller/crds?ref=master"
The text was updated successfully, but these errors were encountered: