homelab_gitops/infrastructure/gitea/helmrelease.yaml

63 lines
1.3 KiB
YAML

apiVersion: helm.toolkit.fluxcd.io/v2beta2
kind: HelmRelease
metadata:
name: gitea
namespace: gitea
spec:
releaseName: gitea
interval: 10m
chart:
spec:
chart: gitea
version: "11.0.1"
sourceRef:
kind: HelmRepository
name: gitea-charts
namespace: flux-system
values:
persistence:
enabled: true
storageClass: longhorn
size: 5Gi
ingress:
enabled: true
className: traefik
hosts:
- host: gitea.local
paths:
- path: /
pathType: Prefix
service:
http:
type: ClusterIP
port: 3000
ssh:
type: ClusterIP
port: 22
gitea:
admin:
username: giteaadmin
password: changeme
email: patrykhegenberg@gmail.com
metrics:
enabled: true
actions:
enabled: true
provisioning:
enabled: true
statefulset:
actRunner:
repository: gitea/act_runner
tag: 0.2.11
pullPolicy: IfNotPresent
dind:
repository: docker
tag: 25.0.2-dind
pullPolicy: IfNotPresent
config:
# actions:
# ENABLED: true
metrics:
ENABLED: true
repository:
DEFAULT_BRANCH: main