too lazy to think of a message, so enjoy this pointless text. Good luck future me...
This commit is contained in:
parent
ad2b96180f
commit
a70ee51872
4 changed files with 69 additions and 1 deletions
|
|
@ -76,6 +76,45 @@ in
|
|||
role = "server";
|
||||
tokenFile = config.clan.core.vars.generators.k3s.files.token.path;
|
||||
clusterInit = true;
|
||||
|
||||
autoDeployCharts = {
|
||||
harbor = {
|
||||
name = "harbor";
|
||||
repo = "https://helm.goharbor.io";
|
||||
version = "1.14.0";
|
||||
hash = "sha256-fMP7q1MIbvzPGS9My91vbQ1d3OJMjwc+o8YE/BXZaYU=";
|
||||
values = {
|
||||
existingSecretAdminPassword = "harbor-admin";
|
||||
expose = {
|
||||
tls = {
|
||||
enabled = true;
|
||||
certSource = "secret";
|
||||
secret.secretName = "my-tls-secret";
|
||||
};
|
||||
ingress = {
|
||||
hosts.core = "example.com";
|
||||
className = "nginx";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
crossplane = {
|
||||
name = "crossplane";
|
||||
repo = "https://charts.crossplane.io/stable";
|
||||
version = "2.0.2";
|
||||
hash = "sha256-EIDrBQmtMaHlapVNUYABKejIj1I02g5R5h4cADZvtAg=";
|
||||
|
||||
targetNamespace = "crossplane-system";
|
||||
createNamespace = true;
|
||||
|
||||
values = {
|
||||
replicas = 1;
|
||||
|
||||
deploymentStrategy = "RollingUpdate";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -35,8 +35,9 @@
|
|||
clan-core.flakeModules.testModule
|
||||
|
||||
# ./checks/flake-module.nix
|
||||
./devShells/flake-module.nix
|
||||
./clanServices/flake-module.nix
|
||||
./devShells/flake-module.nix
|
||||
./pkgs/flake-module.nix
|
||||
];
|
||||
|
||||
flake = {
|
||||
|
|
|
|||
15
pkgs/crossplane/default.nix
Normal file
15
pkgs/crossplane/default.nix
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, lib, ... }:
|
||||
|
||||
pkgs.buildGoModule rec {
|
||||
pname = "crossplane";
|
||||
version = "2.0.2";
|
||||
|
||||
src = pkgs.fetchFromGitHub {
|
||||
owner = "crossplane";
|
||||
repo = "crossplane";
|
||||
tag = "v2.0.2";
|
||||
sha256 = "sha256-EIDrBQmtMaHlapVNUYABKejIj1I02g5R5h4cADZvtAg=";
|
||||
};
|
||||
|
||||
vendorHash = "sha256-8VqKtWbnDGbmgxT13v2d4+nXHouZ4hi2c2m66SAd1KM=";
|
||||
}
|
||||
13
pkgs/flake-module.nix
Normal file
13
pkgs/flake-module.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [];
|
||||
|
||||
perSystem =
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
packages = {
|
||||
# crossplane = pkgs.callPackage ./crossplane { };
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue