homelab_gitops/apps/gitea/helmrelease.yaml

78 lines
1.6 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:
valkey-cluster:
enabled: false
valkey:
enabled: true
postgresql:
enabled: true
postgresql-ha:
enabled: false
persistence:
enabled: true
size: 40Gi
storageClass: local-path
ingress:
enabled: true
className: traefik
hosts:
- host: git.patanix.de
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-tls
hosts:
- git.patanix.de
annotations:
cert-manager.io/cluster-issuer: letsencrypt-dns
service:
http:
type: ClusterIP
port: 3000
ssh:
type: ClusterIP
port: 22
gitea:
admin:
existingSecret: gitea-admin
usernameKey: username
passwordKey: password
emailKey: email
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