add gateway
This commit is contained in:
21
clusters/ontime-dev/configs/gateway.yaml
Normal file
21
clusters/ontime-dev/configs/gateway.yaml
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
apiVersion: gateway.networking.k8s.io/v1
|
||||||
|
kind: Gateway
|
||||||
|
metadata:
|
||||||
|
annotations:
|
||||||
|
cert-manager.io/issuer: lets-encrypt-prod
|
||||||
|
name: ontime-dev-doks
|
||||||
|
spec:
|
||||||
|
gatewayClassName: cilium
|
||||||
|
listeners:
|
||||||
|
- hostname: ontime-dev-doks.jwetzell.com
|
||||||
|
name: ontime-dev-doks-http
|
||||||
|
port: 80
|
||||||
|
protocol: HTTP
|
||||||
|
- hostname: ontime-dev-doks.jwetzell.com
|
||||||
|
name: ontime-dev-doks-https
|
||||||
|
port: 443
|
||||||
|
protocol: HTTPS
|
||||||
|
tls:
|
||||||
|
mode: Terminate
|
||||||
|
certificateRefs:
|
||||||
|
- name: ontime-dev-doks.jwetzell.com-tls
|
||||||
@@ -2,4 +2,5 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
|||||||
kind: Kustomization
|
kind: Kustomization
|
||||||
resources:
|
resources:
|
||||||
- cluster-issuer.yaml
|
- cluster-issuer.yaml
|
||||||
|
- gateway.yaml
|
||||||
- storageclass.yaml
|
- storageclass.yaml
|
||||||
Reference in New Issue
Block a user