init gitea project

This commit is contained in:
Bart Huygen
2025-12-21 18:55:56 +01:00
parent 91e6b873a0
commit fa843b8801
3 changed files with 54 additions and 0 deletions

18
READ_ME.md Normal file
View File

@@ -0,0 +1,18 @@
Gitea was installed with the use of helm using the helm-values.yaml
```zsh
helm repo add gitea-charts https://dl.gitea.com/charts/
helm install gitea gitea-charts/gitea -f helm-values.yaml
```
if you want to upgrade the gitea helm use below command
```zsh
helm upgrade gitea gitea-charts/gitea -f helm-values.yaml
```
Ingress is needed as well
```zsh
kubectl apply -f gitea.yaml
```

24
gitea.yml Normal file
View File

@@ -0,0 +1,24 @@
# =============================
# Ingress: Gitea
# =============================
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: gitea-ingress
namespace: default
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls.certresolver: le
spec:
ingressClassName: traefik
rules:
- host: gitea.barthuygen.be
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: gitea-http
port:
number: 3000

12
helm-values.yaml Normal file
View File

@@ -0,0 +1,12 @@
gitea:
config:
openid:
ENABLE_OPENID_SIGNIN: false
ENABLE_OPENID_SIGNUP: false
service:
DISABLE_REGISTRATION: true
REGISTER_MANUAL_CONFIRM: true
admin:
username: bart.huygen
password: "ChangeMeStrongPassword!"
email: bart.huygen@stacktrace.be