eg-gateway
Installation
SKILL.md
Create a GatewayClass and Gateway resource for Envoy Gateway. The Gateway defines how traffic enters the cluster through one or more listeners. Each listener specifies a protocol, port, and optional hostname. This skill generates the correct listener configuration for HTTP, HTTPS, TLS passthrough, TCP, and UDP protocols.
Instructions
Step 1: Set variables
Determine the Gateway name and protocols. If the user did not provide values, use these defaults:
- Name: (required, no default)
- Protocols:
http(if not specified)
Parse the Protocols argument into a list. Supported values: http, https, tls-passthrough, tcp, udp.
Step 2: Generate the GatewayClass
Every Gateway references a GatewayClass. Generate this cluster-scoped resource if it does not already exist: