feat: Gitea Actions + k8s manifests + ArgoCD for k3s deploy
Build & Push Docker Image / build (push) Failing after 42s

This commit is contained in:
root
2026-07-30 07:18:02 +02:00
parent 5d71e60e7d
commit 77c44c44ce
8 changed files with 257 additions and 0 deletions
+56
View File
@@ -0,0 +1,56 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: app
namespace: toolrate
spec:
replicas: 1
selector:
matchLabels:
app: toolrate
template:
metadata:
labels:
app: toolrate
spec:
containers:
- name: app
image: gitea.example.com/your-org/tool-evaluator:sha-abcdef
ports:
- containerPort: 8080
envFrom:
- configMapRef:
name: app-config
- secretRef:
name: app-secrets
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 512Mi
livenessProbe:
httpGet:
path: /api/healthz
port: 8080
initialDelaySeconds: 10
periodSeconds: 15
readinessProbe:
httpGet:
path: /api/healthz
port: 8080
initialDelaySeconds: 5
periodSeconds: 10
---
apiVersion: v1
kind: Service
metadata:
name: app
namespace: toolrate
spec:
selector:
app: toolrate
ports:
- port: 8080
targetPort: 8080