From 8ee4d7ebbff0dd31b53bbd55a5d760376943c6f5 Mon Sep 17 00:00:00 2001 From: Ultradesu Date: Tue, 5 May 2026 14:01:46 +0100 Subject: [PATCH] Fixed gitea runner --- k8s/apps/gitea/deployment.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/k8s/apps/gitea/deployment.yaml b/k8s/apps/gitea/deployment.yaml index 7705c21..65ce8cd 100644 --- a/k8s/apps/gitea/deployment.yaml +++ b/k8s/apps/gitea/deployment.yaml @@ -151,13 +151,18 @@ spec: mountPath: /data env: - name: GITEA_INSTANCE_URL - value: "http://gitea.gitea.svc.cluster.local" + #value: "http://gitea.gitea.svc.cluster.local" + value: "https://gt.hexor.cy" - name: GITEA_RUNNER_REGISTRATION_TOKEN valueFrom: secretKeyRef: name: gitea-runner-act-runner-secrets key: token + - name: NODE_NAME + valueFrom: + fieldRef: + fieldPath: spec.nodeName - name: GITEA_RUNNER_NAME - value: "k8s-runner" + value: "$(NODE_NAME)" - name: GITEA_RUNNER_LABELS value: "ubuntu-latest:docker://ghcr.io/catthehacker/ubuntu:act-latest,ubuntu-22.04:docker://ghcr.io/catthehacker/ubuntu:act-22.04,ubuntu-20.04:docker://ghcr.io/catthehacker/ubuntu:act-20.04"