too lazy to think of a message, so enjoy this pointless text. Good luck future me...

This commit is contained in:
Chris Kruining 2025-09-24 19:13:51 +02:00
parent ad2b96180f
commit a70ee51872
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
4 changed files with 69 additions and 1 deletions

View file

@ -76,6 +76,45 @@ in
role = "server"; role = "server";
tokenFile = config.clan.core.vars.generators.k3s.files.token.path; tokenFile = config.clan.core.vars.generators.k3s.files.token.path;
clusterInit = true; 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";
};
};
};
}; };
}; };

View file

@ -35,8 +35,9 @@
clan-core.flakeModules.testModule clan-core.flakeModules.testModule
# ./checks/flake-module.nix # ./checks/flake-module.nix
./devShells/flake-module.nix
./clanServices/flake-module.nix ./clanServices/flake-module.nix
./devShells/flake-module.nix
./pkgs/flake-module.nix
]; ];
flake = { flake = {

View 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
View file

@ -0,0 +1,13 @@
{ ... }:
{
imports = [];
perSystem =
{ config, pkgs, ... }:
{
packages = {
# crossplane = pkgs.callPackage ./crossplane { };
};
};
}