-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d589470
commit 6ca2f1b
Showing
2 changed files
with
44 additions
and
44 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,47 @@ | ||
--- | ||
# To test this gateway modify the /etc/hosts and set the *.ninebasetwo.net to the LB IP of the external-gateway | ||
apiVersion: gateway.networking.k8s.io/v1 | ||
kind: Gateway | ||
metadata: | ||
name: external-gateway | ||
namespace: kube-system | ||
annotations: | ||
cert-manager.io/cluster-issuer: letsencrypt-prod | ||
external-dns.alpha.kubernetes.io/target: ninebasetwo.net | ||
spec: | ||
gatewayClassName: cilium | ||
listeners: | ||
- name: external-gateway-https | ||
port: 443 | ||
protocol: HTTPS | ||
hostname: "*.ninebasetwo.net" | ||
allowedRoutes: | ||
namespaces: | ||
from: All | ||
tls: | ||
mode: Terminate | ||
certificateRefs: | ||
- name: gateway-tls | ||
- name: external-gateway-http | ||
port: 80 | ||
protocol: HTTP | ||
hostname: "*.ninebasetwo.net" | ||
allowedRoutes: | ||
namespaces: | ||
from: All | ||
--- | ||
# --- | ||
# # To test this gateway modify the /etc/hosts and set the *.ninebasetwo.net to the LB IP of the external-gateway | ||
# apiVersion: gateway.networking.k8s.io/v1 | ||
# kind: Gateway | ||
# metadata: | ||
# name: internal-gateway | ||
# namespace: kube-system | ||
# name: external-gateway | ||
# namespace: kube-system | ||
# annotations: | ||
# cert-manager.io/cluster-issuer: letsencrypt-prod | ||
# external-dns.alpha.kubernetes.io/target: ninebasetwo.net | ||
# spec: | ||
# gatewayClassName: cilium | ||
# listeners: | ||
# - name: internal-gateway-http | ||
# port: 80 | ||
# protocol: HTTP | ||
# allowedRoutes: | ||
# namespaces: | ||
# from: All | ||
# gatewayClassName: cilium | ||
# listeners: | ||
# - name: external-gateway-https | ||
# port: 443 | ||
# protocol: HTTPS | ||
# hostname: "*.ninebasetwo.net" | ||
# allowedRoutes: | ||
# namespaces: | ||
# from: All | ||
# tls: | ||
# mode: Terminate | ||
# certificateRefs: | ||
# - name: gateway-tls | ||
# - name: external-gateway-http | ||
# port: 80 | ||
# protocol: HTTP | ||
# hostname: "*.ninebasetwo.net" | ||
# allowedRoutes: | ||
# namespaces: | ||
# from: All | ||
# --- | ||
# apiVersion: gateway.networking.k8s.io/v1 | ||
# kind: Gateway | ||
# metadata: | ||
# name: internal-gateway | ||
# namespace: kube-system | ||
# spec: | ||
# gatewayClassName: cilium | ||
# listeners: | ||
# - name: internal-gateway-http | ||
# port: 80 | ||
# protocol: HTTP | ||
# allowedRoutes: | ||
# namespaces: | ||
# from: All | ||
|
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