add cloudnativepg chart
This commit is contained in:
10
kubernetes/charts/cloudnativepg.nix
Normal file
10
kubernetes/charts/cloudnativepg.nix
Normal 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";
|
||||
};
|
||||
}
|
||||
5
kubernetes/charts/default.nix
Normal file
5
kubernetes/charts/default.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
imports = [
|
||||
./cloudnativepg.nix
|
||||
];
|
||||
}
|
||||
@@ -1,4 +1,8 @@
|
||||
{
|
||||
imports = [
|
||||
./charts
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [6443];
|
||||
|
||||
services.k3s = {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user