kuadrant-operator icon indicating copy to clipboard operation
kuadrant-operator copied to clipboard

Enable gateway api alpha APIs

Open eguzki opened this issue 1 year ago • 1 comments

What

Enable Gateway API alpha APIs for the development environment. It is mandatory for testing current alpha APIs like GRPCRoute API.

Verification steps

Istio operator

make local-setup

When finished, check the discovery controller has PILOT_ENABLE_ALPHA_GATEWAY_API env var set to true

kubectl get deployment istiod -n istio-system -o jsonpath='{.spec.template.spec.containers[?(@.name=="discovery")].env[?(@.name=="PILOT_ENABLE_ALPHA_GATEWAY_API")]}' | yq e -P

Should return

name: PILOT_ENABLE_ALPHA_GATEWAY_API
value: "true"

Sail operator

ISTIO_INSTALL_SAIL=true make local-setup

When finished, check the discovery controller has PILOT_ENABLE_ALPHA_GATEWAY_API env var set to true

kubectl get deployment istiod -n istio-system -o jsonpath='{.spec.template.spec.containers[?(@.name=="discovery")].env[?(@.name=="PILOT_ENABLE_ALPHA_GATEWAY_API")]}' | yq e -P

Should return

name: PILOT_ENABLE_ALPHA_GATEWAY_API
value: "true"

eguzki avatar Feb 15 '24 17:02 eguzki