ci: deploy forgejo via helm (git.patanix.de, 40GiB PVC, PostgreSQL, SOPS)
This commit is contained in:
parent
5a0c1949f4
commit
1b82287923
11 changed files with 201 additions and 0 deletions
50
apps/forgejo/helmrelease.yaml
Normal file
50
apps/forgejo/helmrelease.yaml
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: forgejo
|
||||
namespace: forgejo
|
||||
spec:
|
||||
interval: 15m
|
||||
chart:
|
||||
spec:
|
||||
chart: forgejo
|
||||
version: 12.5.1
|
||||
sourceRef:
|
||||
kind: OCIRepository
|
||||
name: forgejo
|
||||
namespace: flux-system
|
||||
values:
|
||||
persistence:
|
||||
enabled: true
|
||||
existingClaim: forgejo-data
|
||||
ingress:
|
||||
enabled: true
|
||||
className: traefik
|
||||
hosts:
|
||||
- host: git.patanix.de
|
||||
paths:
|
||||
- path: /
|
||||
pathType: Prefix
|
||||
tls:
|
||||
- secretName: forgejo-tls
|
||||
hosts:
|
||||
- git.patanix.de
|
||||
annotations:
|
||||
cert-manager.io/cluster-issuer: letsencrypt-dns
|
||||
admin:
|
||||
existingSecret: forgejo-admin
|
||||
usernameKey: username
|
||||
passwordKey: password
|
||||
emailKey: email
|
||||
postgresql:
|
||||
enabled: true
|
||||
auth:
|
||||
existingSecret: forgejo-postgresql
|
||||
usernameKey: postgres-user
|
||||
passwordKey: postgres-password
|
||||
databaseKey: postgres-db
|
||||
primary:
|
||||
persistence:
|
||||
enabled: true
|
||||
storageClass: local-path
|
||||
size: 8Gi
|
||||
Loading…
Add table
Add a link
Reference in a new issue