fukuops/k8s/argo-apps/forgejo.yaml
Renovate Bot d2c30cc93a
Some checks failed
checks / pre-commit (push) Failing after 2s
checks / k8s (push) Failing after 1s
checks / tflint (push) Failing after 2s
OpenTofu deployments / authentik (push) Failing after 0s
OpenTofu deployments / adguard (push) Failing after 2s
chore(deps): update code.forgejo.org/forgejo-helm/forgejo docker tag to v14.0.4
2025-10-08 02:38:52 +00:00

114 lines
3.6 KiB
YAML

---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: forgejo
namespace: argocd
annotations:
argocd.argoproj.io/sync-options: Force=true,Replace=true
spec:
destination:
name: ''
namespace: apps-roboces
server: https://kubernetes.default.svc
sources:
- chart: forgejo
repoURL: code.forgejo.org/forgejo-helm
targetRevision: 14.0.4
helm:
valuesObject:
replicaCount: 2
service:
http:
type: LoadBalancer
ssh:
type: NodePort
ingress:
enabled: true
className: traefik
https: true
hosts:
- host: git.roboces.dev
paths:
- path: /
pathType: Prefix
tls: []
persistence:
size: 50Gi
storageClass: truenas-nfs-csi
accessModes:
- ReadWriteMany
signing:
enabled: true
existingSecret: secrets-forgejo-signing
gitea:
admin:
existingSecret: secrets-forgejo-admin
metrics:
enabled: true
serviceMonitor:
enabled: true
config:
indexer:
ISSUE_INDEXER_CONN_STR: http://elastic-elasticsearch.apps-fuku.svc.cluster.local:9200
ISSUE_INDEXER_ENABLED: true
ISSUE_INDEXER_TYPE: elasticsearch
REPO_INDEXER_ENABLED: false
REPO_INDEXER_TYPE: elasticsearch
actions:
ENABLED: true
DEFAULT_ACTIONS_URL: https://github.com
picture:
DISABLE_GRAVATAR: false
ENABLE_FEDERATED_AVATAR: true
AVATAR_UPLOAD_PATH: /data/gitea/avatars
REPOSITORY_AVATAR_UPLOAD_PATH: /data/gitea/repo-avatars
oauth:
existingSecret: secrets-forgejo-oidc
openid:
ENABLE_OPENID_SIGNIN: false
ENABLE_OPENID_SIGNUP: false
attachment:
PATH: /data/gitea/attachments
log:
MODE: console
LEVEL: debug
ROOT_PATH: /data/gitea/log
lfs:
LFS_CONTENT_PATH: /data/gitea/lfs
service:
REGISTER_EMAIL_CONFIRM: true
ENABLE_NOTIFY_MAIL: true
DISABLE_REGISTRATION: false
ALLOW_ONLY_EXTERNAL_REGISTRATION: true
ENABLE_CAPTCHA: false
REQUIRE_SIGNIN_VIEW: false
DEFAULT_KEEP_EMAIL_PRIVATE: false
DEFAULT_ALLOW_CREATE_ORGANIZATION: true
DEFAULT_ENABLE_TIMETRACKING: true
NO_REPLY_ADDRESS: git@fukurokuju.dev
server:
ROOT_URL: https://git.roboces.dev/
additionalConfigSources:
- secret:
secretName: gitea-ini-redis
- secret:
secretName: secrets-forgejo-email
- secret:
secretName: secrets-forgejo-db
- secret:
secretName: secrets-forgejo-lfs
- secret:
secretName: secrets-forgejo-internal
postgresql-ha:
enabled: false
redis:
enabled: false
redis-cluster:
enabled: false
- path: k8s/services/forgejo
repoURL: https://git.roboces.dev/catalin/fukuops.git
targetRevision: main
project: roboces
syncPolicy:
automated: {}