- add: helm chart
- add: python script for building and pushing the containers
This commit is contained in:
127
charts/osirose-new/values.yaml
Normal file
127
charts/osirose-new/values.yaml
Normal file
@@ -0,0 +1,127 @@
|
||||
|
||||
repository: gitea.azgstudio.com/raven
|
||||
|
||||
autoscaling:
|
||||
enabled: false
|
||||
|
||||
global:
|
||||
env:
|
||||
LOG_LEVEL: "info"
|
||||
APP_ENV: "dev"
|
||||
DATABASE_URL: "postgres://postgres:5432/osirose"
|
||||
|
||||
services:
|
||||
- name: api-service
|
||||
replicas: 1
|
||||
image: api-service:latest
|
||||
port: 8080
|
||||
env:
|
||||
SERVICE_NAME: "api-service"
|
||||
tcp:
|
||||
enabled: true
|
||||
portName: api-service
|
||||
port: 8080
|
||||
targetPort: 8080
|
||||
protocol: TCP
|
||||
ingress:
|
||||
enabled: true
|
||||
hostname: game-api.azgstudio.com
|
||||
path: "/"
|
||||
port: 8080
|
||||
|
||||
- name: auth-service
|
||||
replicas: 1
|
||||
image: auth-service:latest
|
||||
port: 50051
|
||||
env:
|
||||
SERVICE_NAME: "auth-service"
|
||||
tcp:
|
||||
enabled: true
|
||||
portName: auth-service
|
||||
port: 50051
|
||||
targetPort: 50051
|
||||
protocol: TCP
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
- name: character-service
|
||||
replicas: 1
|
||||
image: character-service:latest
|
||||
port: 50053
|
||||
env:
|
||||
SERVICE_NAME: "character-service"
|
||||
tcp:
|
||||
enabled: true
|
||||
portName: character-service
|
||||
port: 50053
|
||||
targetPort: 50053
|
||||
protocol: TCP
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
- name: database-service
|
||||
replicas: 1
|
||||
image: database-service:latest
|
||||
port: 50052
|
||||
env:
|
||||
SERVICE_NAME: "database-service"
|
||||
tcp:
|
||||
enabled: true
|
||||
portName: database-service
|
||||
port: 50052
|
||||
targetPort: 50052
|
||||
protocol: TCP
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
- name: packet-service
|
||||
replicas: 1
|
||||
image: packet-service:latest
|
||||
port: 29000
|
||||
env:
|
||||
SERVICE_NAME: "packet-service"
|
||||
tcp:
|
||||
enabled: true
|
||||
portName: game-packet-service
|
||||
port: 29000
|
||||
targetPort: 29000
|
||||
protocol: TCP
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
- name: session-service
|
||||
replicas: 1
|
||||
image: session-service:latest
|
||||
port: 50055
|
||||
env:
|
||||
SERVICE_NAME: "session-service"
|
||||
tcp:
|
||||
enabled: true
|
||||
portName: session-service
|
||||
port: 50055
|
||||
targetPort: 50055
|
||||
protocol: TCP
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
- name: world-service
|
||||
replicas: 1
|
||||
image: world-service:latest
|
||||
port: 50054
|
||||
env:
|
||||
SERVICE_NAME: "world-service"
|
||||
tcp:
|
||||
enabled: true
|
||||
portName: world-service
|
||||
port: 50054
|
||||
targetPort: 50054
|
||||
protocol: TCP
|
||||
ingress:
|
||||
enabled: false
|
||||
|
||||
tests:
|
||||
enabled: true
|
||||
services:
|
||||
- name: api-service
|
||||
testCommand: ["curl", "-f", "http://api-service:8080/health"]
|
||||
image: curlimages/curl:latest
|
||||
Reference in New Issue
Block a user