add cloudnativepg chart

This commit is contained in:
2026-03-03 16:45:49 +00:00
parent 739bf81a60
commit be44e93efe
4 changed files with 20 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
{
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";
};
}

View File

@@ -0,0 +1,5 @@
{
imports = [
./cloudnativepg.nix
];
}

View File

@@ -1,4 +1,8 @@
{
imports = [
./charts
];
networking.firewall.allowedTCPPorts = [6443];
services.k3s = {

View File

@@ -5,7 +5,7 @@ metadata:
namespace: test-color
spec:
rules:
- host: test-color.duby.local
- host: test-color.weyma-bs.infra.dubyatp.xyz
http:
paths:
- pathType: Prefix