feat: Gitea | add runners to utility-services stack

TBD if they will stay here
This commit is contained in:
2025-11-22 20:27:04 +05:00
parent 2f0b9af67c
commit 3c31105fc6
5 changed files with 156 additions and 21 deletions

View File

@@ -5,7 +5,7 @@ import { DataTerraformRemoteStateS3, TerraformStack } from "cdktf";
import { Construct } from "constructs";
import { ValkeyCluster } from "./valkey";
import { GiteaServer } from "./gitea";
import { GiteaRunner, GiteaServer } from "./gitea";
import { AuthentikServer } from "./authentik";
import { PostgresCluster } from "./postgres";
import { DynamicDNS } from "./dynamic-dns";
@@ -110,5 +110,12 @@ export class UtilityServices extends TerraformStack {
});
gitea.node.addDependency(authentik);
new GiteaRunner(this, "gitea-runner", {
provider: kubernetes,
namespace,
name: "gitea-runner",
replicas: 3,
});
}
}