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
ingress2gateway print --providers istio | k apply -f -I0419 16:42:17.535135 38688 converter.go:148] ignoring field: istio.Gateway[httpbin-gateway].Server[0].Port.Namegateway.gateway.networking.k8s.io/httpbin-gateway configuredError from server (Invalid): error when applying patch:{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"gateway.networking.k8s.io/v1\",\"kind\":\"HTTPRoute\",\"metadata\":{\"annotations\":{},\"creationTimestamp\":null,\"name\":\"httpbin-idx-0\",\"namespace\":\"default\"},\"spec\":{\"hostnames\":[\"*\"],\"parentRefs\":[{\"group\":\"gateway.networking.k8s.io\",\"kind\":\"Gateway\",\"name\":\"httpbin-gateway\"}],\"rules\":[{\"backendRefs\":[{\"name\":\"httpbin\",\"namespace\":\"default\",\"port\":8080,\"weight\":0}],\"matches\":[{\"path\":{\"type\":\"PathPrefix\",\"value\":\"/get\"}},{\"path\":{\"type\":\"RegularExpression\",\"value\":\"^/status/[0-9]{3}$\"}}]}]},\"status\":{\"parents\":null}}\n"}},"spec":{"hostnames":["*"],"rules":[{"backendRefs":[{"name":"httpbin","namespace":"default","port":8080,"weight":0}],"matches":[{"path":{"type":"PathPrefix","value":"/get"}},{"path":{"type":"RegularExpression","value":"^/status/[0-9]{3}$"}}]}]}}to:Resource: "gateway.networking.k8s.io/v1, Resource=httproutes", GroupVersionKind: "gateway.networking.k8s.io/v1, Kind=HTTPRoute"Name: "httpbin-idx-0", Namespace: "default"for: "STDIN": error when patching "STDIN": HTTPRoute.gateway.networking.k8s.io "httpbin-idx-0" is invalid: spec.hostnames[0]: Invalid value: "*": spec.hostnames[0] in body should match '^(\*\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$'Error from server (Invalid): error when applying patch:{"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"apiVersion\":\"gateway.networking.k8s.io/v1\",\"kind\":\"HTTPRoute\",\"metadata\":{\"annotations\":{},\"creationTimestamp\":null,\"name\":\"httpbin-idx-1\",\"namespace\":\"default\"},\"spec\":{\"hostnames\":[\"*\"],\"parentRefs\":[{\"group\":\"gateway.networking.k8s.io\",\"kind\":\"Gateway\",\"name\":\"httpbin-gateway\"}],\"rules\":[{\"backendRefs\":[{\"name\":\"httpbin\",\"namespace\":\"default\",\"port\":8080,\"weight\":0}],\"matches\":[{\"path\":{\"type\":\"PathPrefix\",\"value\":\"/\"}}]}]},\"status\":{\"parents\":null}}\n"}},"spec":{"hostnames":["*"],"rules":[{"backendRefs":[{"name":"httpbin","namespace":"default","port":8080,"weight":0}],"matches":[{"path":{"type":"PathPrefix","value":"/"}}]}]}}to:Resource: "gateway.networking.k8s.io/v1, Resource=httproutes", GroupVersionKind: "gateway.networking.k8s.io/v1, Kind=HTTPRoute"Name: "httpbin-idx-1", Namespace: "default"for: "STDIN": error when patching "STDIN": HTTPRoute.gateway.networking.k8s.io "httpbin-idx-1" is invalid: spec.hostnames[0]: Invalid value: "*": spec.hostnames[0] in body should match '^(\*\.)?[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$'
Anything else we need to know?:
The text was updated successfully, but these errors were encountered:
What happened:
try to convert following configuration to istio, but rejected by apiserver
What you expected to happen:
apiserver didn't reject the converted result.
How to reproduce it (as minimally and precisely as possible):
apply following result to cluster:
then running:
Anything else we need to know?:
The text was updated successfully, but these errors were encountered: