ci(global): go through and make sure all related files are working and good to go

This commit is contained in:
2026-04-08 03:04:58 +00:00
parent 546bf65b8b
commit e88d21fa35
13 changed files with 584 additions and 145 deletions
+22 -1
View File
@@ -15,7 +15,7 @@ spec:
spec:
containers:
- name: optima-api
image: ghcr.io/project-optima/ttscm-api:latest
image: ghcr.io/horizonstacksoftware/optima-api:latest
imagePullPolicy: Always
envFrom:
- secretRef:
@@ -24,5 +24,26 @@ spec:
name: optima-keys-secret
ports:
- containerPort: 3000
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "1000m"
livenessProbe:
httpGet:
path: /healthz
port: 3000
initialDelaySeconds: 10
periodSeconds: 30
failureThreshold: 3
readinessProbe:
httpGet:
path: /healthz
port: 3000
initialDelaySeconds: 5
periodSeconds: 10
failureThreshold: 2
imagePullSecrets:
- name: github-container-registry
+5 -1
View File
@@ -33,7 +33,11 @@ metadata:
spec:
type: ClusterIP
ports:
- port: 3000
- name: http
port: 3000
protocol: TCP
- name: worker-comms
port: 8671
protocol: TCP
selector:
app: optima-api
+1 -1
View File
@@ -12,7 +12,7 @@ spec:
spec:
containers:
- name: migrate
image: ghcr.io/project-optima/ttscm-api-migrate:RELEASE_TAG
image: ghcr.io/horizonstacksoftware/optima-api-migrate:RELEASE_TAG
envFrom:
- secretRef:
name: api-env-secret
+34
View File
@@ -0,0 +1,34 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: optima-worker
namespace: optima
spec:
selector:
matchLabels:
app: optima-worker
replicas: 1
template:
metadata:
labels:
app: optima-worker
spec:
containers:
- name: optima-worker
image: ghcr.io/horizonstacksoftware/optima-worker:latest
imagePullPolicy: Always
env:
- name: MANAGER_SOCKET_URL
value: "http://optima-api.optima.svc.cluster.local:8671"
envFrom:
- secretRef:
name: api-env-secret
resources:
requests:
memory: "128Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "1000m"
imagePullSecrets:
- name: github-container-registry