23 lines
1.0 KiB
Go
23 lines
1.0 KiB
Go
package wellknown
|
|
|
|
const (
|
|
// DefaultAgwClassName is the GatewayClass name for the agentgateway proxy.
|
|
DefaultAgwClassName = "agentgateway"
|
|
|
|
// DefaultAgwControllerName is the name of the agentgateway controller that has implemented the Gateway API
|
|
// It is configured to manage GatewayClasses with the name DefaultAgwClassName
|
|
DefaultAgwControllerName = "agentgateway.dev/agentgateway"
|
|
|
|
// GatewayNameLabel is a label on GW pods to indicate the name of the gateway
|
|
// they are associated with. For gateway names > 63 chars, this contains a
|
|
// truncated name with hash suffix. Use GatewayNameAnnotation for the full name.
|
|
GatewayNameLabel = "gateway.networking.k8s.io/gateway-name"
|
|
|
|
// GatewayClassNameLabel is a label on GW pods to indicate the name of the GatewayClass
|
|
// they are associated with.
|
|
GatewayClassNameLabel = "gateway.networking.k8s.io/gateway-class-name"
|
|
|
|
// LeaderElectionID is the name of the lease that leader election will use for holding the leader lock.
|
|
LeaderElectionID = "agentgateway"
|
|
)
|