Add gitea. Only conern is the name may not have taken...

This commit is contained in:
jimmy committed 2023-03-26 20:21:55 -04:00
1 parent 1e97e0253c
commit 2b21d746fd
6 files changed
+121

No files matched your search

@@ -0,0 +1,34 @@
---
apiVersion: apps/v1
kind: Deployment
metadata:
name: gitea-deployment
namespace: gitea
labels:
app: gitea
spec:
replicas: 1
selector:
matchLabels:
app: gitea
template:
metadata:
labels:
app: gitea
spec:
containers:
- name: gitea-app
image: docker.io/gitea/gitea:1.19.0
ports:
- containerPort: 3000
- containerPort: 2222
volumeMounts:
- name: storage
mountPath: "/data"
envFrom:
- configMapRef:
name: gitea-config
volumes:
- name: storage
persistentVolumeClaim:
claimName: gitea-pvc