enable gitea

This commit is contained in:
2024-07-25 23:29:22 +10:00
parent 2cc7bd68d0
commit 9f9a4b352d
11 changed files with 18 additions and 976 deletions

12
apps/gitea/env/k3s-cluster/config.json vendored Normal file
View File

@@ -0,0 +1,12 @@
{
"appName": "gitea",
"userGivenName": "gitea",
"namespace": "gitea",
"destNamespace": "gitea",
"destServer": "https://kubernetes.default.svc",
"srcPath": "apps/gitea/env/k3s-cluster",
"srcRepoURL": "https://github.com/3dwardch3ng/home-cluster-ops.git",
"srcTargetRevision": "",
"labels": null,
"annotations": null
}

View File

@@ -18,6 +18,7 @@ service:
ingress:
enabled: true
ingressClassName: "nginx"
hostname: "gitea.cluster.edward.sydney"
serviceAccount:
create: false
postgresql:
@@ -26,11 +27,4 @@ externalDatabase:
host: "postgresql-primary.argocd.svc.cluster.local"
user: "gitea_user"
existingSecret: "gitea-secrets"
existingSecretPasswordKey: "db-password"
resources:
requests:
cpu: 50m
memory: 128Mi
limits:
cpu: 100m
memory: 256Mi
existingSecretPasswordKey: "db-password"