feat(grainlab): Added Staging environment to ArgoCD.

This commit is contained in:
Daniël Groothuis
2026-03-17 10:58:12 +01:00
parent 8c8c2e0ff3
commit cdbf31d6af
6 changed files with 147 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: grainlab
namespace: grainlab-production
spec:
replicas: 1
selector:
matchLabels:
app: grainlab
template:
metadata:
labels:
app: grainlab
spec:
imagePullSecrets:
- name: ghcr-cred
containers:
- name: grainlab
image: ghcr.io/daniel-luke/grainlab:1.0.0
imagePullPolicy: Always
ports:
- containerPort: 3000
env:
- name: NODE_ENV
value: "production"
- name: PORT
value: "3000"
- name: HOST
value: "0.0.0.0"
envFrom:
- secretRef:
name: grainlab-app
- secretRef:
name: grainlab-database
- secretRef:
name: grainlab-s3
readinessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 10
periodSeconds: 5
failureThreshold: 6
livenessProbe:
httpGet:
path: /
port: 3000
initialDelaySeconds: 30
periodSeconds: 10
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 512Mi