mirror of
https://github.com/won-ktds/smarketing-manifest.git
synced 2026-06-13 14:19:11 +00:00
Initial manifest files for smarketing services
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: common-config
|
||||
namespace: smarketing
|
||||
data:
|
||||
ALLOWED_ORIGINS: "http://20.249.154.194"
|
||||
JPA_DDL_AUTO: "update"
|
||||
JPA_SHOW_SQL: "true"
|
||||
MANAGEMENT_ENDPOINTS_WEB_EXPOSURE_INCLUDE: "*"
|
||||
MANAGEMENT_ENDPOINT_HEALTH_SHOW_DETAILS: "always"
|
||||
MANAGEMENT_ENDPOINT_HEALTH_ENABLED: "true"
|
||||
MANAGEMENT_ENDPOINTS_WEB_BASE_PATH: "/actuator"
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: common-secret
|
||||
namespace: smarketing
|
||||
stringData:
|
||||
JWT_SECRET_KEY: "8O2HQ13etL2BWZvYOiWsJ5uWFoLi6NBUG8divYVoCgtHVvlk3dqRksMl16toztDUeBTSIuOOPvHIrYq11G2BwQ"
|
||||
type: Opaque
|
||||
@@ -0,0 +1,41 @@
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: Ingress
|
||||
metadata:
|
||||
name: smarketing-ingress
|
||||
namespace: smarketing
|
||||
annotations:
|
||||
kubernetes.io/ingress.class: nginx
|
||||
spec:
|
||||
ingressClassName: nginx
|
||||
rules:
|
||||
- host: smarketing.20.249.184.228.nip.io
|
||||
http:
|
||||
paths:
|
||||
- path: /api/auth
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: member
|
||||
port:
|
||||
number: 80
|
||||
- path: /api/store
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: store
|
||||
port:
|
||||
number: 80
|
||||
- path: /api/content
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: marketing-content
|
||||
port:
|
||||
number: 80
|
||||
- path: /api/recommend
|
||||
pathType: Prefix
|
||||
backend:
|
||||
service:
|
||||
name: ai-recommend
|
||||
port:
|
||||
number: 80
|
||||
Reference in New Issue
Block a user