argocd-apps/apps/templates/gitea.yaml
2024-11-09 20:10:23 +09:00

53 lines
1.3 KiB
YAML

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: gitea
namespace: argocd
spec:
destination:
namespace: gitea
server: {{ .Values.spec.destination.server }}
project: default
source:
chart: gitea
repoURL: https://dl.gitea.com/charts/
targetRevision: 10.*.*
helm:
valuesObject:
redis-cluster:
enabled: false
redis:
enabled: true
postgresql:
enabled: true
postgresql-ha:
enabled: false
persistence:
enabled: true
gitea:
config:
database:
DB_TYPE: postgres
indexer:
ISSUE_INDEXER_TYPE: bleve
REPO_INDEXER_ENABLED: true
service:
DISABLE_REGISTRATION: true
admin:
passwordMode: initialOnlyRequireReset
ingress:
enabled: true
className: nginx
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
tls:
- hosts:
- gitea.ly-dodo.win
secretName: gitea-tls
hosts:
- host: gitea.ly-dodo.win
paths:
- path: /
pathType: Prefix
syncPolicy:
automated: {}