Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates Infra IR Port Naming #518

Merged
merged 1 commit into from
Oct 7, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: tls
protocol: "HTTPS"
servicePort: 443
containerPort: 10443
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: tls
protocol: "HTTPS"
servicePort: 443
containerPort: 10443
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
gateways:
- apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
namespace: envoy-gateway
name: gateway-1
spec:
gatewayClassName: envoy-gateway-class
listeners:
- name: http
protocol: HTTP
port: 80
allowedRoutes:
namespaces:
from: All
- name: tls
protocol: HTTPS
port: 443
allowedRoutes:
namespaces:
from: All
tls:
mode: Terminate
certificateRefs:
- name: tls-secret-1
secrets:
- apiVersion: v1
kind: Secret
metadata:
namespace: envoy-gateway
name: tls-secret-1
type: kubernetes.io/tls
data:
tls.crt: Zm9vCg==
tls.key: YmFyCg==
httpRoutes:
- apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
namespace: default
name: httproute-1
spec:
parentRefs:
- namespace: envoy-gateway
name: gateway-1
rules:
- matches:
- path:
value: "/"
backendRefs:
- name: service-1
port: 8080
Original file line number Diff line number Diff line change
@@ -0,0 +1,127 @@
gateways:
- apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
namespace: envoy-gateway
name: gateway-1
spec:
gatewayClassName: envoy-gateway-class
listeners:
- name: http
protocol: HTTP
port: 80
allowedRoutes:
namespaces:
from: All
- name: tls
protocol: HTTPS
port: 443
allowedRoutes:
namespaces:
from: All
tls:
mode: Terminate
certificateRefs:
- name: tls-secret-1
status:
listeners:
- name: http
supportedKinds:
- group: gateway.networking.k8s.io
kind: HTTPRoute
attachedRoutes: 1
conditions:
- type: Ready
status: "True"
reason: Ready
message: Listener is ready
- name: tls
supportedKinds:
- group: gateway.networking.k8s.io
kind: HTTPRoute
attachedRoutes: 1
conditions:
- type: Ready
status: "True"
reason: Ready
message: Listener is ready
httpRoutes:
- apiVersion: gateway.networking.k8s.io/v1beta1
kind: HTTPRoute
metadata:
namespace: default
name: httproute-1
spec:
parentRefs:
- namespace: envoy-gateway
name: gateway-1
rules:
- matches:
- path:
value: "/"
backendRefs:
- name: service-1
port: 8080
status:
parents:
- parentRef:
namespace: envoy-gateway
name: gateway-1
controllerName: gateway.envoyproxy.io/gatewayclass-controller
conditions:
- type: Accepted
status: "True"
reason: Accepted
message: Route is accepted
xdsIR:
envoy-gateway-gateway-1:
http:
- name: envoy-gateway-gateway-1-http
address: 0.0.0.0
port: 10080
hostnames:
- "*"
routes:
- name: default-httproute-1-rule-0-match-0-*
pathMatch:
prefix: "/"
destinations:
- host: 7.7.7.7
port: 8080
weight: 1
- name: envoy-gateway-gateway-1-tls
address: 0.0.0.0
port: 10443
hostnames:
- "*"
tls:
serverCertificate: Zm9vCg==
privateKey: YmFyCg==
routes:
- name: default-httproute-1-rule-0-match-0-*
pathMatch:
prefix: "/"
destinations:
- host: 7.7.7.7
port: 8080
weight: 1
infraIR:
envoy-gateway-gateway-1:
proxy:
metadata:
labels:
gateway.envoyproxy.io/owning-gateway-namespace: envoy-gateway
gateway.envoyproxy.io/owning-gateway-name: gateway-1
name: envoy-gateway-gateway-1
image: envoyproxy/envoy:v1.23-latest
listeners:
- address: ""
ports:
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
- name: tls
protocol: "HTTPS"
servicePort: 443
containerPort: 10443
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http-1
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http-1
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
servicePort: 80
containerPort: 10080
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ infraIR:
listeners:
- address: ""
ports:
- name: envoy-gateway-gateway-1
- name: http
protocol: "HTTP"
containerPort: 10080
servicePort: 80
Expand Down
Loading