fix: remove nested .git folders, re-add as normal directories

This commit is contained in:
2026-03-22 17:50:47 -05:00
parent f55c7e47c9
commit 6b7eec67b8
1870 changed files with 4170168 additions and 3 deletions
+28
View File
@@ -0,0 +1,28 @@
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: api-env-secret
- secretRef:
name: optima-keys-secret
ports:
- containerPort: 3000
imagePullSecrets:
- name: github-container-registry
+39
View File
@@ -0,0 +1,39 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: optima-api-ingress
namespace: optima
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls: "true"
spec:
tls:
- hosts:
- opt-api.osdci.net
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
+23
View File
@@ -0,0 +1,23 @@
apiVersion: batch/v1
kind: Job
metadata:
name: prisma-migrate-RELEASE_TAG
namespace: optima
labels:
app: prisma-migrate
spec:
backoffLimit: 3
ttlSecondsAfterFinished: 300
template:
spec:
containers:
- name: migrate
image: ghcr.io/project-optima/ttscm-api-migrate:RELEASE_TAG
envFrom:
- secretRef:
name: api-env-secret
- secretRef:
name: optima-keys-secret
restartPolicy: Never
imagePullSecrets:
- name: github-container-registry