feat: Gitea | set up minio storage pointing at R2

This commit is contained in:
2025-11-16 12:30:27 +05:00
parent 0d6c5d4a98
commit cfe7830606
3 changed files with 39 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ type GiteaServerOptions = {
provider: HelmProvider;
name: string;
namespace: string;
r2Endpoint: string;
};
export class GiteaServer extends Construct {
@@ -18,6 +19,12 @@ export class GiteaServer extends Construct {
repository: "https://dl.gitea.com/charts",
chart: "gitea",
createNamespace: true,
set: [
{
name: "gitea.config.storage.MINIO_ENDPOINT",
value: options.r2Endpoint,
},
],
values: [
fs.readFileSync("helm/values/gitea.values.yaml", {
encoding: "utf8",