release workflow

This commit is contained in:
2026-02-24 18:30:45 -06:00
parent 06e021f8a1
commit db9b722929
15 changed files with 398 additions and 77 deletions
+26
View File
@@ -0,0 +1,26 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: optima-api
namespace: optima
spec:
selector:
matchLabels:
app: optima-api
replicas: 1
template:
metadata:
labels:
app: optima-api
spec:
containers:
- name: optima-api
image: ghcr.io/project-optima/ttscm-api:latest
imagePullPolicy: Always
envFrom:
- secretRef:
name: optima-api-env
ports:
- containerPort: 3000
imagePullSecrets:
- name: github-container-registry
+36
View File
@@ -0,0 +1,36 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: optima-api-ingress
namespace: optima
annotations:
ingress.kubernetes.io/ssl-redirect: "false"
spec:
tls:
- secretName: osdci-net-cert
rules:
- host: opt-api.osdci.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: optima-api
port:
number: 3000
---
apiVersion: v1
kind: Service
metadata:
name: optima-api
namespace: optima
labels:
app: optima-api
spec:
type: ClusterIP
ports:
- port: 3000
protocol: TCP
selector:
app: optima-api