feat(k8s/gitea): add act_runner with DinD for Gitea Actions

This commit is contained in:
2026-05-11 21:05:48 +03:00
parent 9012cb559d
commit 376a5b1a96
2 changed files with 81 additions and 0 deletions
+59
View File
@@ -0,0 +1,59 @@
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: gitea-actions
namespace: flux-system
spec:
chart:
spec:
chart: actions
version: 0.1.0
reconcileStrategy: ChartVersion
sourceRef:
kind: HelmRepository
name: gitea
namespace: flux-system
targetNamespace: gitea
interval: 1m0s
install:
remediation:
retries: 3
upgrade:
remediation:
retries: 3
dependsOn:
- name: gitea
values:
enabled: true
giteaRootURL: http://gitea-http.gitea.svc.cluster.local:3000
existingSecret: gitea-runner-token
existingSecretKey: token
global:
storageClass: nfs-synology-ssd
statefulset:
replicas: 1
timezone: Europe/Kyiv
persistence:
size: 10Gi
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
memory: 2Gi
actRunner:
config: |
log:
level: info
cache:
enabled: true
container:
require_docker: true
docker_timeout: 300s
runner:
labels:
- "ubuntu-latest:docker://docker.gitea.com/runner-images:ubuntu-latest"
- "ubuntu-24.04:docker://docker.gitea.com/runner-images:ubuntu-24.04"
- "ubuntu-22.04:docker://docker.gitea.com/runner-images:ubuntu-22.04"
dind:
rootless: false