add PILOT_ENABLE_ALPHA_GATEWAY_API and fix gateway status update (#1421)

This commit is contained in:
韩贤涛
2024-10-24 20:57:46 +08:00
committed by GitHub
parent d952fa562b
commit 496d365a95
4 changed files with 11 additions and 3 deletions

View File

@@ -19,6 +19,7 @@ import "istio.io/pkg/env"
var (
PodNamespace = env.RegisterStringVar("POD_NAMESPACE", "higress-system", "").Get()
PodName = env.RegisterStringVar("POD_NAME", "", "").Get()
GatewayName = env.RegisterStringVar("GATEWAY_NAME", "higress-gateway", "").Get()
// Revision is the value of the Istio control plane revision, e.g. "canary",
// and is the value used by the "istio.io/rev" label.
Revision = env.Register("REVISION", "", "").Get()