chore: establish local platform baseline
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: voice-platform-config
|
||||
namespace: voice-platform
|
||||
data:
|
||||
APP_ENV: prod
|
||||
@@ -0,0 +1,49 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: voice-platform
|
||||
namespace: voice-platform
|
||||
spec:
|
||||
tls:
|
||||
- hosts:
|
||||
- voice.example.invalid
|
||||
secretName: voice-platform-tls
|
||||
rules:
|
||||
- host: voice.example.invalid
|
||||
http:
|
||||
paths:
|
||||
- path: /callbacks
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: callbacks
|
||||
port:
|
||||
number: 8081
|
||||
- path: /device
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: api
|
||||
port:
|
||||
number: 8080
|
||||
- path: /api
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: api
|
||||
port:
|
||||
number: 8080
|
||||
- path: /health
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: api
|
||||
port:
|
||||
number: 8080
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: web
|
||||
port:
|
||||
number: 8080
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: kustomize.config.k8s.io/v1beta1
|
||||
kind: Kustomization
|
||||
resources:
|
||||
- ../../base
|
||||
images:
|
||||
- name: registry.example.invalid/voice-platform/backend
|
||||
newName: registry.example.invalid/voice-platform/backend
|
||||
newTag: production
|
||||
- name: registry.example.invalid/voice-platform/web
|
||||
newName: registry.example.invalid/voice-platform/web
|
||||
newTag: production
|
||||
patches:
|
||||
- path: config-patch.yaml
|
||||
- path: ingress-patch.yaml
|
||||
Reference in New Issue
Block a user