fix: Backups | add cloudflare token to longhorn-system
This commit is contained in:
@@ -8,7 +8,7 @@ import { GiteaRunner, GiteaServer } from "./gitea";
|
||||
import { AuthentikServer } from "./authentik";
|
||||
import { PostgresCluster } from "./postgres";
|
||||
import { DynamicDNS } from "./dynamic-dns";
|
||||
import { PublicIngressRoute } from "../utils";
|
||||
import { OnePasswordSecret, PublicIngressRoute } from "../utils";
|
||||
|
||||
export class UtilityServices extends TerraformStack {
|
||||
constructor(scope: Construct, id: string) {
|
||||
@@ -77,6 +77,13 @@ export class UtilityServices extends TerraformStack {
|
||||
],
|
||||
});
|
||||
|
||||
new OnePasswordSecret(this, "backups-secret", {
|
||||
namespace: "longhorn-system",
|
||||
provider: kubernetes,
|
||||
name: "cloudflare-token",
|
||||
itemPath: "vaults/Lab/items/cloudflare",
|
||||
});
|
||||
|
||||
const postgres = new PostgresCluster(this, "postgres-cluster", {
|
||||
certManagerApiVersion: "cert-manager.io/v1",
|
||||
name: "postgres-cluster",
|
||||
|
||||
Reference in New Issue
Block a user