Add gateway ingress, namespace in kustomization
This commit is contained in:
@@ -2,5 +2,4 @@ apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- configmap-common.yaml
|
||||
|
||||
16
deploy/overlays/development/services/gateway/ingress.yaml
Normal file
16
deploy/overlays/development/services/gateway/ingress.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
apiVersion: traefik.io/v1alpha1
|
||||
kind: IngressRoute
|
||||
metadata:
|
||||
name: gateway
|
||||
namespace: cloud-services
|
||||
spec:
|
||||
entryPoints:
|
||||
- websecure
|
||||
routes:
|
||||
- match: Host(`gateway.mini.cloud.fiskerinc.com`)
|
||||
kind: Rule
|
||||
services:
|
||||
- name: gateway
|
||||
port: 8077
|
||||
tls:
|
||||
certResolver: letsencrypt
|
||||
@@ -1,5 +1,10 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
|
||||
namespace: cloud-services
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- ../../../../base
|
||||
- deployment.yaml
|
||||
- ingress.yaml
|
||||
|
||||
@@ -2,5 +2,3 @@ apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: cloud-services
|
||||
labels:
|
||||
app.kubernetes.io/part-of: cloud-platform
|
||||
Reference in New Issue
Block a user