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];
|
networking.firewall.allowedTCPPorts = [6443];
|
||||||
|
|
||||||
services.k3s = {
|
services.k3s = {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ metadata:
|
|||||||
namespace: test-color
|
namespace: test-color
|
||||||
spec:
|
spec:
|
||||||
rules:
|
rules:
|
||||||
- host: test-color.duby.local
|
- host: test-color.weyma-bs.infra.dubyatp.xyz
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- pathType: Prefix
|
- pathType: Prefix
|
||||||
|
|||||||
Reference in New Issue
Block a user