init gitea project
This commit is contained in:
18
READ_ME.md
Normal file
18
READ_ME.md
Normal 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
24
gitea.yml
Normal 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
12
helm-values.yaml
Normal 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
|
||||
Reference in New Issue
Block a user