adding namepsace to gitea runner

This commit is contained in:
pi-ux-ce@ARES
2026-10-12 10:32:05 +01:00
parent 7962e91e3a
commit 002053c099
+8 -7
View File
@@ -39,7 +39,7 @@ kubernetes = {
gitea = { gitea = {
#enabled = false #enabled = false
#docker = true #docker = true
image = "gitea/gitea:1.27.0" image = "gitea/gitea:1.27.0"
service_port = [3000] service_port = [3000]
# no service_port: nginx reaches http://gitea:3000 over deployment_network # no service_port: nginx reaches http://gitea:3000 over deployment_network
database = { database = {
@@ -55,10 +55,10 @@ kubernetes = {
GITEA__database__DB_TYPE = { value = "postgres" } GITEA__database__DB_TYPE = { value = "postgres" }
#GITEA__database__HOST = { value = "gitea-db:5432" } # for docker #GITEA__database__HOST = { value = "gitea-db:5432" } # for docker
GITEA__database__HOST = { value = "gitea-db-svc:5432" } # for k8s GITEA__database__HOST = { value = "gitea-db-svc:5432" } # for k8s
GITEA__database__USER = { value = "gitea-KY56Q" } GITEA__database__USER = { value = "gitea-KY56Q" }
GITEA__database__PASSWD = { value = "Modulator-Yearning-Gills3" } GITEA__database__PASSWD = { value = "Modulator-Yearning-Gills3" }
GITEA__database__NAME = { value = "gitea-database" } GITEA__database__NAME = { value = "gitea-database" }
} }
pvc = { pvc = {
gitea-data = { gitea-data = {
@@ -75,9 +75,10 @@ kubernetes = {
} }
gitea-runner = { gitea-runner = {
enabled = false #enabled = false
#docker = true #docker = true
image = "gitea/act_runner:latest" image = "gitea/act_runner:latest"
connected_namespace = "gitea"
environment = { environment = {
GITEA_INSTANCE_URL = { value = "https://gitea.geeraert.eu/" } GITEA_INSTANCE_URL = { value = "https://gitea.geeraert.eu/" }
GITEA_RUNNER_REGISTRATION_TOKEN = { value = "rqi4mFW8LXoc5MhIrUD1rjzdmKVY8n9X14BP6sWd" } GITEA_RUNNER_REGISTRATION_TOKEN = { value = "rqi4mFW8LXoc5MhIrUD1rjzdmKVY8n9X14BP6sWd" }