Update deploy.yaml.template

This commit is contained in:
John Hanzu Kim 2025-06-17 16:47:16 +09:00 committed by GitHub
parent 26f82f79b3
commit fd5ede7a4d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -26,10 +26,14 @@ metadata:
name: member-config name: member-config
namespace: ${namespace} namespace: ${namespace}
data: data:
POSTGRES_DB: member
POSTGRES_HOST: member-postgresql
POSTGRES_PORT: '5432'
SERVER_PORT: '8081' SERVER_PORT: '8081'
POSTGRES_HOST: ${postgres_host}
POSTGRES_PORT: ${postgres_port}
POSTGRES_DB: ${postgres_db_ai_recommend}
REDIS_HOST: ${redis_host}
REDIS_PORT: ${redis_port}
JPA_DDL_AUTO: 'create-drop'
JPA_SHOW_SQL: 'true'
--- ---
apiVersion: v1 apiVersion: v1
@ -38,10 +42,14 @@ metadata:
name: store-config name: store-config
namespace: ${namespace} namespace: ${namespace}
data: data:
POSTGRES_DB: store
POSTGRES_HOST: store-postgresql
POSTGRES_PORT: '5432'
SERVER_PORT: '8082' SERVER_PORT: '8082'
POSTGRES_HOST: ${postgres_host}
POSTGRES_PORT: ${postgres_port}
POSTGRES_DB: ${postgres_db_ai_recommend}
REDIS_HOST: ${redis_host}
REDIS_PORT: ${redis_port}
JPA_DDL_AUTO: 'create-drop'
JPA_SHOW_SQL: 'true'
--- ---
apiVersion: v1 apiVersion: v1
@ -50,10 +58,15 @@ metadata:
name: marketing-content-config name: marketing-content-config
namespace: ${namespace} namespace: ${namespace}
data: data:
POSTGRES_DB: marketing_content
POSTGRES_HOST: marketing-content-postgresql
POSTGRES_PORT: '5432'
SERVER_PORT: '8083' SERVER_PORT: '8083'
POSTGRES_HOST: ${postgres_host}
POSTGRES_PORT: ${postgres_port}
POSTGRES_DB: ${postgres_db_ai_recommend}
REDIS_HOST: ${redis_host}
REDIS_PORT: ${redis_port}
JPA_DDL_AUTO: 'create-drop'
JPA_SHOW_SQL: 'true'
--- ---
apiVersion: v1 apiVersion: v1
@ -62,10 +75,14 @@ metadata:
name: ai-recommend-config name: ai-recommend-config
namespace: ${namespace} namespace: ${namespace}
data: data:
POSTGRES_DB: ai_recommend
POSTGRES_HOST: ai-recommend-postgresql
POSTGRES_PORT: '5432'
SERVER_PORT: '8084' SERVER_PORT: '8084'
POSTGRES_HOST: ${postgres_host}
POSTGRES_PORT: ${postgres_port}
POSTGRES_DB: ${postgres_db_ai_recommend}
REDIS_HOST: ${redis_host}
REDIS_PORT: ${redis_port}
JPA_DDL_AUTO: 'create-drop'
JPA_SHOW_SQL: 'true'
--- ---
# Secrets # Secrets
@ -87,8 +104,9 @@ metadata:
stringData: stringData:
JWT_ACCESS_TOKEN_VALIDITY: '3600000' JWT_ACCESS_TOKEN_VALIDITY: '3600000'
JWT_REFRESH_TOKEN_VALIDITY: '86400000' JWT_REFRESH_TOKEN_VALIDITY: '86400000'
POSTGRES_PASSWORD: ${postgres_password}
POSTGRES_USER: ${postgres_user} POSTGRES_USER: ${postgres_user}
POSTGRES_PASSWORD: ${postgres_password}
REDIS_PASSWORD: ${redis_password}
type: Opaque type: Opaque
--- ---
@ -98,8 +116,9 @@ metadata:
name: store-secret name: store-secret
namespace: ${namespace} namespace: ${namespace}
stringData: stringData:
POSTGRES_PASSWORD: ${postgres_password}
POSTGRES_USER: ${postgres_user} POSTGRES_USER: ${postgres_user}
POSTGRES_PASSWORD: ${postgres_password}
REDIS_PASSWORD: ${redis_password}
type: Opaque type: Opaque
--- ---
@ -109,8 +128,9 @@ metadata:
name: marketing-content-secret name: marketing-content-secret
namespace: ${namespace} namespace: ${namespace}
stringData: stringData:
POSTGRES_PASSWORD: ${postgres_password}
POSTGRES_USER: ${postgres_user} POSTGRES_USER: ${postgres_user}
POSTGRES_PASSWORD: ${postgres_password}
REDIS_PASSWORD: ${redis_password}
type: Opaque type: Opaque
--- ---
@ -120,8 +140,9 @@ metadata:
name: ai-recommend-secret name: ai-recommend-secret
namespace: ${namespace} namespace: ${namespace}
stringData: stringData:
POSTGRES_PASSWORD: ${postgres_password}
POSTGRES_USER: ${postgres_user} POSTGRES_USER: ${postgres_user}
POSTGRES_PASSWORD: ${postgres_password}
REDIS_PASSWORD: ${redis_password}
type: Opaque type: Opaque
--- ---