homelab_gitops/apps/gitea/helmrelease.yaml

82 lines
1.7 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: "12.0.0"
sourceRef:
kind: HelmRepository
name: gitea-charts
namespace: flux-system
values:
valkey-cluster:
enabled: false
valkey:
enabled: true
postgresql:
enabled: true
auth:
existingSecret: gitea-postgres
# usernameKey: postgres-user
# passwordKey: postgres-password
# databaseKey: postgres-db
postgresql-ha:
enabled: false
persistence:
enabled: true
existingClaim: gitea-data
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