adding new project pipelines

This commit is contained in:
2026-03-20 21:26:05 -03:00
parent 3938d1a2b9
commit 794e314fa7
6 changed files with 297 additions and 0 deletions

View File

@@ -0,0 +1,51 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: mindforge-api
namespace: mindforge
spec:
replicas: 1
selector:
matchLabels:
app: mindforge-api
template:
metadata:
labels:
app: mindforge-api
spec:
containers:
- name: mindforge-api
image: git.ivanch.me/ivanch/mindforge-api:latest
imagePullPolicy: Always
ports:
- containerPort: 8080
env:
- name: OPENAI_API_KEY
valueFrom:
secretKeyRef:
name: mindforge-secrets
key: OPENAI_API_KEY
- name: GEMINI_API_KEY
valueFrom:
secretKeyRef:
name: mindforge-secrets
key: GEMINI_API_KEY
resources:
requests:
memory: "128Mi"
cpu: "250m"
limits:
memory: "512Mi"
cpu: "1"
---
apiVersion: v1
kind: Service
metadata:
name: mindforge-api
namespace: mindforge
spec:
selector:
app: mindforge-api
ports:
- port: 80
targetPort: 8080