Files
ntwl/ops/git.yaml
T
2026-10-03 13:32:31 +10:00

103 lines
1.9 KiB
YAML

---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: gitea-data
namespace: ops
spec:
storageClassName: fast
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 20Gi
---
apiVersion: helm.cattle.io/v1
kind: HelmChart
metadata:
name: gitea
namespace: ops
spec:
repo: https://dl.gitea.com/charts/
chart: gitea
version: 12.7.0
targetNamespace: ops
valuesContent: |-
image:
tag: "28.0.0"
ingress:
enabled: true
className: haproxy
annotations:
cert-manager.io/cluster-issuer: "letsencrypt-prod"
tls:
- secretName: git-tls
hosts:
- git.ntwl.xyz
# - git.strix.systems
hosts:
- host: git.ntwl.xyz
paths:
- path: /
pathType: Prefix
- host: git.strix.systems
paths:
- path: /
pathType: Prefix
service:
ssh:
type: LoadBalancer
port: 60022
externalTrafficPolicy: Local
valkey-cluster:
enabled: false
valkey:
enabled: true
architecture: standalone
primary:
persistence:
enabled: true
storageClass: zfs-fast
size: 8Gi
postgresql:
enabled: true
primary:
persistence:
enabled: true
storageClass: zfs-fast
size: 10Gi
postgresql-ha:
enabled: false
persistence:
enabled: true
create: false
claimName: gitea-data
gitea:
config:
database:
DB_TYPE: postgres
indexer:
ISSUE_INDEXER_TYPE: bleve
REPO_INDEXER_ENABLED: true
audit:
RECORD_OUTPUT: database
RETENTION_DAYS: 120
server:
SSH_PORT: 60022
LFS_START_SERVER: true
LFS_ALLOW_PURE_SSH: true
admin:
existingSecret: gitea-admin-secret