ci: deploy gitea via flux (git.patanix.de. 40GiB PVC, SOPS)

This commit is contained in:
Patryk Hegenberg 2025-05-26 11:28:24 +02:00
parent 3d85ef9bf6
commit 91ac694306
9 changed files with 147 additions and 8 deletions

View file

@ -9,24 +9,42 @@ spec:
chart:
spec:
chart: gitea
version: "11.0.1"
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
storageClass: longhorn
size: 5Gi
existingClaim: gitea-data
ingress:
enabled: true
className: traefik
hosts:
- host: gitea.local
- 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
@ -36,9 +54,10 @@ spec:
port: 22
gitea:
admin:
username: giteaadmin
password: changeme
email: patrykhegenberg@gmail.com
existingSecret: gitea-admin
usernameKey: username
passwordKey: password
emailKey: email
metrics:
enabled: true
actions: