From d26192d28edd1ab32e546055fe4c9e8b6cdcd005 Mon Sep 17 00:00:00 2001 From: William P Date: Tue, 17 Mar 2026 13:42:51 -0400 Subject: [PATCH] add cert-manager and barman cloud plugin --- kubernetes/charts/cert-manager.nix | 15 +++++++++++++++ kubernetes/charts/cloudnativepg.nix | 24 +++++++++++++++++------- kubernetes/charts/default.nix | 1 + 3 files changed, 33 insertions(+), 7 deletions(-) create mode 100644 kubernetes/charts/cert-manager.nix diff --git a/kubernetes/charts/cert-manager.nix b/kubernetes/charts/cert-manager.nix new file mode 100644 index 0000000..ebec502 --- /dev/null +++ b/kubernetes/charts/cert-manager.nix @@ -0,0 +1,15 @@ +{ + services.k3s.autoDeployCharts = { + cert-manager = { + name = "cert-manager"; + version = "v1.20.0"; + repo = "https://charts.jetstack.io"; + hash = "sha256-Hxomj9FkLXbQuf0WKq7ckZc6gbh9nlfA//JGAkzNKtQ="; + createNamespace = true; + targetNamespace = "cert-manager"; + values = { + installCRDs = true; + }; + }; + }; +} \ No newline at end of file diff --git a/kubernetes/charts/cloudnativepg.nix b/kubernetes/charts/cloudnativepg.nix index 0eafb0e..cf4c23c 100644 --- a/kubernetes/charts/cloudnativepg.nix +++ b/kubernetes/charts/cloudnativepg.nix @@ -1,10 +1,20 @@ { - services.k3s.autoDeployCharts.cloudnativepg = { - name = "cloudnative-pg"; - version = "0.27.1"; - repo = "https://cloudnative-pg.github.io/charts"; - hash = "sha256-Z9cYn5MhnTVWMP92kBaRIc9gbmeshKvgXFP4h4jenUk="; - createNamespace = true; - targetNamespace = "cloudnativepg"; + services.k3s.autoDeployCharts = { + cloudnativepg = { + name = "cloudnative-pg"; + version = "0.27.1"; + repo = "https://cloudnative-pg.github.io/charts"; + hash = "sha256-Z9cYn5MhnTVWMP92kBaRIc9gbmeshKvgXFP4h4jenUk="; + createNamespace = true; + targetNamespace = "cloudnativepg"; + }; + plugin-barman-cloud = { + name = "plugin-barman-cloud"; + version = "0.5.0"; + repo = "https://cloudnative-pg.github.io/charts"; + hash = "sha256-c7v0Mrln3ESJz//7s7/HfZJHtxVqLIVY/GtSrv8ti+o="; + targetNamespace = "cloudnativepg"; + }; }; + } \ No newline at end of file diff --git a/kubernetes/charts/default.nix b/kubernetes/charts/default.nix index 1d5e89a..982f8bd 100644 --- a/kubernetes/charts/default.nix +++ b/kubernetes/charts/default.nix @@ -1,5 +1,6 @@ { imports = [ ./cloudnativepg.nix + ./cert-manager.nix ]; } \ No newline at end of file