-
-
Save maleck13/83ed2c844da003ff12694485fa93f89e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: GatewayClass | |
metadata: | |
name: prod | |
spec: | |
controllerName: acme.io/gateway-controller | |
parametersRef: | |
name: Prod | |
group: kuadrant.io | |
kind: GatewayPolicy | |
--- | |
apiVersion: gateway.networking.k8s.io/v1beta1 | |
kind: Gateway | |
metadata: | |
name: prod-external | |
namespace: tenant-ns | |
labels: | |
placement: "env=prod" #used to decide which clusters to place this gateway on (may change in future) | |
spec: | |
gatewayClassName: prod | |
listeners: | |
- name: foo-https | |
protocol: HTTPS | |
port: 443 | |
hostname: 1.a.b.com | |
allowedRoutes: | |
kinds: | |
- kind: HTTPRoute | |
namespaces: | |
from: Selector | |
selector: | |
matchLabels: | |
appType: "api" | |
tls: | |
certificateRefs: | |
- kind: Secret | |
group: "" | |
name: 1.a.b.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment