Files
rke2-single-node/09_homelab_apps/homelab-apps/templates/forgejo.yaml
T
2026-05-10 20:53:16 +02:00

50 lines
1.2 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: forgejo
namespace: argocd
spec:
destination:
namespace: forgejo
server: {{ $.Values.spec.destination.server }}
project: homelab
source:
path: .
repoURL: oci://code.forgejo.org/forgejo-helm/forgejo
targetRevision: 17.0.1
helm:
values: |
gitea:
config:
database:
DB_TYPE: postgres
HOST: postgresql-test1-pgbouncer.everest-db.svc:5432
NAME: postgres
USER: postgres
PASSWD: 3yZ64SU8sLqS-MijJh.aPJ59
SSL_MODE: require
postgresql:
enabled: false
persistence:
enabled: true
storageClass: nfs-csi
existingClaim: gitea-shared-storage
admin:
username: 'matthias'
password: 'start123'
email: 'matthias.hinrichs@me.com'
httpRoute:
enabled: true
hostnames:
- forgejo.k8s.hnrx.net
parentRefs:
- name: shared-gateway
namespace: default
syncPolicy:
automated:
selfHeal: true
syncOptions:
- CreateNamespace=true