Deploy Gitea 1.22 with integrated container registry and CI/CD runner. Features: - Git repository hosting - Container registry on port 5000 - Gitea Act Runner for CI/CD (GitHub Actions compatible) - LoadBalancer service at 10.0.1.10 (HTTP:80, SSH:22) - NFS-backed persistent storage (50Gi data, 5Gi config) - Automatic failover across control plane nodes Access: - Web UI: http://10.0.1.10 - SSH: ssh://10.0.1.10:22 - Registry: 10.0.1.10:5000 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
43 lines
768 B
YAML
43 lines
768 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: gitea-config
|
|
namespace: gitea
|
|
data:
|
|
app.ini: |
|
|
APP_NAME = Gitea: Git with a cup of tea
|
|
RUN_MODE = prod
|
|
RUN_USER = git
|
|
|
|
[database]
|
|
DB_TYPE = sqlite3
|
|
PATH = /data/gitea/gitea.db
|
|
|
|
[repository]
|
|
ROOT = /data/git/repositories
|
|
|
|
[server]
|
|
DOMAIN = localhost
|
|
SSH_DOMAIN = localhost
|
|
HTTP_PORT = 3000
|
|
ROOT_URL = http://localhost:30300/
|
|
DISABLE_SSH = false
|
|
SSH_PORT = 22
|
|
SSH_LISTEN_PORT = 22
|
|
LFS_START_SERVER = true
|
|
|
|
[lfs]
|
|
PATH = /data/git/lfs
|
|
|
|
[packages]
|
|
ENABLED = true
|
|
|
|
[actions]
|
|
ENABLED = true
|
|
|
|
[service]
|
|
DISABLE_REGISTRATION = false
|
|
|
|
[security]
|
|
INSTALL_LOCK = false
|