From 69f73e81235a156dc73709205086a542a7471e3f Mon Sep 17 00:00:00 2001 From: Shahab Dogar Date: Mon, 4 Aug 2025 12:49:48 +0500 Subject: [PATCH] feat: install barman cloud for cnpg backups --- flake.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/flake.nix b/flake.nix index d592f3a..8fd740a 100644 --- a/flake.nix +++ b/flake.nix @@ -28,6 +28,7 @@ nil terraform tflint + typescript-language-server # Adding node for copilot nodejs_24 @@ -35,6 +36,12 @@ # cli tools nodePackages.cdktf-cli ]; + + shellHook = '' + # Install the barman cloud plugin + kubectl create namespace cnpg-system + kubectl apply -f https://github.com/cloudnative-pg/plugin-barman-cloud/releases/download/v0.5.0/manifest.yaml + ''; }; } );