first commit

This commit is contained in:
sttlab
2026-07-22 14:41:10 +00:00
commit e1577fe061
35 changed files with 1847 additions and 0 deletions
+61
View File
@@ -0,0 +1,61 @@
# Read-only HTTP file server exposing the digest workflow's output
# (n8n-digest-workspace PVC, digests/ subdirectory) for browsing/download,
# instead of email delivery (no SMTP configured).
apiVersion: apps/v1
kind: Deployment
metadata:
name: digest-files
namespace: watch
labels:
app.kubernetes.io/name: digest-files
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: digest-files
template:
metadata:
labels:
app.kubernetes.io/name: digest-files
spec:
containers:
- name: nginx
image: nginxinc/nginx-unprivileged:alpine
ports:
- name: http
containerPort: 8080
volumeMounts:
- name: digests
mountPath: /usr/share/nginx/html
subPath: digests
readOnly: true
- name: nginx-conf
mountPath: /etc/nginx/conf.d/default.conf
subPath: default.conf
readOnly: true
resources:
requests:
cpu: 25m
memory: 32Mi
limits:
cpu: 200m
memory: 128Mi
readinessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 5
periodSeconds: 10
livenessProbe:
httpGet:
path: /
port: http
initialDelaySeconds: 10
periodSeconds: 20
volumes:
- name: digests
persistentVolumeClaim:
claimName: n8n-digest-workspace
- name: nginx-conf
configMap:
name: digest-files-nginx-conf