From 4f1f68dac472b86c452eb081f423a0ebd29a6e4f Mon Sep 17 00:00:00 2001 From: Leon Liu Date: Sat, 9 Nov 2024 20:03:40 +0900 Subject: [PATCH] Add gitea. --- apps/templates/gitea.yaml | 53 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 apps/templates/gitea.yaml diff --git a/apps/templates/gitea.yaml b/apps/templates/gitea.yaml new file mode 100644 index 0000000..f4d7eb0 --- /dev/null +++ b/apps/templates/gitea.yaml @@ -0,0 +1,53 @@ +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: HEAD + 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: {} \ No newline at end of file