1
0

add kubernetes configs
Build and Push Docker Image / build-and-push (push) Has been cancelled

This commit is contained in:
2026-05-11 11:33:58 +02:00
parent 0922c15768
commit 81c32eba71
5 changed files with 80 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: simplefilehub
namespace: exam-varga
spec:
replicas: 1
selector:
matchLabels:
app: simplefilehub
template:
metadata:
labels:
app: simplefilehub
spec:
volumes:
- name: simplefilehub-config-volume
configMap:
name: simplefilehub-config
- name: simplefilehub-storage-volume
persistentVolumeClaim:
claimName: simplefilehub-pv-claim
containers:
- name: simplefilehub
image: br0kenpixel/simplefilehub:latest
ports:
- containerPort: 8501
volumeMounts:
- name: simplefilehub-storage-volume
mountPath: /app/storage
- name: simplefilehub-config-volume
mountPath: /app/configmapcontent